[Python-modules-commits] r5767 - in packages/pyspf/trunk/debian (17 files)

kitterma-guest at users.alioth.debian.org kitterma-guest at users.alioth.debian.org
Tue Jul 1 01:51:44 UTC 2008


    Date: Tuesday, July 1, 2008 @ 01:51:42
  Author: kitterma-guest
Revision: 5767

Split package, switch to python-central, and general updates.

Added:
  packages/pyspf/trunk/debian/README.Debian.python-spf
  packages/pyspf/trunk/debian/README.Debian.spf-tools-python
  packages/pyspf/trunk/debian/README.source
  packages/pyspf/trunk/debian/python-spf.docs
    (from rev 5708, packages/pyspf/trunk/debian/docs)
  packages/pyspf/trunk/debian/python-spf.install
  packages/pyspf/trunk/debian/spf-tools-python.docs
  packages/pyspf/trunk/debian/spf-tools-python.manpages
  packages/pyspf/trunk/debian/spf-tools-python.postinst
  packages/pyspf/trunk/debian/spf-tools-python.prerm
Modified:
  packages/pyspf/trunk/debian/changelog
  packages/pyspf/trunk/debian/control
  packages/pyspf/trunk/debian/python-spf.manpages
  packages/pyspf/trunk/debian/rules
Deleted:
  packages/pyspf/trunk/debian/docs
  packages/pyspf/trunk/debian/python-spf.postinst
  packages/pyspf/trunk/debian/python-spf.prerm
  packages/pyspf/trunk/debian/pyversions

Added: packages/pyspf/trunk/debian/README.Debian.python-spf
===================================================================
--- packages/pyspf/trunk/debian/README.Debian.python-spf	                        (rev 0)
+++ packages/pyspf/trunk/debian/README.Debian.python-spf	2008-07-01 01:51:42 UTC (rev 5767)
@@ -0,0 +1,11 @@
+README.Debian
+
+In addition to the Python SPF library, the python-spf package installs a python
+version of the spfquery script and a DNS Resource Record Type 99 (Type SPF) 
+conversion helper script.
+
+Use of the Python SPF library is documented in the pyspf(1) man page.
+
+Use of the Python spfquery is documented in the spfquery.pyspf(1) man page.
+
+Use of the Type 99 helper script is documented in the pyspf-type99(1) man page.

Added: packages/pyspf/trunk/debian/README.Debian.spf-tools-python
===================================================================
--- packages/pyspf/trunk/debian/README.Debian.spf-tools-python	                        (rev 0)
+++ packages/pyspf/trunk/debian/README.Debian.spf-tools-python	2008-07-01 01:51:42 UTC (rev 5767)
@@ -0,0 +1,11 @@
+README.Debian
+
+In addition to the Python SPF library, the python-spf package installs a python
+version of the spfquery script and a DNS Resource Record Type 99 (Type SPF) 
+conversion helper script.
+
+Use of the Python SPF library is documented in the pyspf(1) man page.
+
+Use of the Python spfquery is documented in the spfquery.pyspf(1) man page.
+
+Use of the Type 99 helper script is documented in the pyspf-type99(1) man page.

Added: packages/pyspf/trunk/debian/README.source
===================================================================
--- packages/pyspf/trunk/debian/README.source	                        (rev 0)
+++ packages/pyspf/trunk/debian/README.source	2008-07-01 01:51:42 UTC (rev 5767)
@@ -0,0 +1,4 @@
+This package uses CDBS simple patchsys.  dpkg-source -x does produce source
+ready for building with dpkg-buildpackage.  It does not procude source ready
+for editing.  To edit or update a patch, use cdbs-edit-patch.  See man
+cdbs-edit-patch for details.

Modified: packages/pyspf/trunk/debian/changelog
===================================================================
--- packages/pyspf/trunk/debian/changelog	2008-06-30 16:06:55 UTC (rev 5766)
+++ packages/pyspf/trunk/debian/changelog	2008-07-01 01:51:42 UTC (rev 5767)
@@ -1,3 +1,27 @@
+pyspf (2.0.4-4) unstable; urgency=low
+
+  * Split tools out to spf-tools-python to minimize risk of conflicts between
+    SPF related applications using different libraries
+    - Add package to debian/control
+    - Add spf-tools-python/install to debian/rules
+    - Add debian/python-spf.install
+    - Move man pages for tools to spf-tools-python.manpages
+    - Rename docs to python-spf.docs
+    - Add spf-tools-python.docs
+    - Split README.Debian for both binaries
+    - Move postinst/prerm for update-alternatives to the new package
+  * Switch to python-central
+    - Remove debian/pyversions
+    - Update debian/rules
+    - Remove debian/pycompat
+    - Change build-dep and add XS/XB-Python-Versions to debian/control
+  * Change Recommends: python-yaml to Suggests: - Test suite is not normally
+    run, so python-yaml need not be installed by default
+  * Update standards version to 3.8.0.1
+    - Add debian/README.source
+
+ -- Scott Kitterman <scott at kitterman.com>  Mon, 30 Jun 2008 15:07:13 -0400
+
 pyspf (2.0.4-3) unstable; urgency=low
 
   [ Sandro Tosi ]

Modified: packages/pyspf/trunk/debian/control
===================================================================
--- packages/pyspf/trunk/debian/control	2008-06-30 16:06:55 UTC (rev 5766)
+++ packages/pyspf/trunk/debian/control	2008-07-01 01:51:42 UTC (rev 5767)
@@ -3,19 +3,31 @@
 Priority: extra
 Maintainer: Scott Kitterman <scott at kitterman.com>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, Guilherme de S. Pastore <guilherme.pastore at terra.com.br>, Gustavo Franco <stratus at debian.org>
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.1), python-all-dev, python-support (>= 0.5.3)
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.1), python-all-dev, python-central (>= 0.6)
+XS-Python-Version: all
 Homepage: http://cheeseshop.python.org/pypi/pyspf/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyspf/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyspf/trunk/?op=log
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0.1
 XS-DM-Upload-Allowed: yes
 
 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)
+Suggests: python-yaml
+XB-Python-Version: all
 Description: sender policy framework (SPF) module for Python
  This module provides SPF (Sender Policy Framework).  It is RFC 4408 compliant.
  .
  For more information about SPF look at http://www.openspf.org/
+
+Package: spf-tools-python
+Architecture: all
+Depends: ${python:Depends}
+Recommends: python-spf
+XB-Python-Version: all
+Conflicts: spfquery (<= 1.2.5-4), libmail-spf-query-perl (<< 1:1.999.1-3)
+Description: sender policy framework (SPF) tools for Python
+ SPF (Sender Policy Framework) related scripts and tools in Python.
+ .
+ For more information about SPF look at http://www.openspf.org/

Deleted: packages/pyspf/trunk/debian/docs
===================================================================
--- packages/pyspf/trunk/debian/docs	2008-06-30 16:06:55 UTC (rev 5766)
+++ packages/pyspf/trunk/debian/docs	2008-07-01 01:51:42 UTC (rev 5767)
@@ -1,2 +0,0 @@
-README
-

Copied: packages/pyspf/trunk/debian/python-spf.docs (from rev 5708, packages/pyspf/trunk/debian/docs)
===================================================================
--- packages/pyspf/trunk/debian/python-spf.docs	                        (rev 0)
+++ packages/pyspf/trunk/debian/python-spf.docs	2008-07-01 01:51:42 UTC (rev 5767)
@@ -0,0 +1,2 @@
+README
+debian/README.Debian.python-spf

Added: packages/pyspf/trunk/debian/python-spf.install
===================================================================
--- packages/pyspf/trunk/debian/python-spf.install	                        (rev 0)
+++ packages/pyspf/trunk/debian/python-spf.install	2008-07-01 01:51:42 UTC (rev 5767)
@@ -0,0 +1,2 @@
+spf.py usr/share/pyshared/python-spf
+

Modified: packages/pyspf/trunk/debian/python-spf.manpages
===================================================================
--- packages/pyspf/trunk/debian/python-spf.manpages	2008-06-30 16:06:55 UTC (rev 5766)
+++ packages/pyspf/trunk/debian/python-spf.manpages	2008-07-01 01:51:42 UTC (rev 5767)
@@ -1,4 +1 @@
 debian/pyspf.1
-debian/pyspf-type99.1
-debian/spfquery.pyspf.1
-

Deleted: packages/pyspf/trunk/debian/python-spf.postinst
===================================================================
--- packages/pyspf/trunk/debian/python-spf.postinst	2008-06-30 16:06:55 UTC (rev 5766)
+++ packages/pyspf/trunk/debian/python-spf.postinst	2008-07-01 01:51:42 UTC (rev 5767)
@@ -1,15 +0,0 @@
-#!/bin/sh -e
-
-mode=$1
-
-source_package=pyspf
-
-case "$mode" in
-  configure )
-    prev_version=$2
-    
-    update-alternatives --install /usr/bin/spfquery spfquery      /usr/bin/spfquery.$source_package 75
-    ;;
-esac
-
-#DEBHELPER#

Deleted: packages/pyspf/trunk/debian/python-spf.prerm
===================================================================
--- packages/pyspf/trunk/debian/python-spf.prerm	2008-06-30 16:06:55 UTC (rev 5766)
+++ packages/pyspf/trunk/debian/python-spf.prerm	2008-07-01 01:51:42 UTC (rev 5767)
@@ -1,13 +0,0 @@
-#!/bin/sh -e
-
-mode=$1
-
-source_package=pyspf
-
-case "$mode" in
-  remove )
-    update-alternatives --remove spfquery /usr/bin/spfquery.$source_package
-    ;;
-esac
-
-#DEBHELPER#

Deleted: packages/pyspf/trunk/debian/pyversions
===================================================================
--- packages/pyspf/trunk/debian/pyversions	2008-06-30 16:06:55 UTC (rev 5766)
+++ packages/pyspf/trunk/debian/pyversions	2008-07-01 01:51:42 UTC (rev 5767)
@@ -1 +0,0 @@
-2.2-

Modified: packages/pyspf/trunk/debian/rules
===================================================================
--- packages/pyspf/trunk/debian/rules	2008-06-30 16:06:55 UTC (rev 5766)
+++ packages/pyspf/trunk/debian/rules	2008-07-01 01:51:42 UTC (rev 5767)
@@ -1,18 +1,22 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-DEB_PYTHON_SYSTEM=pysupport
+DEB_PYTHON_SYSTEM=pycentral
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
 
 install/python-spf::
+	# Install test suite
+	dh_install test usr/share/pyshared/python-spf
+
+install/spf-tools-python::
+	# Make dirs for the tools package (then move scripts from python-spf)
+	mkdir -p debian/spf-tools-python/usr/bin/
 	# Rename the `spfquery` tool for the alternatives system
 	# (omitting the ".py" language extension):
-	mv debian/python-spf/usr/bin/spfquery.py debian/python-spf/usr/bin/spfquery.$(DEB_SOURCE_PACKAGE)
+	mv debian/tmp/usr/bin/spfquery.py debian/spf-tools-python/usr/bin/spfquery.$(DEB_SOURCE_PACKAGE)
 	# 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
-	# Install test suite
-	dh_install test usr/share/python-support/python-spf
+	mv debian/tmp/usr/bin/type99.py	 debian/spf-tools-python/usr/bin/$(DEB_SOURCE_PACKAGE)-type99

Added: packages/pyspf/trunk/debian/spf-tools-python.docs
===================================================================
--- packages/pyspf/trunk/debian/spf-tools-python.docs	                        (rev 0)
+++ packages/pyspf/trunk/debian/spf-tools-python.docs	2008-07-01 01:51:42 UTC (rev 5767)
@@ -0,0 +1,2 @@
+README
+debian/README.Debian.spf-tools-python

Added: packages/pyspf/trunk/debian/spf-tools-python.manpages
===================================================================
--- packages/pyspf/trunk/debian/spf-tools-python.manpages	                        (rev 0)
+++ packages/pyspf/trunk/debian/spf-tools-python.manpages	2008-07-01 01:51:42 UTC (rev 5767)
@@ -0,0 +1,2 @@
+debian/pyspf-type99.1
+debian/spfquery.pyspf.1

Added: packages/pyspf/trunk/debian/spf-tools-python.postinst
===================================================================
--- packages/pyspf/trunk/debian/spf-tools-python.postinst	                        (rev 0)
+++ packages/pyspf/trunk/debian/spf-tools-python.postinst	2008-07-01 01:51:42 UTC (rev 5767)
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+mode=$1
+
+source_package=pyspf
+
+case "$mode" in
+  configure )
+    prev_version=$2
+    
+    update-alternatives --install /usr/bin/spfquery spfquery      /usr/bin/spfquery.$source_package 75
+    ;;
+esac
+
+#DEBHELPER#

Added: packages/pyspf/trunk/debian/spf-tools-python.prerm
===================================================================
--- packages/pyspf/trunk/debian/spf-tools-python.prerm	                        (rev 0)
+++ packages/pyspf/trunk/debian/spf-tools-python.prerm	2008-07-01 01:51:42 UTC (rev 5767)
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+mode=$1
+
+source_package=pyspf
+
+case "$mode" in
+  remove )
+    update-alternatives --remove spfquery /usr/bin/spfquery.$source_package
+    ;;
+esac
+
+#DEBHELPER#




More information about the Python-modules-commits mailing list