Compare commits
2 Commits
factory
...
uyuni-main
| Author | SHA256 | Date | |
|---|---|---|---|
|
66e2f6283f
|
|||
|
95d1001966
|
BIN
1.0.2.tar.gz
LFS
Normal file
BIN
1.0.2.tar.gz
LFS
Normal file
Binary file not shown.
BIN
1.3.0.tar.gz
LFS
BIN
1.3.0.tar.gz
LFS
Binary file not shown.
8
add_compatible_setup_py_file.patch
Normal file
8
add_compatible_setup_py_file.patch
Normal file
@@ -0,0 +1,8 @@
|
||||
Index: looseversion-1.0.2/setup.py
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ looseversion-1.0.2/setup.py
|
||||
@@ -0,0 +1,3 @@
|
||||
+from setuptools import setup
|
||||
+
|
||||
+setup()
|
||||
@@ -1,19 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 6 10:43:33 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
Wed Mar 22 10:23:09 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
- Fix package build with old setuptools versions
|
||||
|
||||
- Added:
|
||||
* add_compatible_setup_py_file.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 7 22:42:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
Mon Mar 20 12:03:11 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||
|
||||
- update to 1.3.0:
|
||||
* Restore Python 3 semantics for `LooseVersion`, creating
|
||||
`LooseVersion2` to restore Python 2 semantics.
|
||||
* Test on Python 3.12
|
||||
* Enable installation on Python 2+
|
||||
* Ensure consistent semantics between Python 2 and 3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 17 16:08:00 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||
|
||||
- Initial package: looseversion 1.1.2
|
||||
- Initial package: looseversion 1.0.2
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-looseversion
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,19 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%{?!pytest:%define pytest pytest}
|
||||
%define skip_python2 1
|
||||
|
||||
Name: python-looseversion
|
||||
Version: 1.3.0
|
||||
Version: 1.0.2
|
||||
Release: 0
|
||||
Summary: A backwards/forwards-compatible fork of distutils.version.LooseVersion
|
||||
License: PSF-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/effigies/looseversion
|
||||
Source: https://github.com/effigies/looseversion/archive/refs/tags/%{version}.tar.gz
|
||||
Patch0: add_compatible_setup_py_file.patch
|
||||
BuildRequires: %{python_module base > 3}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -44,12 +48,13 @@ If you are simply comparing versions of Python packages, consider moving to pack
|
||||
|
||||
%prep
|
||||
%setup -q -n looseversion-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -58,7 +63,8 @@ If you are simply comparing versions of Python packages, consider moving to pack
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/looseversion
|
||||
%{python_sitelib}/looseversion.py
|
||||
%{python_sitelib}/looseversion-*
|
||||
%pycache_only %{python_sitelib}/__pycache__
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user