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 11:27:36 UTC 2020

Modified Files:
        pkgsrc/mail/py-spf: Makefile PLIST distinfo
Added Files:
        pkgsrc/mail/py-spf: ALTERNATIVES

Log Message:
py-spf: updated to 2.0.14

Final 2.0.14 release
Fix broken tcp fallback, fix dnspython integration, Doc updates.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/py-spf/ALTERNATIVES
cvs rdiff -u -r1.10 -r1.11 pkgsrc/mail/py-spf/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/py-spf/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/mail/py-spf/distinfo

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.10 pkgsrc/mail/py-spf/Makefile:1.11
--- pkgsrc/mail/py-spf/Makefile:1.10    Sat Feb 25 17:40:17 2017
+++ pkgsrc/mail/py-spf/Makefile Fri Apr 17 11:27:36 2020
@@ -1,28 +1,32 @@
-# $NetBSD: Makefile,v 1.10 2017/02/25 17:40:17 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2020/04/17 11:27:36 adam Exp $
 
-VERSION=       2.0.12
-DISTNAME=      pyspf-${VERSION}t
-PKGNAME=       ${PYPKGPREFIX}-spf-${VERSION}
-PKGREVISION=   1
+DISTNAME=      pyspf-2.0.14
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    mail python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyspf/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://pypi.python.org/pypi/pyspf
-COMMENT=       Python implementation of the RFC 4408 SPF protocol
+HOMEPAGE=      https://github.com/sdgathman/pyspf
+COMMENT=       SPF (Sender Policy Framework) implemented in Python
 LICENSE=       python-software-foundation
 
-EGG_NAME=      ${DISTNAME:S/t$//}
-WRKSRC=                ${WRKDIR}/${DISTNAME:S/t$//}
-
 .include "../../lang/python/pyversion.mk"
-
-.if ${PYVERSSUFFIX} == "2.7"
-DEPENDS+=      ${PYPKGPREFIX}-pydns-[0-9]*:../../net/py-pydns
+.if ${_PYTHON_VERSION} == 27
 DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
 .else
-DEPENDS+=      ${PYPKGPREFIX}-py3dns-[0-9]*:../../net/py-py3dns
+DEPENDS+=      ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
 .endif
 
+USE_LANGUAGES= # none
+
+post-install:
+.for bin in spfquery.py type99.py
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
+
+do-test:
+       cd ${WRKSRC}/test && ${PYTHONBIN} testspf.py
+
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/mail/py-spf/PLIST
diff -u pkgsrc/mail/py-spf/PLIST:1.3 pkgsrc/mail/py-spf/PLIST:1.4
--- pkgsrc/mail/py-spf/PLIST:1.3        Sat Feb 15 17:20:59 2014
+++ pkgsrc/mail/py-spf/PLIST    Fri Apr 17 11:27:36 2020
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2014/02/15 17:20:59 wiz Exp $
-bin/spfquery.py
-bin/type99.py
+@comment $NetBSD: PLIST,v 1.4 2020/04/17 11:27:36 adam Exp $
+bin/spfquery.py-${PYVERSSUFFIX}
+bin/type99.py-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/spf.py
 ${PYSITELIB}/spf.pyc

Index: pkgsrc/mail/py-spf/distinfo
diff -u pkgsrc/mail/py-spf/distinfo:1.4 pkgsrc/mail/py-spf/distinfo:1.5
--- pkgsrc/mail/py-spf/distinfo:1.4     Thu Oct 27 12:25:05 2016
+++ pkgsrc/mail/py-spf/distinfo Fri Apr 17 11:27:36 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2016/10/27 12:25:05 jperkin Exp $
+$NetBSD: distinfo,v 1.5 2020/04/17 11:27:36 adam Exp $
 
-SHA1 (pyspf-2.0.12t.tar.gz) = 6e2ec0d13d25a6825761314adab2dab414b865f8
-RMD160 (pyspf-2.0.12t.tar.gz) = d9ddae6440b5e6ddc8bfcd47729d954643105200
-SHA512 (pyspf-2.0.12t.tar.gz) = 1ad23b5dea4aa8edd03b3fd9fc675685bcb0e216474534563c55988df040abd4e2bbc8488bba80d26466877e8b2ec88cbadc2f67eb8c4bf6f26f975d8af81d8d
-Size (pyspf-2.0.12t.tar.gz) = 67189 bytes
+SHA1 (pyspf-2.0.14.tar.gz) = 20dc716c823201195d2bd3da03faf057188fccf2
+RMD160 (pyspf-2.0.14.tar.gz) = 87e5d1903bdadd4ecccd49c326c6c8ce3ba63dce
+SHA512 (pyspf-2.0.14.tar.gz) = ca801a899a80c18cd2c6bb8c125817c29898189805040cce8d29ace7a5aa34b43b9d10545150a1f39abd7bc49cd8da4fe753a04ac9b911e7bb9d77473753eeee
+Size (pyspf-2.0.14.tar.gz) = 69446 bytes

Added files:

Index: pkgsrc/mail/py-spf/ALTERNATIVES
diff -u /dev/null pkgsrc/mail/py-spf/ALTERNATIVES:1.1
--- /dev/null   Fri Apr 17 11:27:36 2020
+++ pkgsrc/mail/py-spf/ALTERNATIVES     Fri Apr 17 11:27:36 2020
@@ -0,0 +1,2 @@
+bin/spfquery.py @PREFIX@/bin/spfquery.py-@PYVERSSUFFIX@
+bin/type99.py @PREFIX@/bin/type99.py-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index