package init
This commit is contained in:
parent
bc35801d55
commit
3404060dbc
@ -1,17 +1,24 @@
|
||||
Name: python-cycler
|
||||
Version: 0.10.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Composable cycles
|
||||
License: BSD
|
||||
URL: https://github.com/matplotlib/cycler.git
|
||||
Source0: https://github.com/matplotlib/cycler/archive/v%{version}.tar.gz#/cycler-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel python3-nose python3-six
|
||||
BuildRequires:python2-devel python2-nose python2-six python3-devel python3-nose python3-six
|
||||
|
||||
%description
|
||||
Composable cycles used by matplotlib.
|
||||
|
||||
%package -n python2-cycler
|
||||
Summary: Composable cycles
|
||||
%{?python_provide:%python_provide python2-cycler}
|
||||
|
||||
%description -n python2-cycler
|
||||
Composable cycles used by matplotlib.
|
||||
|
||||
%package -n python3-cycler
|
||||
Summary: Composable cycles
|
||||
%{?python_provide:%python_provide python3-cycler}
|
||||
@ -23,14 +30,22 @@ Composable cycles used by matplotlib.
|
||||
%autosetup -n cycler-%{version}
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
PYTHONPATH=%{buildroot}%{python2_sitelib} %{__python2} run_tests.py
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} run_tests.py
|
||||
|
||||
%files -n python2-cycler
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/*
|
||||
|
||||
%files -n python3-cycler
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
@ -39,5 +54,5 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} run_tests.py
|
||||
%{python3_sitelib}/cycler-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Tue Nov 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.10.0-1
|
||||
* Tue Nov 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.10.0-2
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user