From ddbb77b0a11fb69f64388110e83bfffd7a96056249576a2a9ed166209c4c3192 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 13 May 2023 05:10:01 +0000 Subject: [PATCH] Accepting request 1086816 from home:bnavigator:branches:devel:languages:python - Update to 9.2.0 * #7, #10, #11: Added environment variable to bypass building metadata for offline builds. - Add virtualenv dependency - Reenable tests OBS-URL: https://build.opensuse.org/request/show/1086816 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.packaging?expand=0&rev=23 --- jaraco.packaging-9.1.2.tar.gz | 3 --- jaraco.packaging-9.2.0.tar.gz | 3 +++ python-jaraco.packaging.changes | 9 +++++++++ python-jaraco.packaging.spec | 20 +++++++++++++------- sampleproject-3.0.0-py3-none-any.whl | 3 +++ 5 files changed, 28 insertions(+), 10 deletions(-) delete mode 100644 jaraco.packaging-9.1.2.tar.gz create mode 100644 jaraco.packaging-9.2.0.tar.gz create mode 100644 sampleproject-3.0.0-py3-none-any.whl diff --git a/jaraco.packaging-9.1.2.tar.gz b/jaraco.packaging-9.1.2.tar.gz deleted file mode 100644 index 3ef843c..0000000 --- a/jaraco.packaging-9.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0aab5c32ce8c495dcc253028b46196d7e198f127b200a488d32b65cba8eee337 -size 9226 diff --git a/jaraco.packaging-9.2.0.tar.gz b/jaraco.packaging-9.2.0.tar.gz new file mode 100644 index 0000000..d894e93 --- /dev/null +++ b/jaraco.packaging-9.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b06a2a700975c298e793264f07ca522cfec778c03eeae28395af97c3b1b23e3 +size 9650 diff --git a/python-jaraco.packaging.changes b/python-jaraco.packaging.changes index 6edf217..e3ac6a4 100644 --- a/python-jaraco.packaging.changes +++ b/python-jaraco.packaging.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri May 12 19:53:26 UTC 2023 - Ben Greiner + +- 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 diff --git a/python-jaraco.packaging.spec b/python-jaraco.packaging.spec index 0c6073e..58d23a2 100644 --- a/python-jaraco.packaging.spec +++ b/python-jaraco.packaging.spec @@ -18,27 +18,32 @@ %{?sle15_python_module_pythons} Name: python-jaraco.packaging -Version: 9.1.2 +Version: 9.2.0 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.7} 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 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 and docs +# SECTION test BuildRequires: %{python_module pytest} -BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module rst.linker >= 1.9} +BuildRequires: ca-certificates # /SECTION Requires: python-build +Requires: python-jaraco.context +# From build[virtualenv] +Requires: python-virtualenv >= 20 %if 0%{?python_version_nodots} < 38 Requires: python-importlib-metadata %endif @@ -49,7 +54,7 @@ BuildArch: noarch Tools to supplement packaging Python releases. %prep -%setup -q -n jaraco.packaging-%{version} +%autosetup -p1 -n jaraco.packaging-%{version} rm -rf jaraco.packaging.egg-info %build @@ -59,8 +64,9 @@ rm -rf jaraco.packaging.egg-info %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -#%%check -# Upstream removed their test suite from the repository, only checking for correct typing and lint +%check +export PIP_FIND_LINKS=$(dirname %{SOURCE10}) +%pytest %files %{python_files} %license LICENSE diff --git a/sampleproject-3.0.0-py3-none-any.whl b/sampleproject-3.0.0-py3-none-any.whl new file mode 100644 index 0000000..057a827 --- /dev/null +++ b/sampleproject-3.0.0-py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e52702990c22cf1ce50206606b769fe0dbd5646a32873916144bd5aec5473b3 +size 4662