From ecd94554ff8f853f3e013823e1594c87ead0d9b1 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Tue, 10 Oct 2017 22:43:34 +0100 Subject: dev-python/hidapi: Switch to pypi Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- dev-python/hidapi/Manifest | 1 + dev-python/hidapi/hidapi-0.7.99_p20.ebuild | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 dev-python/hidapi/Manifest (limited to 'dev-python') diff --git a/dev-python/hidapi/Manifest b/dev-python/hidapi/Manifest new file mode 100644 index 00000000..ef97da10 --- /dev/null +++ b/dev-python/hidapi/Manifest @@ -0,0 +1 @@ +DIST hidapi-0.7.99.post20.tar.gz 51283 SHA512 37e463ad206180f7dcf752757446b6650fde5b7226233a7cd2d5d932a95c81dfdef422036e0a0e8fde5e5f28caeaf3e96a0b8f7d88c9bfafb82fd98b5349860d WHIRLPOOL 66fa5b56cae6c5e329473e568cb900fea28502cd55cfe33fe0fe034d5b230b02ce7508e7cd6c96ec70c8a2a64fe65020942d3a5ddb4c84af6b239ea803dbc42d diff --git a/dev-python/hidapi/hidapi-0.7.99_p20.ebuild b/dev-python/hidapi/hidapi-0.7.99_p20.ebuild index 9d759332..e6c7ee8a 100644 --- a/dev-python/hidapi/hidapi-0.7.99_p20.ebuild +++ b/dev-python/hidapi/hidapi-0.7.99_p20.ebuild @@ -4,13 +4,13 @@ EAPI=6 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) -inherit git-r3 distutils-r1 +inherit distutils-r1 -DESCRIPTION="Python wrapper for the dev-libs/hidapi" +MY_P="${P/_p/.post}" + +DESCRIPTION="Python wrapper for dev-libs/hidapi" HOMEPAGE="https://trezor.io" -EGIT_REPO_URI="https://github.com/trezor/cython-hidapi.git" -EGIT_COMMIT="505b20dd90fcf741dbf02ec6627c502567b289fd" -EGIT_SUBMODULES=() +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" LICENSE="GPL-3" SLOT="0" @@ -22,6 +22,8 @@ RDEPEND="dev-libs/hidapi DEPEND="${RDEPEND} >=dev-python/cython-0.24.0" +S="${WORKDIR}/${MY_P}" + src_configure() { mydistutilsargs=( --with-system-hidapi -- cgit v1.2.3