From 48eab290c195300553bd9bd7f2a615453b8f7c6a Mon Sep 17 00:00:00 2001 From: Marcel Telka <marcel@telka.sk> Date: Mon, 04 Mar 2024 13:55:56 +0100 Subject: [PATCH] python/pkginfo: update to 1.10.0; obsolete package for Python 3.7 --- components/python/pkginfo/manifests/sample-manifest.p5m | 2 +- components/python/pkginfo/history | 1 + components/python/pkginfo/pkginfo-PYVER.p5m | 1 - components/python/pkginfo/Makefile | 7 +++---- components/python/pkginfo/test/results-all.master | 21 +++------------------ components/python/pkginfo/pkg5 | 10 +++------- 6 files changed, 11 insertions(+), 31 deletions(-) diff --git a/components/python/pkginfo/Makefile b/components/python/pkginfo/Makefile index 415932b..cf93f76 100644 --- a/components/python/pkginfo/Makefile +++ b/components/python/pkginfo/Makefile @@ -19,13 +19,11 @@ include ../../../make-rules/shared-macros.mk COMPONENT_NAME = pkginfo -HUMAN_VERSION = 1.9.6 +HUMAN_VERSION = 1.10.0 COMPONENT_SUMMARY = pkginfo - Query metadata from sdists / bdists / installed packages. COMPONENT_PROJECT_URL = https://code.launchpad.net/~tseaver/pkginfo/trunk -COMPONENT_ARCHIVE_URL = \ - https://files.pythonhosted.org/packages/b4/1c/89b38e431c20d6b2389ed8b3926c2ab72f58944733ba029354c6d9f69129/pkginfo-1.9.6.tar.gz COMPONENT_ARCHIVE_HASH = \ - sha256:8fd5896e8718a4372f0ea9cc9d96f6417c9b986e23a4d116dda26b62cc29d046 + sha256:5df73835398d10db79f8eecd5cd86b1f6d29317589ea70796994d49399af6297 COMPONENT_LICENSE = MIT COMPONENT_LICENSE_FILE = LICENSE.txt @@ -37,3 +35,4 @@ PYTHON_REQUIRED_PACKAGES += runtime/python TEST_REQUIRED_PACKAGES.python += library/python/pytest TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov +TEST_REQUIRED_PACKAGES.python += library/python/wheel diff --git a/components/python/pkginfo/history b/components/python/pkginfo/history new file mode 100644 index 0000000..d1ce12a --- /dev/null +++ b/components/python/pkginfo/history @@ -0,0 +1 @@ +library/python/pkginfo-37@1.9.6,5.11-2023.0.0.1 diff --git a/components/python/pkginfo/manifests/sample-manifest.p5m b/components/python/pkginfo/manifests/sample-manifest.p5m index f6452ec..00668b6 100644 --- a/components/python/pkginfo/manifests/sample-manifest.p5m +++ b/components/python/pkginfo/manifests/sample-manifest.p5m @@ -10,7 +10,7 @@ # # -# Copyright 2023 <contributor> +# Copyright 2024 <contributor> # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) diff --git a/components/python/pkginfo/pkg5 b/components/python/pkginfo/pkg5 index d35cc23..e8a8975 100644 --- a/components/python/pkginfo/pkg5 +++ b/components/python/pkginfo/pkg5 @@ -1,16 +1,12 @@ { "dependencies": [ - "library/python/importlib-metadata-37", "library/python/importlib-metadata-39", - "library/python/setuptools-37", "library/python/setuptools-39", - "runtime/python-37", "runtime/python-39" ], "fmris": [ - "library/python/pkginfo-37", - "library/python/pkginfo-39", - "library/python/pkginfo" + "library/python/pkginfo", + "library/python/pkginfo-39" ], "name": "pkginfo" -} \ No newline at end of file +} diff --git a/components/python/pkginfo/pkginfo-PYVER.p5m b/components/python/pkginfo/pkginfo-PYVER.p5m index 204f667..85bb1bb 100644 --- a/components/python/pkginfo/pkginfo-PYVER.p5m +++ b/components/python/pkginfo/pkginfo-PYVER.p5m @@ -68,5 +68,4 @@ pkg.debug.depend.path=usr/bin # Automatically generated dependencies based on distribution metadata -<transform file path=usr/bin/pkginfo-3\.7$ -> add pkg.depend.bypass-generate .*/importlib/(64/)?metadata.* > <transform file path=usr/bin/pkginfo-3\. -> set tmp.fmri NOSYMLINK > diff --git a/components/python/pkginfo/test/results-all.master b/components/python/pkginfo/test/results-all.master index 204d6ea..375b347 100644 --- a/components/python/pkginfo/test/results-all.master +++ b/components/python/pkginfo/test/results-all.master @@ -1,15 +1,11 @@ -ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> python -m pytest --cov=pkginfo --cov-append --cov-report= ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python cachedir: .tox/py$(PYV)/.pytest_cache -hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples') rootdir: $(@D) -asyncio: mode=strict -collecting ... collected 180 items +collecting ... collected 176 items -::project PASSED pkginfo/tests/test_bdist.py::BDistTests::test_ctor_w_bogus_filename PASSED pkginfo/tests/test_bdist.py::BDistTests::test_ctor_w_egg PASSED pkginfo/tests/test_bdist.py::BDistTests::test_ctor_w_egg_and_metadata_version PASSED @@ -66,6 +62,7 @@ pkginfo/tests/test_distribution.py::DistributionTests::test_parse_Metadata_Version_1_2 PASSED pkginfo/tests/test_distribution.py::DistributionTests::test_parse_Metadata_Version_2_1 PASSED pkginfo/tests/test_distribution.py::DistributionTests::test_parse_Metadata_Version_2_2 PASSED +pkginfo/tests/test_distribution.py::DistributionTests::test_parse_Metadata_Version_2_3 PASSED pkginfo/tests/test_distribution.py::DistributionTests::test_parse_Metadata_Version_override PASSED pkginfo/tests/test_distribution.py::DistributionTests::test_parse_Metadata_Version_unknown PASSED pkginfo/tests/test_distribution.py::DistributionTests::test_parse_Name PASSED @@ -186,18 +183,6 @@ pkginfo/tests/test_wheel.py::WheelTests::test_ctor_w_valid_wheel_w_description_header PASSED pkginfo/tests/test_wheel.py::WheelTests::test_ctor_wo_dist_info PASSED -=============================== warnings summary =============================== -pkginfo/tests/test_installed.py::InstalledTests::test_namespaced_pkg_installed_via_pth - $(@D)/pkginfo/tests/manky/namespaced/__init__.py:4: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('namespaced')`. - Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages - pkg_resources.declare_namespace(__name__) - -pkginfo/tests/test_installed.py::InstalledTests::test_namespaced_pkg_installed_via_setuptools - $(@D)/pkginfo/tests/wonky/namespaced/__init__.py:4: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('namespaced')`. - Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages - pkg_resources.declare_namespace(__name__) - --- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -======== 176 passed, 2 warnings ======== +======== 176 passed ======== py$(PYV): OK congratulations :) -- Gitblit v1.9.3