summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-03-15 18:54:47 +0100
committerMichał Górny <mgorny@gentoo.org>2022-03-15 19:24:31 +0100
commitb2dd4965f20f8c01e068226d4cabbed30e396ea7 (patch)
tree1d0251a6857d8201fff3b251f89a2620f1c786fc /dev-python/pyzbar
parentdev-python/notebook: Bump to 6.4.10 (diff)
downloadgentoo-b2dd4965f20f8c01e068226d4cabbed30e396ea7.tar.gz
gentoo-b2dd4965f20f8c01e068226d4cabbed30e396ea7.tar.bz2
gentoo-b2dd4965f20f8c01e068226d4cabbed30e396ea7.zip
dev-python/pyzbar: Bump to 0.1.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyzbar')
-rw-r--r--dev-python/pyzbar/Manifest1
-rw-r--r--dev-python/pyzbar/pyzbar-0.1.9.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pyzbar/Manifest b/dev-python/pyzbar/Manifest
index bdb48a3f9688..11428eb1083a 100644
--- a/dev-python/pyzbar/Manifest
+++ b/dev-python/pyzbar/Manifest
@@ -1 +1,2 @@
DIST pyzbar-0.1.8.tar.gz 41562 BLAKE2B 3aafe745025ba542c3943956f635ba2737f78683447402d3c166217d1c18ba6d9debb170e04aacd611b53401cabc62dd0533ec72cef82ddcd454a1d6c026c3c1 SHA512 e186c7a2f29ec107f66b87a2901e128291747ef7a2159675f3170aef2a3a4b1f4cb4319da830d577c986e20abb3f2935e005361cc98857b0e1b880fb4cf40233
+DIST pyzbar-0.1.9.tar.gz 45793 BLAKE2B 205c4cdabecb0c59c78bd3e901bd8348a8648c6c6b48afed5f71883c8ec438047843752269f273ca277ce87f3831e1873f859501df7bdc24834fe2b667922fed SHA512 f9fe774400ed6428bc78a428bd1b7847d5c6d557ea8637125348708f0641b36eceabe69362302c3d8658cf2186ee836c3bfc207fa800a6d03581375c251227e8
diff --git a/dev-python/pyzbar/pyzbar-0.1.9.ebuild b/dev-python/pyzbar/pyzbar-0.1.9.ebuild
new file mode 100644
index 000000000000..392a1f427c68
--- /dev/null
+++ b/dev-python/pyzbar/pyzbar-0.1.9.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+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"
+
+RDEPEND="
+ dev-python/pillow[${PYTHON_USEDEP}]
+ media-gfx/zbar
+"
+
+BDEPEND="
+ test? (
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest