freebsd-ports/graphics/py-pyqrcode/Makefile
Kubilay Kocak b7787b29b8 [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
2019-06-03 03:13:13 +00:00

35 lines
758 B
Makefile

# $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>