From owner-svn-ports-head@freebsd.org Sat Jul 18 07:31:29 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AD5323601A3; Sat, 18 Jul 2020 07:31:29 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B806T44gtz3xwJ; Sat, 18 Jul 2020 07:31:29 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 70DEA26CDD; Sat, 18 Jul 2020 07:31:29 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06I7VTQt074715; Sat, 18 Jul 2020 07:31:29 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06I7VStl074712; Sat, 18 Jul 2020 07:31:28 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <202007180731.06I7VStl074712@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Sat, 18 Jul 2020 07:31:28 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: in head/graphics: . py-zbar-py X-SVN-Commit-Revision: 542478 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2020 07:31:29 -0000 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 +# $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 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/