summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-11-08 17:06:30 +0100
committerMichał Górny <mgorny@gentoo.org>2023-11-08 17:06:30 +0100
commite3e35250731d92bd8bfafa4166313846ab962dd1 (patch)
tree691e1ee47696334075097873ed424f333a95d6a5 /dev-python
parentRename dev-python/{python-sshpubkeys → sshpubkeys} (diff)
downloadgentoo-e3e35250731d92bd8bfafa4166313846ab962dd1.tar.gz
gentoo-e3e35250731d92bd8bfafa4166313846ab962dd1.tar.bz2
gentoo-e3e35250731d92bd8bfafa4166313846ab962dd1.zip
dev-python/sshpubkeys: EAPI 8, PEP517, py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/sshpubkeys/sshpubkeys-3.3.1-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/sshpubkeys/sshpubkeys-3.3.1-r1.ebuild b/dev-python/sshpubkeys/sshpubkeys-3.3.1-r1.ebuild
new file mode 100644
index 000000000000..a783abdfd1be
--- /dev/null
+++ b/dev-python/sshpubkeys/sshpubkeys-3.3.1-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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