2024-01-05 16:40:38 +01:00
|
|
|
Name: python-six
|
2024-01-05 16:40:38 +01:00
|
|
|
Version: 1.12.0
|
2024-01-05 16:40:38 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:40:38 +01:00
|
|
|
Summary: Python 2 and 3 compatibility utilities
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|
|
|
URL: http://packages.python.org/six/
|
2024-01-05 16:40:38 +01:00
|
|
|
Source: https://pypi.debian.net/six/six-%{version}.tar.gz
|
2024-01-05 16:40:38 +01:00
|
|
|
License: MIT
|
2024-01-05 16:40:38 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:40:38 +01:00
|
|
|
BuildRequires: libpython-devel
|
|
|
|
Requires: python >= %python_version
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n six-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:40:38 +01:00
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:40:38 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:40:38 +01:00
|
|
|
%doc LICENSE documentation/index.rst
|
2024-01-05 16:40:38 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:40:38 +01:00
|
|
|
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-1mamba
|
|
|
|
- update to 1.12.0
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
* Sun Oct 11 2015 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-2mamba
|
|
|
|
- added python3 subpackage
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
* Fri Jan 09 2015 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
* Sat Sep 13 2014 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
* Tue Jul 01 2014 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
* Mon Jun 09 2014 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:40:38 +01:00
|
|
|
* Sat Mar 15 2014 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 13 2014 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 07 2014 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Sep 04 2013 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 07 2012 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 21 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.1.0-1mamba
|
|
|
|
- package created by autospec
|