Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2020 07:31:28 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r542478 - in head/graphics: . py-zbar-py
Message-ID:  <202007180731.06I7VStl074712@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sat Jul 18 07:31:28 2020
New Revision: 542478
URL: https://svnweb.freebsd.org/changeset/ports/542478

Log:
  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/

Added:
  head/graphics/py-zbar-py/
  head/graphics/py-zbar-py/Makefile   (contents, props changed)
  head/graphics/py-zbar-py/distinfo   (contents, props changed)
  head/graphics/py-zbar-py/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sat Jul 18 03:20:36 2020	(r542477)
+++ head/graphics/Makefile	Sat Jul 18 07:31:28 2020	(r542478)
@@ -891,6 +891,7 @@
     SUBDIR += py-webcolors
     SUBDIR += py-willow
     SUBDIR += py-yaswfp
+    SUBDIR += py-zbar-py
     SUBDIR += pymorph
     SUBDIR += qcomicbook
     SUBDIR += qcustomplot-qt5

Added: head/graphics/py-zbar-py/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-zbar-py/Makefile	Sat Jul 18 07:31:28 2020	(r542478)
@@ -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>

Added: head/graphics/py-zbar-py/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-zbar-py/distinfo	Sat Jul 18 07:31:28 2020	(r542478)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1594988085
+SHA256 (zbar-py-1.0.4.tar.gz) = 8f90fa36480f50109a8555a3e4debed69f70d8085545fd413190ae21a1455466
+SIZE (zbar-py-1.0.4.tar.gz) = 543874

Added: head/graphics/py-zbar-py/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-zbar-py/pkg-descr	Sat Jul 18 07:31:28 2020	(r542478)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007180731.06I7VStl074712>