forked from pool/python-sshpubkeys
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sshpubkeys?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 13 10:14:48 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 13 12:19:15 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Tue Jun 13 12:19:15 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sshpubkeys
|
# spec file for package python-sshpubkeys
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -26,7 +26,9 @@ URL: https://github.com/ojarva/python-sshpubkeys
|
|||||||
Source: https://github.com/ojarva/python-sshpubkeys/archive/%{version}.tar.gz
|
Source: https://github.com/ojarva/python-sshpubkeys/archive/%{version}.tar.gz
|
||||||
BuildRequires: %{python_module cryptography >= 3.2}
|
BuildRequires: %{python_module cryptography >= 3.2}
|
||||||
BuildRequires: %{python_module ecdsa >= 0.13.3}
|
BuildRequires: %{python_module ecdsa >= 0.13.3}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-cryptography >= 3.2
|
Requires: python-cryptography >= 3.2
|
||||||
@@ -41,10 +43,10 @@ OpenSSH Public Key Parser for Python
|
|||||||
%setup -q -n python-sshpubkeys-%{version}
|
%setup -q -n python-sshpubkeys-%{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
|
||||||
@@ -53,6 +55,7 @@ OpenSSH Public Key Parser for Python
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/sshpubkeys
|
||||||
|
%{python_sitelib}/sshpubkeys-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user