10 Commits

Author SHA256 Message Date
2fdfbc3516 Accepting request 1300820 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=16
2025-08-22 15:47:14 +00:00
2f8e6ea6cf - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=34
2025-08-21 15:25:24 +00:00
30a6048fc4 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
f8593b405c - 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
77c655e039 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
8a65edc9a3 - 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
8dd3ec3dc1 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
facd34d59b Accepting request 1229877 from home:mcalabkova:branches:devel:languages:python
- 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/request/show/1229877
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
78158340c6 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
bb53e7ac90 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 59 additions and 6 deletions

Binary file not shown.

BIN
pkginfo-1.12.1.2.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,41 @@
-------------------------------------------------------------------
Thu Aug 21 15:25:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,14 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-pkginfo
Version: 1.11.1
Version: 1.12.1.2
Release: 0
Summary: Python package for querying metadatdata from sdists/bdists/installed packages
License: MIT
@@ -32,9 +37,14 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%endif
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
@@ -61,6 +71,8 @@ the *.egg-info stored in a "development checkout"
%python_clone -a %{buildroot}%{_bindir}/pkginfo
%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
%post
@@ -69,6 +81,9 @@ the *.egg-info stored in a "development checkout"
%postun
%python_uninstall_alternative pkginfo
%pre
%python_libalternatives_reset_alternative pkginfo
%files %{python_files}
%license LICENSE.txt
%doc README.txt CHANGES.txt TODO.txt