forked from pool/python-pkginfo
Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
a490aac735 | |||
97214dda36 | |||
4392dbadb0 | |||
d11c8e5b1d | |||
3013e31147 | |||
4848d5decc | |||
29c39dba7d | |||
ecd8769955 |
BIN
pkginfo-1.11.1.tar.gz
(Stored with Git LFS)
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
BIN
pkginfo-1.12.1.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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>
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user