1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

zbar-py is a module that provides an interface to the zbar bar-code reading

library, which can read most barcode formats as well as QR codes. Input images
must be 2D numpy arrays of type uint8 (i.e. 2D greyscale images).

WWW: https://pypi.org/project/zbar-py/
This commit is contained in:
Emanuel Haupt 2020-07-18 07:31:28 +00:00
parent 82a90f9691
commit d59e12e9b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542478
4 changed files with 34 additions and 0 deletions

View File

@ -891,6 +891,7 @@
SUBDIR += py-webcolors
SUBDIR += py-willow
SUBDIR += py-yaswfp
SUBDIR += py-zbar-py
SUBDIR += pymorph
SUBDIR += qcomicbook
SUBDIR += qcustomplot-qt5

View File

@ -0,0 +1,25 @@
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= zbar-py
PORTVERSION= 1.0.4
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Interface to the zbar bar-code reading library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libzbar.so:graphics/zbar
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
USES= iconv:wchar_t python
USE_PYTHON= autoplist distutils
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/zbar/_zbar.so
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1594988085
SHA256 (zbar-py-1.0.4.tar.gz) = 8f90fa36480f50109a8555a3e4debed69f70d8085545fd413190ae21a1455466
SIZE (zbar-py-1.0.4.tar.gz) = 543874

View File

@ -0,0 +1,5 @@
zbar-py is a module that provides an interface to the zbar bar-code reading
library, which can read most barcode formats as well as QR codes. Input images
must be 2D numpy arrays of type uint8 (i.e. 2D greyscale images).
WWW: https://pypi.org/project/zbar-py/