diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/py-spf/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/py-spf/Makefile b/mail/py-spf/Makefile index ce770d00fce..f34cda902b7 100644 --- a/mail/py-spf/Makefile +++ b/mail/py-spf/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.9 2016/10/27 12:25:05 jperkin Exp $ +# $NetBSD: Makefile,v 1.10 2017/02/25 17:40:17 wiz Exp $ VERSION= 2.0.12 DISTNAME= pyspf-${VERSION}t PKGNAME= ${PYPKGPREFIX}-spf-${VERSION} +PKGREVISION= 1 CATEGORIES= mail python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyspf/} @@ -14,9 +15,14 @@ LICENSE= python-software-foundation EGG_NAME= ${DISTNAME:S/t$//} WRKSRC= ${WRKDIR}/${DISTNAME:S/t$//} -DEPENDS+= ${PYPKGPREFIX}-pydns-[0-9]*:../../net/py-pydns +.include "../../lang/python/pyversion.mk" -PYTHON_VERSIONS_ACCEPTED= 27 # py-pydns +.if ${PYVERSSUFFIX} == "2.7" +DEPENDS+= ${PYPKGPREFIX}-pydns-[0-9]*:../../net/py-pydns +DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress +.else +DEPENDS+= ${PYPKGPREFIX}-py3dns-[0-9]*:../../net/py-py3dns +.endif .include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" |