Index: head/mail/py-pyspf/Makefile =================================================================== --- head/mail/py-pyspf/Makefile (revision 521838) +++ head/mail/py-pyspf/Makefile (revision 521839) @@ -1,46 +1,39 @@ # Created by: Marcus Alves Grando # $FreeBSD$ PORTNAME= pyspf -PORTVERSION= 2.0.13 -PORTREVISION= 1 +PORTVERSION= 2.0.14 CATEGORIES= mail python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= SPF (Sender Policy Framework) implemented in Python LICENSE= PSFL -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}authres>=0:mail/py-authres@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}authres>=0:mail/py-authres@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dnspython>=1.16.0:dns/py-dnspython@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} -NO_ARCH= yes -USE_PYTHON= autoplist concurrent distutils USES= python shebangfix +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/spf.py SHEBANG_FILES= spf.py -.include - -.if ${PYTHON_REL} >= 3000 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}py3dns>=0:dns/py-py3dns@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dns>=0:dns/py-dns@${PY_FLAVOR} -.endif - # Make the tests run as a module post-patch: @${TOUCH} ${WRKSRC}/test/__init__.py post-install: ${CHMOD} ${BINMODE} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/spf.py ${RLN} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/spf.py ${STAGEDIR}${PREFIX}/bin/ do-test: cd ${WRKSRC}/ && ${PYTHON_CMD} -m test.testspf -.include +.include Index: head/mail/py-pyspf/distinfo =================================================================== --- head/mail/py-pyspf/distinfo (revision 521838) +++ head/mail/py-pyspf/distinfo (revision 521839) @@ -1,3 +1,3 @@ -TIMESTAMP = 1572806140 -SHA256 (pyspf-2.0.13.tar.gz) = 62dc1be39519e343202d480da7ef93d834b5a50cd4f217bef9335ed15292929b -SIZE (pyspf-2.0.13.tar.gz) = 65960 +TIMESTAMP = 1577977078 +SHA256 (pyspf-2.0.14.tar.gz) = 57a7ef01bda090173aafb6af0106251686ed73f03db4e911fcd34c57fc347186 +SIZE (pyspf-2.0.14.tar.gz) = 69446 Index: head/mail/py-pyspf/files/patch-spf.py =================================================================== --- head/mail/py-pyspf/files/patch-spf.py (revision 521838) +++ head/mail/py-pyspf/files/patch-spf.py (nonexistent) @@ -1,13 +0,0 @@ -Obtained from: https://github.com/sdgathman/pyspf/commit/4744deeec4a2c10987aae72989d7137156ed4151 - ---- spf.py.orig -+++ spf.py -@@ -91,7 +91,7 @@ - print('ipaddr module required: http://code.google.com/p/ipaddr-py/') - - --def DNSLookup_pydns(name, qtype, tcpfallback=True, timeout=30): -+def DNSLookup_pydns(name, qtype, strict=True, timeout=20): - - try: - req = DNS.DnsRequest(name, qtype=qtype, timeout=timeout) Property changes on: head/mail/py-pyspf/files/patch-spf.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property