blob: 9e707cf31581eb9e7982d65bf08cb27bc6c1fa6b (
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= 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>
|