Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyinsane/
Date: Thu, 22 Mar 2018 13:39:23
Message-Id: 1521725953.943752b62a1d65552519e795a1e3b5546f9ba847.voyageur@gentoo
1 commit: 943752b62a1d65552519e795a1e3b5546f9ba847
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 22 13:31:27 2018 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 22 13:39:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=943752b6
7
8 dev-python/pyinsane: 2.0.12 bump2.0.12 bump
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-python/pyinsane/Manifest | 1 +
13 dev-python/pyinsane/pyinsane-2.0.12.ebuild | 32 ++++++++++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/dev-python/pyinsane/Manifest b/dev-python/pyinsane/Manifest
17 index 3d5f801836a..25b964bc688 100644
18 --- a/dev-python/pyinsane/Manifest
19 +++ b/dev-python/pyinsane/Manifest
20 @@ -1 +1,2 @@
21 DIST pyinsane-2.0.10.tar.gz 327159 BLAKE2B ae63e08fc557513ccac0633fac47bb29b3c8a023c481289ec60724f5fcdae0827e02d5f37d3f104d454ebcb1d1a7681248866461bce6201f056c988f858aa0d3 SHA512 bb882ab51c1e6cea7cad75851ffe5918ee08467d4772d27c23a0c5ec9f2dea3ee7d83601ae35e56e2f717ff7683cec5a45aa47b2a4e167fe4dddb9db3229a3b1
22 +DIST pyinsane-2.0.12.tar.gz 333115 BLAKE2B 9f0e557fe597acd34755868b90505ba77b79e883ceefda7709712c7ef9f5bdc4429e4b848520a3997948fb2a3f94096b5364acd4cdfbc3f0c9ec8bc364dfd243 SHA512 284508ce88d2619ba59b3cda56e2e2fa74d8db5ef5ef490ab93d0b14592ed6f2a6574f7dd108ccb23dc69d6d90701146cf42cf8ebf0fb56d1755e4c86df9fe86
23
24 diff --git a/dev-python/pyinsane/pyinsane-2.0.12.ebuild b/dev-python/pyinsane/pyinsane-2.0.12.ebuild
25 new file mode 100644
26 index 00000000000..49ee194e7e5
27 --- /dev/null
28 +++ b/dev-python/pyinsane/pyinsane-2.0.12.ebuild
29 @@ -0,0 +1,32 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
35 +
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Python implementation of the Sane API and abstration layer"
39 +HOMEPAGE="https://github.com/openpaperwork/pyinsane"
40 +SRC_URI="https://github.com/openpaperwork/pyinsane/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="GPL-3"
43 +SLOT="2"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="test"
46 +
47 +RDEPEND="media-gfx/sane-backends
48 + dev-python/pillow[${PYTHON_USEDEP}]"
49 +DEPEND="${RDEPEND}
50 + test? ( dev-python/nose[${PYTHON_USEDEP}] )"
51 +
52 +RESTRICT="test" # Tests require at least one scanner with a flatbed and an ADF
53 +
54 +python_prepare_all() {
55 + sed -e "/'nose>=1.0'/d" \
56 + -i setup.py || die
57 + distutils-r1_python_prepare_all
58 +
59 + # Upstream Makefile requires git checkout
60 + echo "version = \"${PV}\"" > pyinsane2/_version.py || die
61 +}