commit ddafd29084cddc025e81bd77fb969ada923f08c11ea3c7f8984c9f7eb779bd4e Author: Markéta Machová Date: Fri Jun 13 10:15:03 2025 +0000 - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sshpubkeys?expand=0&rev=7 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/3.3.1.tar.gz b/3.3.1.tar.gz new file mode 100644 index 0000000..3f0372d --- /dev/null +++ b/3.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04dbd4ed78b288b0cb2b265f7594367676d740d5ce0eda66cb745aaa9a597125 +size 57896 diff --git a/python-sshpubkeys.changes b/python-sshpubkeys.changes new file mode 100644 index 0000000..141eb71 --- /dev/null +++ b/python-sshpubkeys.changes @@ -0,0 +1,33 @@ +------------------------------------------------------------------- +Fri Jun 13 10:14:48 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Tue Jun 13 12:19:15 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Fri Sep 10 06:08:52 UTC 2021 - pgajdos@suse.com + +- version update to 3.3.1 + 3.3.1 + Revert changes breaking python 3.5. + 3.3.0 + Python 3 only + 3.2.1 + Maintenance release + 3.2.0 + Multiple small changes and new features + +------------------------------------------------------------------- +Wed Oct 16 12:36:00 UTC 2019 - Tomáš Chvátal + +- Update to SUSE style specfile + +------------------------------------------------------------------- +Thu Jan 10 09:34:28 UTC 2019 - Jordi Fita + +- Version 3.1.0 + diff --git a/python-sshpubkeys.spec b/python-sshpubkeys.spec new file mode 100644 index 0000000..9d478de --- /dev/null +++ b/python-sshpubkeys.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-sshpubkeys +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-sshpubkeys +Version: 3.3.1 +Release: 0 +Summary: SSH public key parser +License: BSD-3-Clause +URL: https://github.com/ojarva/python-sshpubkeys +Source: https://github.com/ojarva/python-sshpubkeys/archive/%{version}.tar.gz +BuildRequires: %{python_module cryptography >= 3.2} +BuildRequires: %{python_module ecdsa >= 0.13.3} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-cryptography >= 3.2 +Requires: python-ecdsa >= 0.13.3 +BuildArch: noarch +%python_subpackages + +%description +OpenSSH Public Key Parser for Python + +%prep +%setup -q -n python-sshpubkeys-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pyunittest discover -v + +%files %{python_files} +%doc README.rst +%license LICENSE.txt +%{python_sitelib}/sshpubkeys +%{python_sitelib}/sshpubkeys-%{version}*-info + +%changelog