Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37563184
en ru br
ALT Linux repos
S:6.0.0-alt1

Group :: Development/Python3
RPM: python3-module-Chaco

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin