From owner-svn-ports-all@freebsd.org Mon Jun 3 03:13:15 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8397D15C72C8; Mon, 3 Jun 2019 03:13:15 +0000 (UTC) (envelope-from koobs@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) server-signature RSA-PSS (4096 bits) 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 1784F8AF85; Mon, 3 Jun 2019 03:13:15 +0000 (UTC) (envelope-from koobs@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 E4F983E8; Mon, 3 Jun 2019 03:13:14 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x533DEEL086006; Mon, 3 Jun 2019 03:13:14 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x533DEGZ086000; Mon, 3 Jun 2019 03:13:14 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201906030313.x533DEGZ086000@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Mon, 3 Jun 2019 03:13:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503343 - in head/graphics: . py-pyqrcode X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: in head/graphics: . py-pyqrcode X-SVN-Commit-Revision: 503343 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1784F8AF85 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.93 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.94)[-0.935,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2019 03:13:15 -0000 Author: koobs Date: Mon Jun 3 03:13:13 2019 New Revision: 503343 URL: https://svnweb.freebsd.org/changeset/ports/503343 Log: [NEW] graphics/py-pyqrcode: Pure Python QR code generator with SVG, EPS, PNG and terminal output The pyqrcode module is a QR code generator that is simple to use and written in pure python. The module can automates most of the building process for creating QR codes. Most codes can be created using only two lines of code! Unlike other generators, all of the helpers can be controlled manually. You are free to set any or all of the properties of your QR code. QR codes can be saved as SVG, XBM, EPS, PNG (by using the pypng module), or plain text. They can also be displayed directly in most terminal emulators and Tkinter. PIL is not used to render the image files. The pyqrcode module attempts to follow the QR code standard as closely as possible. The terminology and the encodings used in pyqrcode come directly from the standard. This module also follows the algorithm laid out in the standard. WWW: https://github.com/mnooner256/pyqrcode Added: head/graphics/py-pyqrcode/ head/graphics/py-pyqrcode/Makefile (contents, props changed) head/graphics/py-pyqrcode/distinfo (contents, props changed) head/graphics/py-pyqrcode/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Mon Jun 3 02:59:10 2019 (r503342) +++ head/graphics/Makefile Mon Jun 3 03:13:13 2019 (r503343) @@ -866,6 +866,7 @@ SUBDIR += py-pyocr SUBDIR += py-pypillowfight SUBDIR += py-pyproj + SUBDIR += py-pyqrcode SUBDIR += py-pyqtgraph SUBDIR += py-python-poppler-qt5 SUBDIR += py-qt5-svg Added: head/graphics/py-pyqrcode/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-pyqrcode/Makefile Mon Jun 3 03:13:13 2019 (r503343) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= pyqrcode +PORTVERSION= 1.2.1 +CATEGORIES= graphics python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= Pure Python QR code generator with SVG, EPS, PNG and terminal output + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/License + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes # LICENSE_FILE/tests not packaged in sdist +USE_PYTHON= autoplist distutils + +GH_ACCOUNT= mnooner256 +GH_TAGNAME= 674a77b + +OPTIONS_DEFINE= PNG +OPTIONS_DEFAULT= PNG + +PNG_DESC= PNG output rendering support + +PNG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}png>=0.0.13:graphics/py-png@${PY_FLAVOR} + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v + +.include Added: head/graphics/py-pyqrcode/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-pyqrcode/distinfo Mon Jun 3 03:13:13 2019 (r503343) @@ -0,0 +1,3 @@ +TIMESTAMP = 1559457299 +SHA256 (mnooner256-pyqrcode-1.2.1-674a77b_GH0.tar.gz) = ebc3b17c0b244042c06d9b4db5b04afef62cb071cefc225c7271e8e7c5ec6295 +SIZE (mnooner256-pyqrcode-1.2.1-674a77b_GH0.tar.gz) = 63345 Added: head/graphics/py-pyqrcode/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-pyqrcode/pkg-descr Mon Jun 3 03:13:13 2019 (r503343) @@ -0,0 +1,17 @@ +The pyqrcode module is a QR code generator that is simple to use and written +in pure python. The module can automates most of the building process for +creating QR codes. Most codes can be created using only two lines of code! + +Unlike other generators, all of the helpers can be controlled manually. You +are free to set any or all of the properties of your QR code. + +QR codes can be saved as SVG, XBM, EPS, PNG (by using the pypng module), or +plain text. They can also be displayed directly in most terminal emulators +and Tkinter. PIL is not used to render the image files. + +The pyqrcode module attempts to follow the QR code standard as closely as +possible. The terminology and the encodings used in pyqrcode come directly +from the standard. This module also follows the algorithm laid out in the +standard. + +WWW: https://github.com/mnooner256/pyqrcode