diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-qrcode/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/textproc/py-qrcode/Makefile b/textproc/py-qrcode/Makefile index 88be2a75dbac..e2b3c9d3ba99 100644 --- a/textproc/py-qrcode/Makefile +++ b/textproc/py-qrcode/Makefile @@ -3,6 +3,7 @@ PORTNAME= qrcode PORTVERSION= 5.3 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,10 +13,18 @@ COMMENT= QR Code image generator LICENSE= BSD3CLAUSE +USES?= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} > 3000 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.8:devel/py3-six \ + ${PYTHON_PKGNAMEPREFIX}pillow>=2.6:graphics/py3-pillow +.else RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.8:devel/py-six \ ${PYTHON_PKGNAMEPREFIX}pillow>=2.6:graphics/py-pillow +.endif -USES?= python -USE_PYTHON= autoplist distutils +.include <bsd.port.post.mk> -.include <bsd.port.mk> |