1
0

- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.packaging?expand=0&rev=25
This commit is contained in:
Steve Kowalik 2024-07-29 06:41:09 +00:00 committed by Git OBS Bridge
commit c3ca8d8909
7 changed files with 241 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b06a2a700975c298e793264f07ca522cfec778c03eeae28395af97c3b1b23e3
size 9650

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05302a4f8457b74971e7cc220df30fdf79b4fac31601e1b0dc439fff985a3040
size 13381

View File

@ -0,0 +1,128 @@
-------------------------------------------------------------------
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>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:42:15 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Wed Jan 4 20:18:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 9.1.2:
* #6: Added minimal test to ``sphinx.packaging``.
-------------------------------------------------------------------
Fri Oct 28 17:50:00 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to v9.1.1
* Change requirement to build[virtualenv] as workaround for pypa/build#266.
- Update to v9.1.0
* Prefer build to pep517 for loading package metadata.
-------------------------------------------------------------------
Mon Aug 29 19:50:09 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Remove stray python3.inv
-------------------------------------------------------------------
Mon Aug 29 10:11:16 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to v9.0.0
* Use pep517.meta to load package metadata. Adds support
for packages without setup.py.
* Removed info module (and setuptools show command).
* Removed depends module. Use other packaging tools instead.
- v8.2.1: Rely on PEP 420 for namespace package.
- v8.2.0: Inject rst_epilog to include ``|project|`` substitution.
- Remove jaraco.base: PEP420 namespace packages do not use that
kind of scheme anymore.
-------------------------------------------------------------------
Mon Nov 8 11:07:15 UTC 2021 - Dirk Müller <dmueller@suse.com>
- add missing six dependency declaration
-------------------------------------------------------------------
Mon Mar 9 15:11:55 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 8.1.0
* In sphinx when loading metadata, trap a ValueError to include the offending value.
* Require Python 3.6 or later.
* Removed 'cheese' package as it was built for a use-case that is no longer needed.
* Sphinx plugin now declares support for parallel reads (optimistically).
-------------------------------------------------------------------
Mon Oct 14 13:46:38 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Run SPEC file through spec-cleaner -i.
-------------------------------------------------------------------
Tue Feb 26 07:17:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add LICENSE
- Remove bcond_with test, and skip two failing tests
- Compile manually due to switch to pkgutil namespace technique
- Add docs/*.rst to %doc
- Update to v6.1
* Sphinx plugin now exposes ``package_url`` in HTML templates.
- from 6.0
* Switch to pkgutil namespace technique for the ``jaraco`` namespace.
- from 5.2
* Show command now also honors direct attributes on a Distribution instance.
- from 5.1.1
* In Sphinx module, use universal newlines to avoid broken results on Windows.
- from 5.1
* Added ``jaraco.packaging.make-tree`` utility for taking output from
pipdeptree and making a tree of it.
- from 5.0
* Drop support for Python 2.6.
* Re-aligned to use pkg_resources-managed technique for
the jaraco namespace, all package of which must elect one
technique or another.
-------------------------------------------------------------------
Mon Nov 13 17:25:52 UTC 2017 - toddrme2178@gmail.com
- Add namespace package that other jaraco packages can use.
- Properly handle namespace package structure.
This guarantees the module is importable.
-------------------------------------------------------------------
Wed Jul 5 08:00:46 UTC 2017 - aloisio@gmx.com
- Initial package (4.1)

View File

@ -0,0 +1,80 @@
#
# spec file for package python-jaraco.packaging
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-jaraco.packaging
Version: 10.2.2
Release: 0
Summary: Supplement packaging Python releases
License: MIT
URL: https://github.com/jaraco/jaraco.packaging
Source: https://files.pythonhosted.org/packages/source/j/jaraco.packaging/jaraco_packaging-%{version}.tar.gz
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 jaraco.context}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module virtualenv >= 20}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test
BuildRequires: %{python_module domdf-python-tools}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module pytest}
BuildRequires: ca-certificates
# /SECTION
Requires: python-Sphinx
Requires: python-build
Requires: python-domdf-python-tools
Requires: python-jaraco.context
# From build[virtualenv]
Requires: python-virtualenv >= 20
BuildArch: noarch
%python_subpackages
%description
Tools to supplement packaging Python releases.
%prep
%autosetup -p1 -n jaraco_packaging-%{version}
rm -rf jaraco.packaging.egg-info
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
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}
%license LICENSE
%doc docs/*.rst NEWS.rst README.rst
%{python_sitelib}/jaraco.packaging-%{version}.dist-info
%dir %{python_sitelib}/jaraco
%{python_sitelib}/jaraco/packaging/
%changelog

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e52702990c22cf1ce50206606b769fe0dbd5646a32873916144bd5aec5473b3
size 4662