[Python-modules-commits] r2420 - in /packages/pyspf/trunk/debian: changelog control pyspf.1 rules
kitterma-guest at users.alioth.debian.org
kitterma-guest at users.alioth.debian.org
Tue May 15 21:52:24 UTC 2007
Author: kitterma-guest
Date: Tue May 15 21:52:24 2007
New Revision: 2420
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2420
Log:
Install pyspf test suite and use python-yaml.
Modified:
packages/pyspf/trunk/debian/changelog
packages/pyspf/trunk/debian/control
packages/pyspf/trunk/debian/pyspf.1
packages/pyspf/trunk/debian/rules
Modified: packages/pyspf/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyspf/trunk/debian/changelog?rev=2420&op=diff
==============================================================================
--- packages/pyspf/trunk/debian/changelog (original)
+++ packages/pyspf/trunk/debian/changelog Tue May 15 21:52:24 2007
@@ -1,3 +1,16 @@
+pyspf (2.0.3-2) unstable; urgency=low
+
+ * debian/control
+ - Add python-yaml as recommends for test suite support now that it's
+ packaged
+ * debian/rules
+ - Install test directory for test suite
+ - Delete obsolete (and commented out) rule for renaming spf.py
+ * debian/pyspf.1
+ - Add instructions for using the pyspf test suite
+
+ -- Scott Kitterman <scott at kitterman.com> Tue, 15 May 2007 13:01:19 -0400
+
pyspf (2.0.3-1) unstable; urgency=low
[ Scott Kitterman ]
Modified: packages/pyspf/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyspf/trunk/debian/control?rev=2420&op=diff
==============================================================================
--- packages/pyspf/trunk/debian/control (original)
+++ packages/pyspf/trunk/debian/control Tue May 15 21:52:24 2007
@@ -10,6 +10,7 @@
Package: python-spf
Architecture: all
Depends: ${python:Depends}, python-dns
+Recommends: python-yaml
Conflicts: spfquery (<= 1.2.5-4), libmail-spf-query-perl (<< 1:1.999.1-3)
Description: sender policy framework (SPF) module for Python
This module provides SPF (Sender Policy Framework). It is RFC 4408 compliant.
Modified: packages/pyspf/trunk/debian/pyspf.1
URL: http://svn.debian.org/wsvn/python-modules/packages/pyspf/trunk/debian/pyspf.1?rev=2420&op=diff
==============================================================================
--- packages/pyspf/trunk/debian/pyspf.1 (original)
+++ packages/pyspf/trunk/debian/pyspf.1 Tue May 15 21:52:24 2007
@@ -199,6 +199,34 @@
The first element in the tuple is one of 'pass', 'fail', 'neutral', 'softfail,
'permerror', or 'temperror'. The second is an explanation.
+.SH "RFC 4408 TEST SUITE"
+.IX Header "RFC 4408 TEST SUITE"
+
+The package also installs the python-spf test driver and the current (as of the
+release date) YAML (Yet Another Markup Language) RFC 4408 test definitions. As
+errors or improvements in the test definitions are approved, they are available
+from:
+
+<http://www.openspf.org/Test_Suite>
+
+To run the test suite, change the directory the test suite is installed in:
+
+$ cd /usr/share/python-support/python-spf/test
+
+and then run testspf.py:
+
+$ python testspf.py
+
+The test suite supports multiple allowed results with a warning for a
+non-preferred result. For the current version, the expected results are:
+
+WARN: invalid-domain-long in rfc4408-tests.yml, ['8.1/2', '5/10']: fail
+preferred to temperror
+WARN: txttimeout in rfc4408-tests.yml, 4.4/1: fail preferred to temperror
+WARN: spfoverride in rfc4408-tests.yml, 4.5/5: pass preferred to fail
+WARN: multitxt1 in rfc4408-tests.yml, 4.5/5: pass preferred to permerror
+WARN: multispf2 in rfc4408-tests.yml, 4.5/6: permerror preferred to pass
+
.SH "OTHER PROGRAMS"
.IX Header "OTHER PROGRAMS"
Modified: packages/pyspf/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyspf/trunk/debian/rules?rev=2420&op=diff
==============================================================================
--- packages/pyspf/trunk/debian/rules (original)
+++ packages/pyspf/trunk/debian/rules Tue May 15 21:52:24 2007
@@ -14,7 +14,7 @@
# Give the `type99` tool a more specific name
# (omitting the ".py" language extension):
mv debian/python-spf/usr/bin/type99.py debian/python-spf/usr/bin/$(DEB_SOURCE_PACKAGE)-type99
- # Remove language specific file name extension
- # mv debian/python-spf/usr/lib/python2.5/site-package/spf.py debian/python-spf/usr/lib/python2.5/site-package/spf
# Install man pages
dh_installman debian/pyspf.1 debian/spfquery.pyspf.1 debian/pyspf-type99.1
+ # Install test suite
+ dh_install test usr/share/python-support/python-spf
More information about the Python-modules-commits
mailing list