pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/py-spf



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Apr 17 12:02:36 UTC 2020

Modified Files:
        pkgsrc/mail/py-spf: Makefile

Log Message:
py-spf: fix PKGNAME and DEPENDS for Python 2.7


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/mail/py-spf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/py-spf/Makefile
diff -u pkgsrc/mail/py-spf/Makefile:1.11 pkgsrc/mail/py-spf/Makefile:1.12
--- pkgsrc/mail/py-spf/Makefile:1.11    Fri Apr 17 11:27:36 2020
+++ pkgsrc/mail/py-spf/Makefile Fri Apr 17 12:02:36 2020
@@ -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/p
 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



Home | Main Index | Thread Index | Old Index