1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Update to 2.0.13

- Update WWW

Changes:	https://github.com/sdgathman/pyspf/blob/master/CHANGELOG
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-11-04 16:01:49 +00:00
parent 12763b40a9
commit fa6e53c59b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516697
4 changed files with 21 additions and 22 deletions

View File

@ -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}

View File

@ -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

View File

@ -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

View File

@ -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