1
0

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
This commit is contained in:
Matej Cepl 2023-05-13 05:10:01 +00:00 committed by Git OBS Bridge
parent 09a4b2252e
commit ddbb77b0a1
5 changed files with 28 additions and 10 deletions

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

Binary file not shown.

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
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>

View File

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

View File

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