From ba4614cc1f0842bdf65e04653bcc332b671ca45b Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 24 May 2023 16:51:24 +0300 Subject: [PATCH] import python3.11-six-1.16.0-1.el9 --- .gitignore | 1 + .python3.11-six.metadata | 1 + SPECS/python3.11-six.spec | 90 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 .gitignore create mode 100644 .python3.11-six.metadata create mode 100644 SPECS/python3.11-six.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2a7a183 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/six-1.16.0.tar.gz diff --git a/.python3.11-six.metadata b/.python3.11-six.metadata new file mode 100644 index 0000000..419aed8 --- /dev/null +++ b/.python3.11-six.metadata @@ -0,0 +1 @@ +06fa0bb50f2a4e2917fd14c21e9d2d5508ce0163 SOURCES/six-1.16.0.tar.gz diff --git a/SPECS/python3.11-six.spec b/SPECS/python3.11-six.spec new file mode 100644 index 0000000..089a319 --- /dev/null +++ b/SPECS/python3.11-six.spec @@ -0,0 +1,90 @@ +%global __python3 /usr/bin/python3.11 +%global python3_pkgversion 3.11 + +# tests are enabled by default +%bcond_without tests + +%global python_wheelname six-%{version}-py2.py3-none-any.whl + +Name: python%{python3_pkgversion}-six +Version: 1.16.0 +Release: 1%{?dist} +Summary: Python 2 and 3 compatibility utilities + +License: MIT +URL: https://github.com/benjaminp/six +Source0: %{pypi_source six} + +BuildArch: noarch + +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-rpm-macros +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-pip +BuildRequires: python%{python3_pkgversion}-wheel + +%if %{with tests} +BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-tkinter +%endif + +%global _description %{expand: +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.} + +%description %{_description} + + +%prep +%autosetup -p1 -n six-%{version} + + +%build +%py3_build_wheel + + +%install +%py3_install_wheel %{python_wheelname} + + +%if %{with tests} +%check +%pytest +%endif + + +%files -n python%{python3_pkgversion}-six +%license LICENSE +%doc README.rst documentation/index.rst +%{python3_sitelib}/six-*.dist-info/ +%pycached %{python3_sitelib}/six.py + + +%changelog +* Wed May 24 2023 MSVSphere Packaging Team - 1.16.0-1 +- Rebuilt for MSVSphere 9.2 + +* Fri Nov 11 2022 Charalampos Stratakis - 1.16.0-1 +- Initial package +- Fedora contributions by: + Bohuslav Kabrda + Charalampos Stratakis + David Malcolm + Dennis Gilmore + Haikel Guemar + Igor Gnatenko + Karolina Surma + Lumir Balhar + Matthias Runge + Miro Hrončok + Orion Poplawski + Pádraig Brady + Petr Viktorin + Ralph Bean + Robert Kuska + Slavek Kabrda + Tomas Hrnciar + Tomas Orsava + Tom Callaway + yatin