forked from pool/python-python-yubico
Accepting request 1284528 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1284528 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-yubico?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 10 15:17:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 28 09:27:28 UTC 2021 - pgajdos@suse.com
|
Fri May 28 09:27:28 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-yubico
|
# spec file for package python-python-yubico
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-python-yubico
|
Name: python-python-yubico
|
||||||
# there are three repos:
|
# there are three repos:
|
||||||
# https://pypi.org/project/python-yubico/ (1.3.3)
|
# https://pypi.org/project/python-yubico/ (1.3.3)
|
||||||
@@ -30,8 +29,10 @@ Group: Development/Languages/Python
|
|||||||
URL: https://developers.yubico.com/python-yubico/Releases/
|
URL: https://developers.yubico.com/python-yubico/Releases/
|
||||||
Source: https://developers.yubico.com/python-yubico/Releases/python-yubico-%{version}.tar.gz
|
Source: https://developers.yubico.com/python-yubico/Releases/python-yubico-%{version}.tar.gz
|
||||||
Source1: https://developers.yubico.com/python-yubico/Releases/python-yubico-%{version}.tar.gz.sig
|
Source1: https://developers.yubico.com/python-yubico/Releases/python-yubico-%{version}.tar.gz.sig
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module usb}
|
BuildRequires: %{python_module usb}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-usb
|
Requires: python-usb
|
||||||
@@ -55,10 +56,10 @@ but there are things one can do with bi-directional communication:
|
|||||||
%setup -q -n python-yubico-%{version}
|
%setup -q -n python-yubico-%{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
|
||||||
@@ -69,6 +70,7 @@ rm -r test/usb
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README NEWS
|
%doc README NEWS
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/yubico
|
||||||
|
%{python_sitelib}/python[-_]yubico-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user