- 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
- Initial package: looseversion 1.1.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-looseversion?expand=0&rev=3
This commit is contained in:
Dirk Mueller 2023-12-07 22:42:22 +00:00 committed by Git OBS Bridge
parent 001052f605
commit ce8a027710
4 changed files with 21 additions and 12 deletions

BIN
1.1.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
1.3.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Dec 7 22:42:07 UTC 2023 - Dirk Müller <dmueller@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> Fri Mar 17 16:08:00 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-looseversion # spec file for package python-looseversion
# #
# Copyright (c) 2023 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,17 +12,17 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: python-looseversion Name: python-looseversion
Version: 1.1.2 Version: 1.3.0
Release: 0 Release: 0
Summary: A backwards/forwards-compatible fork of distutils.version.LooseVersion Summary: A backwards/forwards-compatible fork of distutils.version.LooseVersion
License: PSF-2.0 License: PSF-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/effigies/looseversion URL: https://github.com/effigies/looseversion
Source: https://github.com/effigies/looseversion/archive/refs/tags/%{version}.tar.gz Source: https://github.com/effigies/looseversion/archive/refs/tags/%{version}.tar.gz
BuildRequires: %{python_module base > 3} BuildRequires: %{python_module base > 3}
BuildRequires: %{python_module hatchling} BuildRequires: %{python_module hatchling}
@ -61,4 +61,3 @@ If you are simply comparing versions of Python packages, consider moving to pack
%{python_sitelib}/looseversion-* %{python_sitelib}/looseversion-*
%changelog %changelog