From 0b5dd0134d96c9c5bdf640a0294745390ea76d07 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 16:40:38 +0100 Subject: [PATCH] automatic version update by autodist [release 1.6.1-1mamba;Sat Mar 15 2014] --- README.md | 3 +++ python-six.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 python-six.spec diff --git a/README.md b/README.md index fcb1b82..0b86939 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # python-six +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. + diff --git a/python-six.spec b/python-six.spec new file mode 100644 index 0000000..5ab22d1 --- /dev/null +++ b/python-six.spec @@ -0,0 +1,65 @@ +Name: python-six +Version: 1.6.1 +Release: 1mamba +Summary: Python 2 and 3 compatibility utilities +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://packages.python.org/six/ +Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz +License: MIT +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. + +%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 -f %{name}.filelist +%defattr(-,root,root) +%doc LICENSE README documentation/index.rst + +%changelog +* Sat Mar 15 2014 Automatic Build System 1.6.1-1mamba +- automatic version update by autodist + +* Mon Jan 13 2014 Automatic Build System 1.5.2-1mamba +- automatic version update by autodist + +* Tue Jan 07 2014 Automatic Build System 1.5.1-1mamba +- automatic version update by autodist + +* Wed Sep 04 2013 Automatic Build System 1.4.1-1mamba +- automatic version update by autodist + +* Fri May 17 2013 Silvan Calarco 1.3.0-2mamba +- python 2.7 mass rebuild + +* Mon Apr 22 2013 Automatic Build System 1.3.0-1mamba +- automatic version update by autodist + +* Fri Sep 07 2012 Automatic Build System 1.2.0-1mamba +- automatic version update by autodist + +* Wed Dec 21 2011 Stefano Cotta Ramusino 1.1.0-1mamba +- package created by autospec