From 39c9a25da15f74a53f5c7363782fcf1f98e5ef0f7fbc0655bec18fa67f6ca2e7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 3 Jun 2024 10:52:32 +0000 Subject: [PATCH] - 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=22 --- pkginfo-1.10.0.tar.gz | 3 --- pkginfo-1.11.0.tar.gz | 3 +++ python-pkginfo.changes | 12 ++++++++++++ python-pkginfo.spec | 11 +++++++---- 4 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 pkginfo-1.10.0.tar.gz create mode 100644 pkginfo-1.11.0.tar.gz diff --git a/pkginfo-1.10.0.tar.gz b/pkginfo-1.10.0.tar.gz deleted file mode 100644 index de2f0ce..0000000 --- a/pkginfo-1.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5df73835398d10db79f8eecd5cd86b1f6d29317589ea70796994d49399af6297 -size 378457 diff --git a/pkginfo-1.11.0.tar.gz b/pkginfo-1.11.0.tar.gz new file mode 100644 index 0000000..c0b3bbd --- /dev/null +++ b/pkginfo-1.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dba885aa82e31e80d615119874384923f4e011c2a39b0c4b7104359e36cb7087 +size 376619 diff --git a/python-pkginfo.changes b/python-pkginfo.changes index 6162eb7..35ea52b 100644 --- a/python-pkginfo.changes +++ b/python-pkginfo.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jun 3 10:48:59 UTC 2024 - Dirk Müller + +- 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 diff --git a/python-pkginfo.spec b/python-pkginfo.spec index 9c52a18..62c0593 100644 --- a/python-pkginfo.spec +++ b/python-pkginfo.spec @@ -18,14 +18,17 @@ %{?sle15_python_module_pythons} Name: python-pkginfo -Version: 1.10.0 +Version: 1.11.0 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 @@ -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