forked from pool/python-Cycler
Accepting request 487668 from devel:languages:python:singlespec
Implement single-spec version OBS-URL: https://build.opensuse.org/request/show/487668 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cycler?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 12 17:31:02 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Fix redefinition of %python_module macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 18:45:41 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Fix macro usage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 25 04:12:47 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Switch to single-spec version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 20 20:57:54 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Cycler
|
||||
Version: 0.10.0
|
||||
Release: 0
|
||||
@@ -23,17 +24,16 @@ Summary: Composable style cycles
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/matplotlib/cycler
|
||||
Source: https://pypi.io/packages/source/C/Cycler/cycler-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-six
|
||||
Source: https://file.pythonhosted.org/packages/source/C/Cycler/cycler-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
Requires: python-six
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
When plotting more than one line it is common to want to be able to
|
||||
@@ -49,12 +49,12 @@ kwarg iterator, was developed.
|
||||
%setup -q -n cycler-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%files %python_files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
Reference in New Issue
Block a user