Sync from SUSE:SLFO:Main python-pkginfo revision ab5b58b79f8ecf1c7ad50e92de3bca0c

This commit is contained in:
Adrian Schröter 2024-12-13 11:56:07 +01:00
parent ed02ab9009
commit 4c5bff1f68
4 changed files with 41 additions and 10 deletions

BIN
pkginfo-1.11.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pkginfo-1.9.6.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Thu Jun 20 13:21:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.11.1:
* Updated typing stubs, adding additionaly checks to 'tox -e
mypy' to verify that they don't drift in the future.
-------------------------------------------------------------------
Mon Jun 3 10:48:59 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.11.0:
* Add support for Python 3.13.
* Drop support for Python 3.7.
* Emit warnings for distributions parsed with unknown metadata
versions, or metadata versions newer than highest supported
version.
* Improve exception message when failing to find a valid 'PKG-
INFO' file within an 'sdist' archive. LP #2064652.
-------------------------------------------------------------------
Sat Mar 16 09:28:59 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.10.0:
* Add support for Python 3.11 and 3.12.
* Drop support for Python 3.6.
* Declare explicit testing dependency on 'wheel'.
* Add support for Metadata 2.3.
-------------------------------------------------------------------
Fri Apr 21 12:29:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -115,7 +143,7 @@ Fri Jan 20 10:58:46 UTC 2023 - Elisei Roca <eroca@suse.com>
- Update tests to match setuptools' change, no longer reporting metadata
version for installed packages w/o explicit metadata. LP #1870197.
-------------------------------------------------------------------
Sun Aug 16 15:30:46 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pkginfo
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,19 +18,22 @@
%{?sle15_python_module_pythons}
Name: python-pkginfo
Version: 1.9.6
Version: 1.11.1
Release: 0
Summary: Python package for querying metadatdata from sdists/bdists/installed packages
License: MIT
Group: Development/Languages/Python
URL: https://pypi.python.org/pypi/pkginfo/
Source: https://files.pythonhosted.org/packages/source/p/pkginfo/pkginfo-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest}
@ -50,10 +53,10 @@ the *.egg-info stored in a "development checkout"
%setup -q -n pkginfo-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/pkginfo
@ -71,6 +74,6 @@ the *.egg-info stored in a "development checkout"
%doc README.txt CHANGES.txt TODO.txt
%python_alternative %{_bindir}/pkginfo
%{python_sitelib}/pkginfo
%{python_sitelib}/pkginfo-%{version}-py*.egg-info
%{python_sitelib}/pkginfo-%{version}.dist-info
%changelog