summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-07-25 11:54:49 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2017-07-25 13:25:32 +0200
commit8b99cc747f124c15d29f07d0bc4006992edb3bd4 (patch)
tree03870f0d104af0d802e959925a5628f1a416f7f7 /dev-python/pyinsane
parentdev-lang/crystal: bump up to 0.23.1, bug #626114 (diff)
downloadgentoo-8b99cc747f124c15d29f07d0bc4006992edb3bd4.tar.gz
gentoo-8b99cc747f124c15d29f07d0bc4006992edb3bd4.tar.bz2
gentoo-8b99cc747f124c15d29f07d0bc4006992edb3bd4.zip
dev-python/pyinsane: 2.0.10 bump
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-python/pyinsane')
-rw-r--r--dev-python/pyinsane/Manifest1
-rw-r--r--dev-python/pyinsane/pyinsane-2.0.10.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pyinsane/Manifest b/dev-python/pyinsane/Manifest
index 770c862ed513..c7df988ec784 100644
--- a/dev-python/pyinsane/Manifest
+++ b/dev-python/pyinsane/Manifest
@@ -1,3 +1,4 @@
DIST pyinsane-1.4.0.tar.gz 303703 SHA256 e0ba69440f366854c26cb4661bf08fdce95eefa4b99a461c5e8d057909210f55 SHA512 ed56f996174be0ab45cae1380eacb0439b0d0549ea6b2e3c34667a2841822412dc99782d7bba7eaae71b70179f0e3cd5039d38e751ac0598562d68eea1aa8ec8 WHIRLPOOL 48204a0f7b66e8e21b010c3efc8fbcaefd6451bb19a5800e687e3c177b41a149f5b1adc9cdf71e7ce1f16288d2e696061bd028b4e1dce0ae5cf8f739c59de017
+DIST pyinsane-2.0.10.tar.gz 327159 SHA256 6c1067ebc8a0f501c73208b3560013cbd5cb3af05dafd96e878776eaa314a3b3 SHA512 bb882ab51c1e6cea7cad75851ffe5918ee08467d4772d27c23a0c5ec9f2dea3ee7d83601ae35e56e2f717ff7683cec5a45aa47b2a4e167fe4dddb9db3229a3b1 WHIRLPOOL 41fadf8b7e38e0ea938e0ee3b933ece383902ca71f00289398f4cfc054c8ebc7b15f1cf49a7ca2b1397bdd2332b7828fd2da059308c65147c6110dec74e748e9
DIST pyinsane-2.0.7.tar.gz 323240 SHA256 e6a75f8ed0800c6be53f53cceecef70728f915f488138f4e612dd1e6e7e82374 SHA512 8b6f3325c4ca63e18e0fd5cd808fce701186548a13202d8a0c9a6b8106e8995c9cecf4107aa2225207a4e25b7b7720e2bd7bab4171d372c2ff9301dd129b7ec7 WHIRLPOOL 2a6b93734d3d9108093edea5ee6364488a0a80a3f7cd935b208593eae4e6bee280d18a705236f20ea3c9d8f4ac76e9e10348280938b893f4f9009e1d77b26424
DIST pyinsane-2.0.9.tar.gz 325576 SHA256 ffb90c9bbad17182c9f0cb354dd7a898aba5f821628462f9e7a92837f837fd85 SHA512 e882e237ce6c0e7a5055633b79814115e104d4ef0c417fdfff8f3bcac92527f432b3cab96c018445ae40455bb93fc5ef71d5e8cff1977878d1f09c0b121dfa2b WHIRLPOOL 9e0f2f86ba445f74d58d6645f689b5edaf743170aa521ff8c2086f3f18acf21f473d5c83582126540bfb033b93cdebe3eb4e56fb610b2eda12711fd6271d901c
diff --git a/dev-python/pyinsane/pyinsane-2.0.10.ebuild b/dev-python/pyinsane/pyinsane-2.0.10.ebuild
new file mode 100644
index 000000000000..53eb32c51fba
--- /dev/null
+++ b/dev-python/pyinsane/pyinsane-2.0.10.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} )
+
+inherit distutils-r1
+
+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"
+
+LICENSE="GPL-3"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="media-gfx/sane-backends
+ dev-python/pillow[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+RESTRICT="test" # Tests require at least one scanner with a flatbed and an ADF
+
+python_prepare_all() {
+ sed -e "/'nose>=1.0'/d" \
+ -e "s/find_packages()/find_packages(exclude=['examples','tests'])/" \
+ -i setup.py || die
+ distutils-r1_python_prepare_all
+}