14
0
forked from pool/python-pyotp

Accepting request 1284420 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1284420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyotp?expand=0&rev=9
This commit is contained in:
2025-06-11 14:22:32 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 10 11:25:48 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Tue Dec 26 15:44:10 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyotp
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,11 +27,12 @@ URL: https://github.com/pyauth/pyotp
Source: https://files.pythonhosted.org/packages/source/p/pyotp/pyotp-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
@@ -42,10 +43,10 @@ or multi-factor (MFA) authentication methods in web applications and in other sy
%setup -q -n pyotp-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -54,6 +55,7 @@ or multi-factor (MFA) authentication methods in web applications and in other sy
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/pyotp
%{python_sitelib}/pyotp-%{version}*-info
%changelog