1
0

8 Commits

Author SHA256 Message Date
a490aac735 Accepting request 1294494 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1294494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=15
2025-07-21 17:59:06 +00:00
97214dda36 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=32
2025-07-19 07:29:00 +00:00
4392dbadb0 Accepting request 1248500 from devel:languages:python
- update to 1.12.1.2:
  * Fix *another* packaging error (more missing testcase data!).
    LP #2098833
  * Fix packaging error which prevents running tests from the
    released sdist.
  * Disuse the metadata of the installed 'pkginfo' package for
    testing:
  * during creation of the various 'tox' environments,
    different versions of 'setuptools' will overwrite that file
    with different metadata (version, 'Dynamic' headers, etc).

OBS-URL: https://build.opensuse.org/request/show/1248500
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=14
2025-02-26 16:14:22 +00:00
d11c8e5b1d - update to 1.12.1.2:
* Fix *another* packaging error (more missing testcase data!).
    LP #2098833
  * Fix packaging error which prevents running tests from the
    released sdist.
  * Disuse the metadata of the installed 'pkginfo' package for
    testing:
  * during creation of the various 'tox' environments,
    different versions of 'setuptools' will overwrite that file
    with different metadata (version, 'Dynamic' headers, etc).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=30
2025-02-25 21:05:29 +00:00
3013e31147 Accepting request 1229913 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1229913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=13
2024-12-11 20:01:09 +00:00
4848d5decc - Update to 1.12.0
* Declare content type of long description explicitly as ‘text/x-rst’.
  * Support ‘metadata_version’ == ‘2.4’ (PEP 639).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=28
2024-12-10 17:24:22 +00:00
29c39dba7d Accepting request 1224647 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1224647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=12
2024-11-18 18:57:10 +00:00
ecd8769955 Accepting request 1224486 from home:glaubitz:branches:devel:languages:python
- Update to 1.11.2
  * Swap order of zip/tarball checks to work around archives which fool
    'zipfile.is_zipfile'.  LP #2084140.

OBS-URL: https://build.opensuse.org/request/show/1224486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=26
2024-11-17 11:03:06 +00:00
4 changed files with 45 additions and 12 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Sat Jul 19 07:28:46 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Tue Feb 25 21:03:21 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.12.1.2:
* Fix *another* packaging error (more missing testcase data!).
LP #2098833
* Fix packaging error which prevents running tests from the
released sdist.
* Disuse the metadata of the installed 'pkginfo' package for
testing:
* during creation of the various 'tox' environments,
different versions of 'setuptools' will overwrite that file
with different metadata (version, 'Dynamic' headers, etc).
-------------------------------------------------------------------
Tue Dec 10 13:42:20 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 1.12.0
* Declare content type of long description explicitly as text/x-rst.
* Support metadata_version == 2.4 (PEP 639).
-------------------------------------------------------------------
Fri Nov 15 16:40:01 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.11.2
* Swap order of zip/tarball checks to work around archives which fool
'zipfile.is_zipfile'. LP #2084140.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 20 13:21:37 UTC 2024 - Dirk Müller <dmueller@suse.com> Thu Jun 20 13:21:37 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pkginfo # spec file for package python-pkginfo
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 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
@@ -16,9 +16,10 @@
# #
%bcond_without libalternatives
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pkginfo Name: python-pkginfo
Version: 1.11.1 Version: 1.12.1.2
Release: 0 Release: 0
Summary: Python package for querying metadatdata from sdists/bdists/installed packages Summary: Python package for querying metadatdata from sdists/bdists/installed packages
License: MIT License: MIT
@@ -29,11 +30,11 @@ BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: alts
Requires: python-setuptools Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@@ -61,13 +62,12 @@ the *.egg-info stored in a "development checkout"
%python_clone -a %{buildroot}%{_bindir}/pkginfo %python_clone -a %{buildroot}%{_bindir}/pkginfo
%check %check
# install wheel in tests with an explicit metadata version, looks like we have a different default (openSUSE-only)
sed -iE "s/_make_installed('wheel')/_make_installed('wheel', metadata_version='2.3')/" pkginfo/tests/test_installed.py
%pytest %pytest
%post %pre
%python_install_alternative pkginfo %python_libalternatives_reset_alternative pkginfo
%postun
%python_uninstall_alternative pkginfo
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt