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: updated to 2.0.14



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1544df2864be
branches:  trunk
changeset: 427492:1544df2864be
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Apr 17 11:27:36 2020 +0000

description:
py-spf: updated to 2.0.14

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

diffstat:

 mail/py-spf/ALTERNATIVES |   2 ++
 mail/py-spf/Makefile     |  32 ++++++++++++++++++--------------
 mail/py-spf/PLIST        |   6 +++---
 mail/py-spf/distinfo     |  10 +++++-----
 4 files changed, 28 insertions(+), 22 deletions(-)

diffs (84 lines):

diff -r ff5de5b9ae5c -r 1544df2864be mail/py-spf/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/py-spf/ALTERNATIVES  Fri Apr 17 11:27:36 2020 +0000
@@ -0,0 +1,2 @@
+bin/spfquery.py @PREFIX@/bin/spfquery.py-@PYVERSSUFFIX@
+bin/type99.py @PREFIX@/bin/type99.py-@PYVERSSUFFIX@
diff -r ff5de5b9ae5c -r 1544df2864be mail/py-spf/Makefile
--- a/mail/py-spf/Makefile      Fri Apr 17 11:24:43 2020 +0000
+++ b/mail/py-spf/Makefile      Fri Apr 17 11:27:36 2020 +0000
@@ -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"
diff -r ff5de5b9ae5c -r 1544df2864be mail/py-spf/PLIST
--- a/mail/py-spf/PLIST Fri Apr 17 11:24:43 2020 +0000
+++ b/mail/py-spf/PLIST Fri Apr 17 11:27:36 2020 +0000
@@ -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
diff -r ff5de5b9ae5c -r 1544df2864be mail/py-spf/distinfo
--- a/mail/py-spf/distinfo      Fri Apr 17 11:24:43 2020 +0000
+++ b/mail/py-spf/distinfo      Fri Apr 17 11:27:36 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index