added python3 subpackage [release 1.9.0-2mamba;Sat May 16 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 16:40:38 +01:00
parent 901fd4a32c
commit 735fdca349

View File

@ -1,6 +1,6 @@
Name: python-six Name: python-six
Version: 1.9.0 Version: 1.9.0
Release: 1mamba Release: 2mamba
Summary: Python 2 and 3 compatibility utilities Summary: Python 2 and 3 compatibility utilities
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -9,6 +9,8 @@ Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://packages.python.org/six/ URL: http://packages.python.org/six/
Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: libpython-devel BuildRequires: libpython-devel
Requires: python >= %python_version Requires: python >= %python_version
BuildArch: noarch BuildArch: noarch
@ -18,6 +20,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
Six is a Python 2 and 3 compatibility library. Six is a Python 2 and 3 compatibility library.
It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep %prep
%setup -q -n six-%{version} %setup -q -n six-%{version}
@ -35,11 +41,14 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE README documentation/index.rst %doc LICENSE README documentation/index.rst
%changelog %changelog
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-2mamba
- added python3 subpackage
* Fri Jan 09 2015 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba * Fri Jan 09 2015 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
- automatic version update by autodist - automatic version update by autodist