From 8b99cc747f124c15d29f07d0bc4006992edb3bd4 Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Tue, 25 Jul 2017 11:54:49 +0200 Subject: dev-python/pyinsane: 2.0.10 bump Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- dev-python/pyinsane/pyinsane-2.0.10.ebuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dev-python/pyinsane/pyinsane-2.0.10.ebuild (limited to 'dev-python/pyinsane/pyinsane-2.0.10.ebuild') 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 +} -- cgit v1.2.3-65-gdbad