blob: e690dd821d03c61a0e3689047a8284df467f3455 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
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:3.6+
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>
|