summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-11-08 17:05:52 +0100
committerMichał Górny <mgorny@gentoo.org>2023-11-08 17:05:52 +0100
commit53b26542f7a274f0ecc63339cd945268a3f1c1c5 (patch)
tree2d77937ffeb4aedf88777a52d681c4905468b5dd /dev-python/sshpubkeys
parentdev-python/python-jose: EAPI 8, PEP517, py3.12 (diff)
downloadgentoo-53b26542f7a274f0ecc63339cd945268a3f1c1c5.tar.gz
gentoo-53b26542f7a274f0ecc63339cd945268a3f1c1c5.tar.bz2
gentoo-53b26542f7a274f0ecc63339cd945268a3f1c1c5.zip
Rename dev-python/{python-sshpubkeys → sshpubkeys}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sshpubkeys')
-rw-r--r--dev-python/sshpubkeys/Manifest1
-rw-r--r--dev-python/sshpubkeys/metadata.xml17
-rw-r--r--dev-python/sshpubkeys/sshpubkeys-3.3.1.ebuild31
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/sshpubkeys/Manifest b/dev-python/sshpubkeys/Manifest
new file mode 100644
index 000000000000..f17d049ead9e
--- /dev/null
+++ b/dev-python/sshpubkeys/Manifest
@@ -0,0 +1 @@
+DIST python-sshpubkeys-3.3.1.gh.tar.gz 57896 BLAKE2B 3212ea0c38377255258a831cc942f71c0b0efb040ba8ca3283200b638dcae7a31ad5763ae0de4f51a7ae0c3f0a1b83ca6db96f00384ecd1e1e3a369028e4ed41 SHA512 8a59e73eddd795a71b64fc7433292ca03a9f447a13c8ef40d68fc599776c37f5e4a1fdbbf2f2ab00b0091a513e2412f213f6a21474ae0784af2df9a7107a2ed6
diff --git a/dev-python/sshpubkeys/metadata.xml b/dev-python/sshpubkeys/metadata.xml
new file mode 100644
index 000000000000..7ddc300d2654
--- /dev/null
+++ b/dev-python/sshpubkeys/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">sshpubkeys</remote-id>
+ <remote-id type="github">ojarva/python-sshpubkeys</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/sshpubkeys/sshpubkeys-3.3.1.ebuild b/dev-python/sshpubkeys/sshpubkeys-3.3.1.ebuild
new file mode 100644
index 000000000000..a73c8439e522
--- /dev/null
+++ b/dev-python/sshpubkeys/sshpubkeys-3.3.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+MY_P=python-sshpubkeys-${PV}
+DESCRIPTION="OpenSSH public key parser for Python"
+HOMEPAGE="
+ https://pypi.org/project/sshpubkeys/
+ https://github.com/ojarva/python-sshpubkeys/
+"
+SRC_URI="
+ https://github.com/ojarva/python-sshpubkeys/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+
+RDEPEND="
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/ecdsa[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest