14
0

osc copypac from project:home:jfita:sr.ht package:python-sshpubkeys revision:4

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sshpubkeys?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2019-10-16 12:36:04 +00:00
committed by Git OBS Bridge
commit 0129bd9c69
5 changed files with 77 additions and 0 deletions

45
python-sshpubkeys.spec Normal file
View File

@@ -0,0 +1,45 @@
#
# spec file for package python-sshpubkeys
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sshpubkeys
Version: 3.1.0
Release: 0
License: BSD-3-Clause
Summary: SSH public key parser
Url: https://github.com/ojarva/python-sshpubkeys
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/s/sshpubkeys/sshpubkeys-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module cryptography >= 2.1.4}
BuildRequires: %{python_module ecdsa >= 0.13}
BuildRequires: fdupes
Requires: python-cryptography >= 2.1.4
Requires: python-ecdsa >= 0.13
Suggests: python-twine
Suggests: python-wheel
BuildArch: noarch
%python_subpackages
%description
OpenSSH Public Key Parser for Python
%prep
%setup -q -n sshpubkeys-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.rst
%{python_sitelib}/*
%changelog