Sync from SUSE:SLFO:Main python-jaraco.packaging revision f73925eda1598a443b2d6b8b184074d9

This commit is contained in:
Adrian Schröter 2024-12-13 11:38:16 +01:00
parent 1aa3de9066
commit 5f48cc71ea
5 changed files with 69 additions and 19 deletions

BIN
jaraco.packaging-9.1.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
jaraco_packaging-10.2.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Sun Sep 29 20:03:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 10.2.3:
* Adapt to latest versions of importlib.metadata that don't
allow for implicit None values.
-------------------------------------------------------------------
Mon Jul 29 06:40:30 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 10.2.2:
* Fixed DeprecationWarning in metadata.hunt_down_url.
* Fixed issue in rendering non-unique keys in print-metadata.
* Add script for printing metadata.
* Add metadata.extract_email helper.
* Moved metadata helpers to metadata module.
* In extract_author, expand the logic to support multiple authors in
pyproject.toml form.
* Configure Sphinx earlier in 'config-inited', allowing other etxensions
to rely on the produced values.
* Add support for other metadata fields since pyproject.toml shuffles
things around.
* Add metadata.load for loading metadata from a source dir with support
for a BUILD_ENVIRONMENT setting. Set BUILD_ENVIRONMENT=current to bypass
isolation when loading metadata.
* Deprecated use of environment variable for isolated builds.
* Add sidebar-links directive.
* Require Python 3.8 or later.
- Skip two tests that are impacted by a Pytest bug.
-------------------------------------------------------------------
Fri May 12 19:53:26 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 9.2.0
* #7, #10, #11: Added environment variable to bypass building
metadata for offline builds.
- Add virtualenv dependency
- Reenable tests
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:27:23 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:27:23 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-jaraco.packaging # spec file for package python-jaraco.packaging
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 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
@ -18,30 +18,36 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-jaraco.packaging Name: python-jaraco.packaging
Version: 9.1.2 Version: 10.2.3
Release: 0 Release: 0
Summary: Supplement packaging Python releases Summary: Supplement packaging Python releases
License: MIT License: MIT
URL: https://github.com/jaraco/jaraco.packaging URL: https://github.com/jaraco/jaraco.packaging
Source: https://files.pythonhosted.org/packages/source/j/jaraco.packaging/jaraco.packaging-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/j/jaraco.packaging/jaraco_packaging-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7} Source10: https://files.pythonhosted.org/packages/py3/s/sampleproject/sampleproject-3.0.0-py3-none-any.whl
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module build} BuildRequires: %{python_module build}
BuildRequires: %{python_module importlib-metadata if %python-version < 3.8} BuildRequires: %{python_module jaraco.context}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 56} BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1} BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module virtualenv >= 20}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test and docs # SECTION test
BuildRequires: %{python_module pytest} BuildRequires: %{python_module domdf-python-tools}
BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module rst.linker >= 1.9} BuildRequires: %{python_module docutils}
BuildRequires: %{python_module pytest}
BuildRequires: ca-certificates
# /SECTION # /SECTION
Requires: python-Sphinx
Requires: python-build Requires: python-build
%if 0%{?python_version_nodots} < 38 Requires: python-domdf-python-tools
Requires: python-importlib-metadata Requires: python-jaraco.context
%endif # From build[virtualenv]
Requires: python-virtualenv >= 20
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -49,7 +55,7 @@ BuildArch: noarch
Tools to supplement packaging Python releases. Tools to supplement packaging Python releases.
%prep %prep
%setup -q -n jaraco.packaging-%{version} %autosetup -p1 -n jaraco_packaging-%{version}
rm -rf jaraco.packaging.egg-info rm -rf jaraco.packaging.egg-info
%build %build
@ -59,13 +65,15 @@ rm -rf jaraco.packaging.egg-info
%pyproject_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check %check
# Upstream removed their test suite from the repository, only checking for correct typing and lint export PIP_FIND_LINKS=$(dirname %{SOURCE10})
# Broken by https://github.com/pytest-dev/pytest/issues/12303
%pytest -k 'not (packaging.metadata.hunt_down_url or packaging.print-metadata.main)'
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc docs/*.rst CHANGES.rst README.rst %doc docs/*.rst NEWS.rst README.rst
%{python_sitelib}/jaraco.packaging-%{version}*-info %{python_sitelib}/jaraco.packaging-%{version}.dist-info
%dir %{python_sitelib}/jaraco %dir %{python_sitelib}/jaraco
%{python_sitelib}/jaraco/packaging/ %{python_sitelib}/jaraco/packaging/

BIN
sampleproject-3.0.0-py3-none-any.whl (Stored with Git LFS) Normal file

Binary file not shown.