1
0

Accepting request 1086860 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1086860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jaraco.packaging?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2023-05-19 09:55:14 +00:00 committed by Git OBS Bridge
commit d8f2d007b0
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> Fri Apr 21 12:27:23 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -18,27 +18,32 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-jaraco.packaging Name: python-jaraco.packaging
Version: 9.1.2 Version: 9.2.0
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
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 base >= 3.7}
BuildRequires: %{python_module build} BuildRequires: %{python_module build}
BuildRequires: %{python_module importlib-metadata if %python-version < 3.8} 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 pytest}
BuildRequires: %{python_module Sphinx} BuildRequires: ca-certificates
BuildRequires: %{python_module rst.linker >= 1.9}
# /SECTION # /SECTION
Requires: python-build Requires: python-build
Requires: python-jaraco.context
# From build[virtualenv]
Requires: python-virtualenv >= 20
%if 0%{?python_version_nodots} < 38 %if 0%{?python_version_nodots} < 38
Requires: python-importlib-metadata Requires: python-importlib-metadata
%endif %endif
@ -49,7 +54,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,8 +64,9 @@ 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})
%pytest
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE

View File

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