graphics/py-pyzbar: New port

Read one-dimensional barcodes and qr codes from python 2 and 3
This commit is contained in:
Michael Gmelin 2024-02-12 12:20:11 +01:00
parent d32f571395
commit 3e2f2da58e
4 changed files with 29 additions and 0 deletions

View File

@ -954,6 +954,7 @@
SUBDIR += py-pyvips
SUBDIR += py-pyvista
SUBDIR += py-pyx
SUBDIR += py-pyzbar
SUBDIR += py-qpageview
SUBDIR += py-qrencode
SUBDIR += py-qt6-3d

View File

@ -0,0 +1,23 @@
PORTNAME= pyzbar
PORTVERSION= 0.1.9
DISTVERSIONPREFIX= v
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= grembo@FreeBSD.org
COMMENT= Read one-dimensional barcodes and qr codes from python 2 and 3
WWW= https://github.com/NaturalHistoryMuseum/pyzbar
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libzbar.so:graphics/zbar
USES= python
USE_GITHUB= yes
GH_ACCOUNT= NaturalHistoryMuseum
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1707593195
SHA256 (NaturalHistoryMuseum-pyzbar-v0.1.9_GH0.tar.gz) = 6b84ec4c1f36df590c65b610a7757ef8829f202a7df210d2891e6592a8bee8bb
SIZE (NaturalHistoryMuseum-pyzbar-v0.1.9_GH0.tar.gz) = 45793

View File

@ -0,0 +1,2 @@
Read one-dimensional barcodes and QR codes from Python 2 and 3
using the zbar library.