Группа :: Development/Python3
Пакет: python3-module-Chaco
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define pypi_name chaco
# can't start tests
%def_without check
Name: python3-module-Chaco
Version: 6.0.0
Release: alt1
Summary: Interactive 2-Dimensional Plotting
License: BSD-3-Clause and GPLv2
Group: Development/Python3
URL: https://pypi.org/project/chaco
VCS: https://github.com/enthought/chaco
Source: %name-%version.tar
# well-known PyPI name
Provides: python3-module-%pypi_name = %EVR
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
BuildRequires: python3(cython)
BuildRequires: libnumpy-py3-devel
%description
Chaco is a Python plotting application toolkit that facilitates writing
plotting applications at all levels of complexity, from simple scripts with
hard-coded data to large plotting programs with complex data interrelationships
and a multitude of interactive tools. While Chaco generates attractive static
plots for publication and presentation, it also works well for interactive data
visualization and exploration.
%prep
%setup
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%add_optflags -fno-strict-aliasing
%pyproject_build
%install
%pyproject_install
%files
%doc CHANGES.txt
%python3_sitelibdir/%pypi_name
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%exclude %python3_sitelibdir/%pypi_name/example*
%exclude %python3_sitelibdir/%pypi_name/tests
%exclude %python3_sitelibdir/%pypi_name/*/tests
%exclude %python3_sitelibdir/%pypi_name/*/*/tests
%changelog
…
Полный changelog можно просмотреть здесь
# can't start tests
%def_without check
Name: python3-module-Chaco
Version: 6.0.0
Release: alt1
Summary: Interactive 2-Dimensional Plotting
License: BSD-3-Clause and GPLv2
Group: Development/Python3
URL: https://pypi.org/project/chaco
VCS: https://github.com/enthought/chaco
Source: %name-%version.tar
# well-known PyPI name
Provides: python3-module-%pypi_name = %EVR
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
BuildRequires: python3(cython)
BuildRequires: libnumpy-py3-devel
%description
Chaco is a Python plotting application toolkit that facilitates writing
plotting applications at all levels of complexity, from simple scripts with
hard-coded data to large plotting programs with complex data interrelationships
and a multitude of interactive tools. While Chaco generates attractive static
plots for publication and presentation, it also works well for interactive data
visualization and exploration.
%prep
%setup
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%add_optflags -fno-strict-aliasing
%pyproject_build
%install
%pyproject_install
%files
%doc CHANGES.txt
%python3_sitelibdir/%pypi_name
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%exclude %python3_sitelibdir/%pypi_name/example*
%exclude %python3_sitelibdir/%pypi_name/tests
%exclude %python3_sitelibdir/%pypi_name/*/tests
%exclude %python3_sitelibdir/%pypi_name/*/*/tests
%changelog
…
Полный changelog можно просмотреть здесь