Date: Mon, 4 Nov 2019 16:01:49 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r516697 - in head/mail/py-pyspf: . files Message-ID: <201911041601.xA4G1nwt056008@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Nov 4 16:01:49 2019 New Revision: 516697 URL: https://svnweb.freebsd.org/changeset/ports/516697 Log: Update to 2.0.13 - Update WWW Changes: https://github.com/sdgathman/pyspf/blob/master/CHANGELOG Modified: head/mail/py-pyspf/Makefile head/mail/py-pyspf/distinfo head/mail/py-pyspf/files/patch-test_testspf.py head/mail/py-pyspf/pkg-descr Modified: head/mail/py-pyspf/Makefile ============================================================================== --- head/mail/py-pyspf/Makefile Mon Nov 4 16:01:43 2019 (r516696) +++ head/mail/py-pyspf/Makefile Mon Nov 4 16:01:49 2019 (r516697) @@ -2,9 +2,7 @@ # $FreeBSD$ PORTNAME= pyspf -PORTVERSION= 2.0.12 -DISTVERSIONSUFFIX= t -PORTREVISION= 5 +PORTVERSION= 2.0.13 CATEGORIES= mail python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Modified: head/mail/py-pyspf/distinfo ============================================================================== --- head/mail/py-pyspf/distinfo Mon Nov 4 16:01:43 2019 (r516696) +++ head/mail/py-pyspf/distinfo Mon Nov 4 16:01:49 2019 (r516697) @@ -1,2 +1,3 @@ -SHA256 (pyspf-2.0.12t.tar.gz) = 8aa21ba0e3aff8a4e8ad8f586c500a5d1f9c4c902c3f11bcc107465857cd41a2 -SIZE (pyspf-2.0.12t.tar.gz) = 67189 +TIMESTAMP = 1572806140 +SHA256 (pyspf-2.0.13.tar.gz) = 62dc1be39519e343202d480da7ef93d834b5a50cd4f217bef9335ed15292929b +SIZE (pyspf-2.0.13.tar.gz) = 65960 Modified: head/mail/py-pyspf/files/patch-test_testspf.py ============================================================================== --- head/mail/py-pyspf/files/patch-test_testspf.py Mon Nov 4 16:01:43 2019 (r516696) +++ head/mail/py-pyspf/files/patch-test_testspf.py Mon Nov 4 16:01:49 2019 (r516697) @@ -1,19 +1,19 @@ ---- test/testspf.py.orig 2015-01-12 22:47:56 UTC +--- test/testspf.py.orig 2019-08-31 02:49:19 UTC +++ test/testspf.py -@@ -221,9 +221,9 @@ def makeSuite(filename): +@@ -237,9 +237,9 @@ def docsuite(): - def suite(): - suite = unittest.makeSuite(SPFTestCases,'test') + def suite(skipdoc=False): + suite = docsuite() - suite.addTest(makeSuite('test.yml')) - suite.addTest(makeSuite('rfc7208-tests.yml')) - suite.addTest(makeSuite('rfc4408-tests.yml')) + suite.addTest(makeSuite('test/test.yml')) + suite.addTest(makeSuite('test/rfc7208-tests.yml')) + suite.addTest(makeSuite('test/rfc4408-tests.yml')) - import doctest - suite.addTest(doctest.DocTestSuite(spf)) return suite -@@ -237,9 +237,9 @@ if __name__ == '__main__': + + if __name__ == '__main__': +@@ -255,9 +255,9 @@ if __name__ == '__main__': # a specific test selected by id from YAML files if not tc: tc = unittest.TestSuite() @@ -26,12 +26,12 @@ if i in t0: tc.addTest(SPFTestCase(t0[i])) if i in t1: -@@ -248,7 +248,7 @@ if __name__ == '__main__': +@@ -266,7 +266,7 @@ if __name__ == '__main__': tc.addTest(SPFTestCase(t2[i])) if not tc: # load zonedata for doctests -- fp = open('doctest.yml','rb') -+ fp = open('test/doctest.yml','rb') - try: +- with open('doctest.yml','rb') as fp: ++ with open('test/doctest.yml','rb') as fp: zonedata = loadZone(next(yaml.safe_load_all(fp))) - finally: fp.close() + if doctest: + tc = docsuite() # doctests only Modified: head/mail/py-pyspf/pkg-descr ============================================================================== --- head/mail/py-pyspf/pkg-descr Mon Nov 4 16:01:43 2019 (r516696) +++ head/mail/py-pyspf/pkg-descr Mon Nov 4 16:01:49 2019 (r516697) @@ -1,6 +1,6 @@ -The pyspf Python module has been released as version 2.0. pyspf 2.0 -was the first SPF implementation to fully conform to RFC 4408. This -release has also added IPv6 support. pyspf is the library behind -several of the open SPF project's SPF record testing tools. +The pyspf Python module has been released as version 2.0. pyspf 2.0 was the +first SPF implementation to fully conform to RFC 4408. This release has also +added IPv6 support. pyspf is the library behind several of the open SPF +project's SPF record testing tools. -WWW: https://pypi.org/project/pyspf/ +WWW: https://github.com/sdgathman/pyspf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911041601.xA4G1nwt056008>