14
0
2022-09-26 16:48:46 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 10 deletions

View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Sep 26 14:32:17 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 1.3.10
* no upstream changelog or release notes
- Use PEP517 instead of flit generated distutils setup.py
- New version required by jsonschema
-------------------------------------------------------------------
Sun Jul 5 06:01:38 PM UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pkgutil-resolve-name
#
# Copyright (c) 2020 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
@@ -18,14 +18,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pkgutil-resolve-name
Version: 1.0.0
Version: 1.3.10
Release: 0
Summary: Backport of Python 3.9's pkgutil.resolve_name
License: Python-2.0 AND MIT
License: MIT AND Python-2.0
Group: Development/Languages/Python
URL: https://github.com/graingert/pkgutil-resolve-name
Source: https://files.pythonhosted.org/packages/source/p/pkgutil_resolve_name/pkgutil_resolve_name-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -39,10 +40,10 @@ resolves a name to an object.
%setup -q -n pkgutil_resolve_name-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# No tests provided in repo of backport
@@ -50,6 +51,8 @@ resolves a name to an object.
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pkgutil_resolve_name.py*
%pycache_only %{python_sitelib}/__pycache__/pkgutil_resolve_name*.pyc
%{python_sitelib}/pkgutil_resolve_name-%{version}*-info
%changelog