14
0

Accepting request 1000033 from home:bnavigator:branches:devel:languages:python

- Update to 3.4.0
  * Require Python 3.7 or later.
- Switch to PEP517 and remove obsolete jaraco.base requirement

OBS-URL: https://build.opensuse.org/request/show/1000033
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.path?expand=0&rev=5
This commit is contained in:
2022-08-29 19:38:35 +00:00
committed by Git OBS Bridge
parent 281924347c
commit 0c6dec41b7
4 changed files with 25 additions and 14 deletions

View File

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

3
jaraco.path-3.4.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 29 13:25:07 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 3.4.0
* Require Python 3.7 or later.
- Switch to PEP517 and remove obsolete jaraco.base requirement
-------------------------------------------------------------------
Sat May 1 20:13:31 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jaraco.path
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,21 +16,21 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jaraco.path
Version: 3.3.1
Version: 3.4.0
Release: 0
Summary: miscellaneous path functions for jaraco packages
Summary: Miscellaneous path functions for jaraco packages
License: MIT
URL: https://github.com/jaraco/jaraco.path
Source: https://files.pythonhosted.org/packages/source/j/jaraco.path/jaraco.path-%{version}.tar.gz
BuildRequires: %{python_module jaraco.base}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module singledispatch}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-singledispatch
BuildArch: noarch
%python_subpackages
@@ -42,19 +42,23 @@ and other miscellaneous path helper functions.
%setup -q -n jaraco.path-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# work around for gh#pytest-dev/pytest#3396 until gh#pytest-dev/pytest#10088 lands in a pytest release
touch jaraco/__init__.py
%pytest
%files %{python_files}
%license LICENSE
%dir %{python_sitelib}/jaraco/
%{python_sitelib}/jaraco/path.py
%{python_sitelib}/jaraco.path-%{version}-py%{python_version}.egg-info
%{python_sitelib}/jaraco.path-%{version}*-info
%pycache_only %dir %{python_sitelib}/jaraco/__pycache__
%pycache_only %{python_sitelib}/jaraco/__pycache__/path*.py*
%changelog