130 lines
4.4 KiB
RPMSpec
130 lines
4.4 KiB
RPMSpec
Name: python-six
|
|
Version: 1.17.0
|
|
Release: 1mamba
|
|
Summary: Python 2 and 3 compatibility utilities
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/benjaminp/six
|
|
Source: https://pypi.debian.net/six/six-%{version}.tar.gz
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython311-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libpython3-devel >= 3.11.5
|
|
BuildArch: noarch
|
|
|
|
%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.
|
|
|
|
%if "%{?with_pyver}"
|
|
%pyver_package
|
|
%endif
|
|
|
|
%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
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%dir %{python_sitearch}/six-%{version}-py*.egg-info
|
|
%{python_sitearch}/six-%{version}-py*.egg-info/*
|
|
%doc LICENSE documentation/index.rst
|
|
|
|
%changelog
|
|
* Thu Dec 05 2024 Automatic Build System <autodist@openmamba.org> 1.17.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 1.16.0-5mamba
|
|
- rebuilt with python3 = 3.11.5
|
|
|
|
* Mon Jul 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.0-4mamba
|
|
- rebuilt to fix wrong requirement for python 3.9
|
|
|
|
* Sun Apr 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.0-3mamba
|
|
- rebuilt with python 3.10
|
|
|
|
* Mon May 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.0-2mamba
|
|
- rebuilt with distdeps
|
|
|
|
* Wed May 05 2021 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Dec 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15.0-2mamba
|
|
- provide python3*dist(six)
|
|
|
|
* Mon May 25 2020 Automatic Build System <autodist@mambasoft.it> 1.15.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jan 25 2020 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 1.13.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-2mamba
|
|
- rebuilt with python3 3.7.4
|
|
|
|
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-1mamba
|
|
- update to 1.12.0
|
|
|
|
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 11 2015 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 13 2014 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jul 01 2014 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jun 09 2014 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|