From 37251cb4010be72655732829c8cee86e6c5122c8 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Mon, 20 Jan 2025 10:45:29 +0300 Subject: [PATCH] import python-looseversion-1.3.0-8.el10 --- .gitignore | 1 + .python-looseversion.metadata | 1 + SOURCES/README.md | 3 + SOURCES/README.packit | 3 + SPECS/python-looseversion.spec | 128 +++++++++++++++++++++++++++++++++ 5 files changed, 136 insertions(+) create mode 100644 .gitignore create mode 100644 .python-looseversion.metadata create mode 100644 SOURCES/README.md create mode 100644 SOURCES/README.packit create mode 100644 SPECS/python-looseversion.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..add4346 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/looseversion-1.3.0.tar.gz diff --git a/.python-looseversion.metadata b/.python-looseversion.metadata new file mode 100644 index 0000000..59ec369 --- /dev/null +++ b/.python-looseversion.metadata @@ -0,0 +1 @@ +9125699ecfa3cf8e85ad2b1ae4c606a66ba9278f SOURCES/looseversion-1.3.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..9478750 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# python-looseversion + +Version numbering for anarchists and software realists \ No newline at end of file diff --git a/SOURCES/README.packit b/SOURCES/README.packit new file mode 100644 index 0000000..d7c433c --- /dev/null +++ b/SOURCES/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.78.2.post2+g81828af. diff --git a/SPECS/python-looseversion.spec b/SPECS/python-looseversion.spec new file mode 100644 index 0000000..d44ba7d --- /dev/null +++ b/SPECS/python-looseversion.spec @@ -0,0 +1,128 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 8; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global _description %{expand: +A backwards/forwards-compatible fork of distutils.version.LooseVersion, for +times when PEP-440 isnt what you need. + +The goal of this package is to be a drop-in replacement for the original +LooseVersion. It implements an identical interface and comparison logic to +LooseVersion. The only major change is that a looseversion.LooseVersion is +comparable to a distutils.version.LooseVersion, which means tools should not +need to worry whether all dependencies that use LooseVersion have migrated. + +If you are simply comparing versions of Python packages, consider moving to +packaging.version.Version, which follows PEP-440. LooseVersion is better suited +to interacting with heterogeneous version schemes that do not follow PEP-440.} + +Name: python-looseversion +Version: 1.3.0 +Release: %{autorelease} +Summary: Version numbering for anarchists and software realists + +License: PSF-2.0 +URL: https://pypi.org/pypi/looseversion +Source0: %{pypi_source looseversion} + +BuildArch: noarch + +%description %_description + +%package -n python3-looseversion +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-pytest + +%description -n python3-looseversion %_description + +%prep +%autosetup -n looseversion-%{version} + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files -l looseversion + +%check +%pytest -v tests.py + +%files -n python3-looseversion -f %{pyproject_files} +%doc README.md CHANGES.md + +%changelog +* Mon Jan 20 2025 Sergey Cherevko - 1.3.0-8 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Aug 09 2024 Robby Callicotte - 1.3.0-8 +- EPEL 10 build + +* Fri Aug 09 2024 Robby Callicotte - 1.3.0-7 +- EPEL 10 build -p + +* Fri Jul 19 2024 Fedora Release Engineering - 1.3.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.3.0-5 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 03 2024 Benjamin A. Beasley - 1.3.0-2 +- Assert that the .dist-info directory contains a license file + +* Mon Aug 14 2023 Packit - 1.3.0-1 +- [packit] 1.3.0 upstream release + +* Mon Aug 14 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.2.0-5 +- chore: add packit + +* Fri Jul 21 2023 Fedora Release Engineering - 1.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jul 14 2023 Yaakov Selkowitz - 1.2.0-3 +- Avoid tox dependency + +* Wed Jun 14 2023 Python Maint - 1.2.0-2 +- Rebuilt for Python 3.12 + +* Fri Jun 09 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.2.0-1 +- feat: update to 1.2.0 (fixes rhbz#2210045) + +* Wed Feb 22 2023 Benjamin A. Beasley - 1.1.2-1 +- Update to 1.1.2 (close RHBZ#2172546) + +* Tue Feb 21 2023 Benjamin A. Beasley - 1.1.1-1 +- Update to 1.1.1 (close RHBZ#2171308) + +* Fri Jan 20 2023 Fedora Release Engineering - 1.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jan 13 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-4 +- chore: upload sources (fixes rhbz#2160496) + +* Fri Jan 13 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-3 +- feat: tweaks to prepare for import (fixes rbhz#2160496) + +* Fri Jan 13 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-2 +- feat: ready for review + +* Fri Jan 13 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.0.3-1 +- init +## END: Generated by rpmautospec