mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/pyinsane: switch to pypi releases
Update metadata links Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user