Files
ports/graphics/py-pyqrcode/Makefile
T
Charlie Li 06a08e69f3 python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

36 lines
805 B
Makefile

PORTNAME= pyqrcode
PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Pure Python QR code generator with SVG, EPS, PNG and terminal output
WWW= https://github.com/mnooner256/pyqrcode
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>