forked from pool/python-python-jose
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jose?expand=0&rev=21
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 05:49:33 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 6 17:27:12 UTC 2025 - Guang Yee <gyee@suse.com>
|
Tue May 6 17:27:12 UTC 2025 - Guang Yee <gyee@suse.com>
|
||||||
|
|
||||||
|
@@ -44,7 +44,9 @@ Summary: JOSE implementation in Python
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/mpdavis/python-jose
|
URL: https://github.com/mpdavis/python-jose
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/python-jose/python-jose-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/python-jose/python-jose-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools >= 39.2.0}
|
BuildRequires: %{python_module setuptools >= 39.2.0}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-ecdsa >= 0.16
|
Requires: python-ecdsa >= 0.16
|
||||||
@@ -95,10 +97,10 @@ This package provides the python-jose[cryptography] extra.
|
|||||||
|
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -111,7 +113,7 @@ This package provides the python-jose[cryptography] extra.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/python_jose-%{version}*-info
|
%{python_sitelib}/python_jose-%{version}.dist-info
|
||||||
%{python_sitelib}/jose
|
%{python_sitelib}/jose
|
||||||
|
|
||||||
%files %{python_files cryptography}
|
%files %{python_files cryptography}
|
||||||
|
Reference in New Issue
Block a user