pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/py-spf py-spf: fix PKGNAME and DEPENDS for Python...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dce536e8fba8
branches: trunk
changeset: 427497:dce536e8fba8
user: adam <adam%pkgsrc.org@localhost>
date: Fri Apr 17 12:02:36 2020 +0000
description:
py-spf: fix PKGNAME and DEPENDS for Python 2.7
diffstat:
mail/py-spf/Makefile | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r cc0089780cd9 -r dce536e8fba8 mail/py-spf/Makefile
--- a/mail/py-spf/Makefile Fri Apr 17 11:37:34 2020 +0000
+++ b/mail/py-spf/Makefile Fri Apr 17 12:02:36 2020 +0000
@@ -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 @@
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