Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2019 03:13:14 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503343 - in head/graphics: . py-pyqrcode
Message-ID:  <201906030313.x533DEGZ086000@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



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