summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Martynov <email@linxon.ru>2020-01-23 14:22:14 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-01-24 08:54:34 +0200
commitc12f279e5f29b25508f8d28d45bd3b23e460619a (patch)
treedf58d66276bd357f6acb7b4d85bb018a6668b0fa /dev-python/pyzbar
parentdev-python/elasticsearch-py: add missing die to 7.5.1 (diff)
downloadgentoo-c12f279e5f29b25508f8d28d45bd3b23e460619a.tar.gz
gentoo-c12f279e5f29b25508f8d28d45bd3b23e460619a.tar.bz2
gentoo-c12f279e5f29b25508f8d28d45bd3b23e460619a.zip
dev-python/pyzbar: bump version to 0.1.8
Closes: https://bugs.gentoo.org/696660 Package-Manager: Portage-2.3.84, Repoman-2.3.16 Signed-off-by: Yury Martynov <email@linxon.ru> Closes: https://github.com/gentoo/gentoo/pull/14419 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/pyzbar')
-rw-r--r--dev-python/pyzbar/Manifest1
-rw-r--r--dev-python/pyzbar/pyzbar-0.1.8.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pyzbar/Manifest b/dev-python/pyzbar/Manifest
index c9e8cffa681d..071bb5c6cc52 100644
--- a/dev-python/pyzbar/Manifest
+++ b/dev-python/pyzbar/Manifest
@@ -1,2 +1,3 @@
DIST pyzbar-0.1.5.tar.gz 29654 BLAKE2B 2909ccae347139472398ccbf24ab304084946f649694e820bb62f8298076007ac7cb02acf02087e3ed5d59fb8a32f1f6b61b0af50a85753b0dd182029e98bc5c SHA512 785c3e4cc5b44a1035004e4b4dd2ee538613aa021300b84c6183cc457c751fe4b4a419241608ef0e5e548d312596a0d5f4857a7b1388c6cef77fd021a0e0034a
DIST pyzbar-0.1.7.tar.gz 41551 BLAKE2B 497e920935ec6a50557123e2d78709c935284bfcff32705f8aebad3e13ead4ced7d6822adc8f377a94eb21603f81ddc4f563df9bc92b399e6244a9dee12f2163 SHA512 74b56658db7a8dc2d7a716992c001ec52a2befc9e31c41ecf7e5e1f277d4188963ef79a2433fc4befdd15d2f6e3f47c4f064582b530eef028c55e07e2c88dbbe
+DIST pyzbar-0.1.8.tar.gz 41562 BLAKE2B 3aafe745025ba542c3943956f635ba2737f78683447402d3c166217d1c18ba6d9debb170e04aacd611b53401cabc62dd0533ec72cef82ddcd454a1d6c026c3c1 SHA512 e186c7a2f29ec107f66b87a2901e128291747ef7a2159675f3170aef2a3a4b1f4cb4319da830d577c986e20abb3f2935e005361cc98857b0e1b880fb4cf40233
diff --git a/dev-python/pyzbar/pyzbar-0.1.8.ebuild b/dev-python/pyzbar/pyzbar-0.1.8.ebuild
new file mode 100644
index 000000000000..ce26eac62812
--- /dev/null
+++ b/dev-python/pyzbar/pyzbar-0.1.8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Read one-dimensional barcodes and QR codes from Python"
+HOMEPAGE="https://github.com/NaturalHistoryMuseum/pyzbar/"
+SRC_URI="https://github.com/NaturalHistoryMuseum/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/pillow[${PYTHON_USEDEP}]
+ media-gfx/zbar
+ virtual/python-enum34[${PYTHON_USEDEP}]
+ virtual/python-pathlib[${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ virtual/python-unittest-mock[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest