summaryrefslogtreecommitdiff
path: root/sys-auth/solo-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /sys-auth/solo-python
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'sys-auth/solo-python')
-rw-r--r--sys-auth/solo-python/Manifest4
-rw-r--r--sys-auth/solo-python/metadata.xml2
-rw-r--r--sys-auth/solo-python/solo-python-0.0.31.ebuild34
3 files changed, 38 insertions, 2 deletions
diff --git a/sys-auth/solo-python/Manifest b/sys-auth/solo-python/Manifest
index f8752ff04592..e7e0e508bbfc 100644
--- a/sys-auth/solo-python/Manifest
+++ b/sys-auth/solo-python/Manifest
@@ -1,3 +1,5 @@
DIST solo-python-0.0.30.tar.gz 34932 BLAKE2B 6787d9c6e102cd2cb5579be0cb3ffbbe76b3ae90f4fa6891b6a1ca3e76436568a949daa6796fc17c9868d10d5de3b0dd377619936eccb0d436a284a35efa40a9 SHA512 bba63e598ef585ef49e98f3ec2a79911cf8af3fc38c9407bd91b7500dc55bf84f365664e6f80ff0ed3553ce93f5d61ba11c5301e8b36d6000c7a922857adaa5e
+DIST solo-python-0.0.31.tar.gz 34959 BLAKE2B abc7bb014bb6eedcd0178cb600c626ca6e2b4773083916db698c0dd9639208206da010470f77813074137667afb5c6725311c3406762a8ab5a029e9966b227d6 SHA512 e8c81524b6d10bc38898b19e35ab2f7b95bea7906553de9e0598fc160b5b9b61f4f8b40e2238631738e1b69ef52652af1b3e84aa0a3552126929c4512210c1fa
EBUILD solo-python-0.0.30.ebuild 1141 BLAKE2B f3ffe66798b2fd3f075da98ae820b5ef4bc7f90c1ee050108074c0f2a7c30385f704c7b38b2778973b5b6531586c6ee56a5d1f45b9443849186e55dce32e81a7 SHA512 20da743018fe89e84fb4ad2a752eb3c597a7ed43ab9a54f6d8c586151a3b8ac31386832187264c06fd0c10729769e3a3389ffe9db1d66e13698686723700cbc9
-MISC metadata.xml 692 BLAKE2B ce28ac18e95a00f6d3821e8ce5a476fd82af30229d2fdb6f367662a10c6b022b297ea59fb168a8a62c18da3ed7947c76b23f5c95c73cc8785de6a07e56e4516b SHA512 7734e80461d2deb7bd440f7de41ebf9e86bdbdf49a29b23e59e4ebe3786cd683db6ac7159e9fc4eaabf6ff37cef01949c791911b4c3df1899c869e71c9e4323e
+EBUILD solo-python-0.0.31.ebuild 1142 BLAKE2B fd7f4cdd273b910a68637ecabc16dd08465c7d440926f96d4b5b4ec398bdd7ba61025a74c3f78bdd622333fb31f4bb4f8db080fdc19bb9eb1868dc325580eba1 SHA512 43d32ffdff81d0d31a67fb0ca5e78af834e1cb7996c0ccd42e12564958d4dab4511c61140588a3129c4ae931ea445d4e7f63240ce96ccbbe935a90b7b4b82830
+MISC metadata.xml 699 BLAKE2B 5f330f4e497c90f563c2171d6297c2c989885e93140d49e96f97d7cf560bcba67aa30b4de5345cbb9abf49e4ac41fad57985070421f736e28ea9dedbd2a00c76 SHA512 c10d907f43f3646c7f5ddb81aad69f294ad068d185abd9e81ee03fa6d0a8005af7e002a015d89dd2ce66065c46d032249670e059b4eeb38ff0c242449d98a509
diff --git a/sys-auth/solo-python/metadata.xml b/sys-auth/solo-python/metadata.xml
index 36357e473852..d5ab884af31c 100644
--- a/sys-auth/solo-python/metadata.xml
+++ b/sys-auth/solo-python/metadata.xml
@@ -13,6 +13,6 @@
<stabilize-allarches/>
<upstream>
<remote-id type="github">solokeys/solo-python</remote-id>
- <remote-id type="pypi">solo</remote-id>
+ <remote-id type="pypi">solo-python</remote-id>
</upstream>
</pkgmetadata>
diff --git a/sys-auth/solo-python/solo-python-0.0.31.ebuild b/sys-auth/solo-python/solo-python-0.0.31.ebuild
new file mode 100644
index 000000000000..cdac36e7295b
--- /dev/null
+++ b/sys-auth/solo-python/solo-python-0.0.31.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+
+inherit distutils-r1
+
+DESCRIPTION="Python tool and library for SoloKeys"
+HOMEPAGE="https://github.com/solokeys/solo-python"
+SRC_URI="https://github.com/solokeys/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND=">=dev-python/click-7.1.0[${PYTHON_USEDEP}]
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/ecdsa[${PYTHON_USEDEP}]
+ >=dev-python/fido2-0.9.1[${PYTHON_USEDEP}]
+ dev-python/intelhex[${PYTHON_USEDEP}]
+ dev-python/pyserial[${PYTHON_USEDEP}]
+ dev-python/pyusb[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]"
+
+src_prepare() {
+ # For some reason the version file gets omitted by src_install (a bug in pyproject2setuppy?),
+ # and in any case there is no advantage to using one once a specific version has been released.
+ sed -i -e "s/^__version__ = open(.\+$/__version__ = '${PV}'/" solo/__init__.py || die "Failed to set the version number"
+ distutils-r1_src_prepare
+}