Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2017 08:41:59 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453887 - head/textproc/py-qrcode
Message-ID:  <201711100841.vAA8fx7L082754@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711100841.vAA8fx7L082754>