diff options
-rw-r--r-- | app-crypt/trezorctl/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/trezorctl/metadata.xml | 8 | ||||
-rw-r--r-- | app-crypt/trezorctl/trezorctl-0.7.16.ebuild | 30 |
3 files changed, 39 insertions, 0 deletions
diff --git a/app-crypt/trezorctl/Manifest b/app-crypt/trezorctl/Manifest new file mode 100644 index 00000000..0d187247 --- /dev/null +++ b/app-crypt/trezorctl/Manifest @@ -0,0 +1 @@ +DIST trezorctl-0.7.16.tar.gz 111602 SHA512 2b91a72228cb6ffa13bb46fec58474d37ace6c774855f5b82dc9cf68ca6f0fbe1c5a61827851282c8d0eee9719adf9a25e05ce93cff34238bbc8d0abb317102e WHIRLPOOL 9ed9193d10d5a9e32db141a872e4e4a218674cc214dd03624dd11d86eec1346333cf14f9df63e5ca58abc3cd8ec919a7ac61ef5d3454bfc720d7ebc7582025e1 diff --git a/app-crypt/trezorctl/metadata.xml b/app-crypt/trezorctl/metadata.xml new file mode 100644 index 00000000..82f7232e --- /dev/null +++ b/app-crypt/trezorctl/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/app-crypt/trezorctl/trezorctl-0.7.16.ebuild b/app-crypt/trezorctl/trezorctl-0.7.16.ebuild new file mode 100644 index 00000000..fc9e6bb8 --- /dev/null +++ b/app-crypt/trezorctl/trezorctl-0.7.16.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +inherit distutils-r1 bash-completion-r1 + +DESCRIPTION="Client side implementation for TREZOR-compatible Bitcoin hardware wallets" +HOMEPAGE="https://trezor.io/" +SRC_URI="https://github.com/trezor/python-trezor/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-python/ecdsa-0.9[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.1.0[${PYTHON_USEDEP}] + >=dev-python/mnemonic-0.17[${PYTHON_USEDEP}] + >=dev-python/hidapi-0.7.99_p20[${PYTHON_USEDEP}] + >=dev-python/requests-2.4.0[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/python-trezor-${PV}" + +python_install_all() { + newbashcomp bash_completion.d/trezorctl.sh "${PN}" + distutils-r1_python_install_all +} |