summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2020-04-21 22:08:04 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2020-04-25 15:13:50 +0100
commit7c68bf22a9667f6e6b2349d436675a1a4711c9ac (patch)
tree109135a73636df3e7362c398f0d508df3ad44574
parentnet-p2p/kovri: version bump (diff)
downloadportage-7c68bf22a9667f6e6b2349d436675a1a4711c9ac.tar.xz
dev-python/shamir-mnemonic: Shamir's Secret-Sharing for Mnemonic Codes
Package-Manager: Portage-2.3.89, Repoman-2.3.20
-rw-r--r--dev-python/shamir-mnemonic/Manifest1
-rw-r--r--dev-python/shamir-mnemonic/metadata.xml8
-rw-r--r--dev-python/shamir-mnemonic/shamir-mnemonic-0.1.0.ebuild24
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/shamir-mnemonic/Manifest b/dev-python/shamir-mnemonic/Manifest
new file mode 100644
index 00000000..8b0e6cc9
--- /dev/null
+++ b/dev-python/shamir-mnemonic/Manifest
@@ -0,0 +1 @@
+DIST shamir-mnemonic-0.1.0.tar.gz 21024 BLAKE2B e9d981221a5b6a4b7c9cca4cd292b965deeb546f3f86892d19501688088378fd96e494400795fb1bce8ecc57b63c9d9c16bbe2d8f4ed3f5634b9ba9d7906d165 SHA512 63c8ab8fd758c0088194ea37bc68f2cffaa2f6da63fdb41e281ac4aa7accfe194d4477204bac8241a5259d02c96c49cfe049c743882a0318bfb878380ef88dcf
diff --git a/dev-python/shamir-mnemonic/metadata.xml b/dev-python/shamir-mnemonic/metadata.xml
new file mode 100644
index 00000000..82f7232e
--- /dev/null
+++ b/dev-python/shamir-mnemonic/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bertrand@jacquin.bzh</email>
+ <name>Bertrand Jacquin</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/shamir-mnemonic/shamir-mnemonic-0.1.0.ebuild b/dev-python/shamir-mnemonic/shamir-mnemonic-0.1.0.ebuild
new file mode 100644
index 00000000..5ee262c3
--- /dev/null
+++ b/dev-python/shamir-mnemonic/shamir-mnemonic-0.1.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
+inherit distutils-r1
+
+DESCRIPTION="Shamir's Secret-Sharing for Mnemonic Codes"
+HOMEPAGE="https://github.com/trezor/python-shamir-mnemonic"
+SRC_URI="https://github.com/trezor/python-shamir-mnemonic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-python/attrs[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/colorama[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}/python-${P}"