svn commit: r453887 - head/textproc/py-qrcode
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Nov 10 08:42:00 UTC 2017
Author: ehaupt
Date: Fri Nov 10 08:41:59 2017
New Revision: 453887
URL: https://svnweb.freebsd.org/changeset/ports/453887
Log:
Fix dependencies for py3-* stub port.
Modified:
head/textproc/py-qrcode/Makefile
Modified: head/textproc/py-qrcode/Makefile
==============================================================================
--- head/textproc/py-qrcode/Makefile Fri Nov 10 07:47:15 2017 (r453886)
+++ head/textproc/py-qrcode/Makefile Fri Nov 10 08:41:59 2017 (r453887)
@@ -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>
More information about the svn-ports-all
mailing list