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

This commit is contained in:
Adrian Schröter 2024-05-03 21:10:57 +02:00
commit 1aa3de9066
4 changed files with 194 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

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

Binary file not shown.

View File

@ -0,0 +1,96 @@
-------------------------------------------------------------------
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,72 @@
#
# spec file for package python-jaraco.packaging
#
# Copyright (c) 2023 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: 9.1.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
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module build}
BuildRequires: %{python_module importlib-metadata if %python-version < 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test and docs
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module rst.linker >= 1.9}
# /SECTION
Requires: python-build
%if 0%{?python_version_nodots} < 38
Requires: python-importlib-metadata
%endif
BuildArch: noarch
%python_subpackages
%description
Tools to supplement packaging Python releases.
%prep
%setup -q -n jaraco.packaging-%{version}
rm -rf jaraco.packaging.egg-info
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check
# Upstream removed their test suite from the repository, only checking for correct typing and lint
%files %{python_files}
%license LICENSE
%doc docs/*.rst CHANGES.rst README.rst
%{python_sitelib}/jaraco.packaging-%{version}*-info
%dir %{python_sitelib}/jaraco
%{python_sitelib}/jaraco/packaging/
%changelog