diff options
-rw-r--r-- | mail/py-spf/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mail/py-spf/Makefile b/mail/py-spf/Makefile index 3dd78ee70fb..985c7652ec6 100644 --- a/mail/py-spf/Makefile +++ b/mail/py-spf/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2020/04/17 11:27:36 adam Exp $ +# $NetBSD: Makefile,v 1.12 2020/04/17 12:02:36 adam Exp $ DISTNAME= pyspf-2.0.14 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} CATEGORIES= mail python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyspf/} @@ -10,11 +10,12 @@ HOMEPAGE= https://github.com/sdgathman/pyspf COMMENT= SPF (Sender Policy Framework) implemented in Python LICENSE= python-software-foundation +DEPENDS+= ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns +TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml + .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} == 27 -DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress -.else -DEPENDS+= ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns +DEPENDS+= ${PYPKGPREFIX}-ipaddr-[0-9]*:../../devel/py-ipaddr .endif USE_LANGUAGES= # none |