summaryrefslogtreecommitdiff
path: root/dev-python/pyinsane
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyinsane
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyinsane')
-rw-r--r--dev-python/pyinsane/Manifest7
-rw-r--r--dev-python/pyinsane/metadata.xml20
-rw-r--r--dev-python/pyinsane/pyinsane-2.0.10.ebuild30
-rw-r--r--dev-python/pyinsane/pyinsane-2.0.9.ebuild28
4 files changed, 85 insertions, 0 deletions
diff --git a/dev-python/pyinsane/Manifest b/dev-python/pyinsane/Manifest
new file mode 100644
index 000000000000..405883dfb5ba
--- /dev/null
+++ b/dev-python/pyinsane/Manifest
@@ -0,0 +1,7 @@
+DIST pyinsane-2.0.10.tar.gz 327159 SHA256 6c1067ebc8a0f501c73208b3560013cbd5cb3af05dafd96e878776eaa314a3b3 SHA512 bb882ab51c1e6cea7cad75851ffe5918ee08467d4772d27c23a0c5ec9f2dea3ee7d83601ae35e56e2f717ff7683cec5a45aa47b2a4e167fe4dddb9db3229a3b1 WHIRLPOOL 41fadf8b7e38e0ea938e0ee3b933ece383902ca71f00289398f4cfc054c8ebc7b15f1cf49a7ca2b1397bdd2332b7828fd2da059308c65147c6110dec74e748e9
+DIST pyinsane-2.0.9.tar.gz 325576 SHA256 ffb90c9bbad17182c9f0cb354dd7a898aba5f821628462f9e7a92837f837fd85 SHA512 e882e237ce6c0e7a5055633b79814115e104d4ef0c417fdfff8f3bcac92527f432b3cab96c018445ae40455bb93fc5ef71d5e8cff1977878d1f09c0b121dfa2b WHIRLPOOL 9e0f2f86ba445f74d58d6645f689b5edaf743170aa521ff8c2086f3f18acf21f473d5c83582126540bfb033b93cdebe3eb4e56fb610b2eda12711fd6271d901c
+EBUILD pyinsane-2.0.10.ebuild 851 SHA256 7ca7e55156b4604bd9d757cde44f4db1206f747958ffca7509ad3cbb463ff05b SHA512 14f5240f6080be599afe2cc902f4ee133adeb21292978024f132af70cffe69a069fff6527db1f4fc4fe5204425906e708f51f131dec38de74ad8a3d36ac9e649 WHIRLPOOL 308958dd567915bb38c1a6ab4ff218bed6997cf66e74e75f0c88e8e8d186572c726519145cd2bb7f25e6ee195ba2343a4eec4308dc22163bc3600abf4f7dd302
+EBUILD pyinsane-2.0.9.ebuild 759 SHA256 d47e1583b583773e442cb59d5aaed29ed7e0aa211b3b4d608a903f306c3a1b10 SHA512 86117866d517e0e9efdb5f4420c49d8a6bd9c2c726c855ee418596ee5f7246a25cf78b14f617dc097c4f9400a47432dd233d60a6a124f6da719ea49a88b29cb1 WHIRLPOOL c6d9093157b1acb7226e8f0c35aeb239262f65ee070219ef67629b83f5ad5253d474b6b183f247bdde8e35a6acff324aba0db54ffbc4c24c35cd93943fe3d34a
+MISC ChangeLog 3389 SHA256 be88ddede8462b3b2189958d7ae522d6949362ba985089eecd686f944751cf64 SHA512 a62afff6ae6c243cbb642a3682ed1b6902d35a9638c3a1c468cbc38415ae1d17a054a5fd92e1cb8f2d1628082bca4f37dac2dd7bd67fa7db1581e419c251a64e WHIRLPOOL 43fdbfb4d4007f3372c624c7b262597d2148f372e69fc36a6aa0a1482a66c6c754823f3b4fa5e59f6fe62bdb75006e2a2eecab1f71996e6133ec4fe2eddb894d
+MISC ChangeLog-2015 582 SHA256 582ed0b7df6a31ecd20e6899312a5454656b15e2bfc7869be4cdafceca69f2ab SHA512 6c3265706dce19c6353b2c5ec275015c7fe20700f06da3a00d9c2facc89d3a5f3b535413d41e48a296b8656b60c9cb42efae15ee1cc3a22bd1b8cf356f19d258 WHIRLPOOL 4cc6732d089462294931f67586a59cae73e4a4259b84b0156adc514f5b8d3baa51ad0ae893fe8901816dc8b9d8286539a51679ca21a03b19fe3adacd2f4b0b18
+MISC metadata.xml 921 SHA256 dc506e95113d6caf5c4c66f17496433bc66c6c477a59b61a2861cfecbf270826 SHA512 5f7247aed15fb530cda752989621d2d806dc25f48dbf04ad34115f2d90b0c32f3209bfd7acf6478545e4f52cb3eb5bb97a1e8cff49abefc5ab9cddefdc49f1a9 WHIRLPOOL eb4027eb980e40688d45e00ba53a1a696b8fabe05e8b00450a7849ca295433cc59d81cc664446efb1e4a69f5bea87f10d25677cbf46daddca32f6aa1e8ef28f2
diff --git a/dev-python/pyinsane/metadata.xml b/dev-python/pyinsane/metadata.xml
new file mode 100644
index 000000000000..5682d1ca1823
--- /dev/null
+++ b/dev-python/pyinsane/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <longdescription lang="en">
+Python implementation of the Sane API (using ctypes) and abstration layer.
+
+The code is divided in 3 layers:
+
+ * rawapi : Ctypes binding to the raw Sane API
+ * abstract : An Object-Oriented layer that simplifies the use of the Sane API and try to avoid possible misuse of the Sane API. When scanning, it also takes care of returning a Pillow image.
+ * 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="github">openpaperwork/pyinsane</remote-id>
+ </upstream>
+</pkgmetadata>
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..5eb8db203937
--- /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,3_6} )
+
+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
+}
diff --git a/dev-python/pyinsane/pyinsane-2.0.9.ebuild b/dev-python/pyinsane/pyinsane-2.0.9.ebuild
new file mode 100644
index 000000000000..02c2710c8c1a
--- /dev/null
+++ b/dev-python/pyinsane/pyinsane-2.0.9.ebuild
@@ -0,0 +1,28 @@
+# 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/jflesch/pyinsane"
+SRC_URI="https://github.com/jflesch/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" -i setup.py || die
+ distutils-r1_python_prepare_all
+}