forked from pool/python-itsdangerous
Accepting request 1111823 from devel:languages:python
- Switch to pyproject macros. - Stop using greedy globs in %files. OBS-URL: https://build.opensuse.org/request/show/1111823 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-itsdangerous?expand=0&rev=12
This commit is contained in:
commit
39ee8787f3
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 18 04:40:32 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- Stop using greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:27:12 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:27:12 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -16,21 +16,19 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%global skip_python36 1
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-itsdangerous
|
Name: python-itsdangerous
|
||||||
Version: 2.1.2
|
Version: 2.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Various helpers to pass trusted data to untrusted environments and back
|
Summary: Various helpers to pass trusted data to untrusted environments and back
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://itsdangerous.palletsprojects.com
|
URL: https://itsdangerous.palletsprojects.com
|
||||||
Source: https://files.pythonhosted.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module freezegun}
|
BuildRequires: %{python_module freezegun}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -53,10 +51,10 @@ Also I plan to add some extra things. Work in progress.
|
|||||||
%setup -q -n itsdangerous-%{version}
|
%setup -q -n itsdangerous-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -65,6 +63,7 @@ Also I plan to add some extra things. Work in progress.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.rst
|
%license LICENSE.rst
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/itsdangerous
|
||||||
|
%{python_sitelib}/itsdangerous-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user