diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2018-04-09 12:01:42 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2018-04-09 12:15:15 +0200 |
commit | ea401cb1048866cefe4ab8b110ec66cec8aceaa0 (patch) | |
tree | 43eb41b8895fc6f0f21479afb05c0185d423acdb /dev-python/pyinsane | |
parent | dev-python/libpillowfight: switch to pypi releases (diff) | |
download | gentoo-ea401cb1048866cefe4ab8b110ec66cec8aceaa0.tar.gz gentoo-ea401cb1048866cefe4ab8b110ec66cec8aceaa0.tar.bz2 gentoo-ea401cb1048866cefe4ab8b110ec66cec8aceaa0.zip |
dev-python/pyinsane: switch to pypi releases
Update metadata links
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'dev-python/pyinsane')
-rw-r--r-- | dev-python/pyinsane/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyinsane/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/pyinsane/pyinsane-2.0.12-r1.ebuild (renamed from dev-python/pyinsane/pyinsane-2.0.12.ebuild) | 9 |
3 files changed, 7 insertions, 5 deletions
diff --git a/dev-python/pyinsane/Manifest b/dev-python/pyinsane/Manifest index 25b964bc6884..6881adbaf6b5 100644 --- a/dev-python/pyinsane/Manifest +++ b/dev-python/pyinsane/Manifest @@ -1,2 +1,2 @@ DIST pyinsane-2.0.10.tar.gz 327159 BLAKE2B ae63e08fc557513ccac0633fac47bb29b3c8a023c481289ec60724f5fcdae0827e02d5f37d3f104d454ebcb1d1a7681248866461bce6201f056c988f858aa0d3 SHA512 bb882ab51c1e6cea7cad75851ffe5918ee08467d4772d27c23a0c5ec9f2dea3ee7d83601ae35e56e2f717ff7683cec5a45aa47b2a4e167fe4dddb9db3229a3b1 -DIST pyinsane-2.0.12.tar.gz 333115 BLAKE2B 9f0e557fe597acd34755868b90505ba77b79e883ceefda7709712c7ef9f5bdc4429e4b848520a3997948fb2a3f94096b5364acd4cdfbc3f0c9ec8bc364dfd243 SHA512 284508ce88d2619ba59b3cda56e2e2fa74d8db5ef5ef490ab93d0b14592ed6f2a6574f7dd108ccb23dc69d6d90701146cf42cf8ebf0fb56d1755e4c86df9fe86 +DIST pyinsane2-2.0.12.tar.gz 56107 BLAKE2B 81085e414f162c4fe3623e05b904c35864b95c8ceb5aa25cb92aa87086d4ee44f9f1bea58239373217e93793bfba0d8bb894ab75d69d6c213741cf6e53721284 SHA512 72fc87d5c7eab078f4a9694569c5759046587a8439820fadfe1b8899b7445e063f9fc2f3e93a86b1f9329f729466a5e19b86e46c128caf9ac8b143cfd9e17817 diff --git a/dev-python/pyinsane/metadata.xml b/dev-python/pyinsane/metadata.xml index 5682d1ca1823..81b6fe8da176 100644 --- a/dev-python/pyinsane/metadata.xml +++ b/dev-python/pyinsane/metadata.xml @@ -15,6 +15,7 @@ The code is divided in 3 layers: * abstract_th : The Sane API is not thread-safe and cannot be used in a multi-threaded environment easily. This layer solves this problem by using a fully dedicated thread. </longdescription> <upstream> + <remote-id type="pypi">pyinsane2</remote-id> <remote-id type="github">openpaperwork/pyinsane</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pyinsane/pyinsane-2.0.12.ebuild b/dev-python/pyinsane/pyinsane-2.0.12-r1.ebuild index 49ee194e7e56..c1235e64b984 100644 --- a/dev-python/pyinsane/pyinsane-2.0.12.ebuild +++ b/dev-python/pyinsane/pyinsane-2.0.12-r1.ebuild @@ -6,9 +6,11 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) inherit distutils-r1 +MY_PN="${PN}2" + DESCRIPTION="Python implementation of the Sane API and abstration layer" HOMEPAGE="https://github.com/openpaperwork/pyinsane" -SRC_URI="https://github.com/openpaperwork/pyinsane/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" LICENSE="GPL-3" SLOT="2" @@ -22,11 +24,10 @@ DEPEND="${RDEPEND} RESTRICT="test" # Tests require at least one scanner with a flatbed and an ADF +S=${WORKDIR}/${MY_PN}-${PV} + python_prepare_all() { sed -e "/'nose>=1.0'/d" \ -i setup.py || die distutils-r1_python_prepare_all - - # Upstream Makefile requires git checkout - echo "version = \"${PV}\"" > pyinsane2/_version.py || die } |