[Python-modules-commits] r364 - in /packages/pyspf/trunk/debian: changelog control control.in pyspf.postinst pyspf.prerm python2.3-spf.dirs python2.4-spf.dirs rules

stratus at users.alioth.debian.org stratus at users.alioth.debian.org
Mon May 1 03:15:45 UTC 2006


Author: stratus
Date: Mon May  1 03:15:43 2006
New Revision: 364

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=364
Log:
started working on pyspf 1.6-3
* debian/changelog updated
* debian/rules: move from debhelper to cdbs
* debian/control:
  - Standards-Version bumped up to 3.7.0
  - Remove python2.3-spf and python2.4-spf binaries,
    but adds Replaces, Provides and Conflicts fields for
    a transition using python-spf package.

Added:
    packages/pyspf/trunk/debian/pyspf.postinst
    packages/pyspf/trunk/debian/pyspf.prerm
Removed:
    packages/pyspf/trunk/debian/control.in
    packages/pyspf/trunk/debian/python2.3-spf.dirs
    packages/pyspf/trunk/debian/python2.4-spf.dirs
Modified:
    packages/pyspf/trunk/debian/changelog
    packages/pyspf/trunk/debian/control
    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=364&op=diff
==============================================================================
--- packages/pyspf/trunk/debian/changelog (original)
+++ packages/pyspf/trunk/debian/changelog Mon May  1 03:15:43 2006
@@ -1,3 +1,14 @@
+pyspf (1.6-3) UNRELEASED; urgency=low
+
+  * debian/rules: move from debhelper to cdbs
+  * debian/control:
+    - Standards-Version bumped up to 3.7.0
+    - Remove python2.3-spf and python2.4-spf binaries, 
+      but adds Replaces, Provides and Conflicts fields for
+      a transition using python-spf package.
+  
+ -- Gustavo Franco <stratus at debian.org>  Sun, 30 Apr 2006 23:26:20 -0300
+
 pyspf (1.6-2) unstable; urgency=low
 
   [ Guilherme de S. Pastore ]  
@@ -21,4 +32,3 @@
   * Initial Release. (Closes: #315679)
 
  -- Gustavo Franco <stratus at debian.org>  Thu, 23 Jun 2005 11:04:29 -0300
-

Modified: packages/pyspf/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyspf/trunk/debian/control?rev=364&op=diff
==============================================================================
--- packages/pyspf/trunk/debian/control (original)
+++ packages/pyspf/trunk/debian/control Mon May  1 03:15:43 2006
@@ -3,41 +3,18 @@
 Priority: extra
 Maintainer: Gustavo Franco <stratus at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, Guilherme de S. Pastore <guilherme.pastore at terra.com.br>, Paul Wise <pabs3 at bonedaddy.net> 
-Build-Depends-Indep: debhelper (>= 4.0.0), python2.2-dev, python2.3-dev
-Standards-Version: 3.6.2
+Build-Depends: cdbs (>= 0.4.38), debhelper (>= 4.0.0), python-dev, python-all-dev
+Standards-Version: 3.7.0
 
 Package: python-spf
 Architecture: all
-Depends: python2.3-spf | python2.4-spf, python (>= 2.3), python (<< 2.4), python-dns
+Depends: python (>= 2.3), python-support, python-dns
+Provides: python2.3-spf, python2.4-spf
+Replaces: python2.3-spf, python2.4-spf
+Conflicts: python2.3-spf, python2.4-spf
 Description: sender policy framework (SPF) module for Python
  This module provides SPF (Sender Policy Framework).
  .
  For more information about SPF look at http://spf.pobox.com/
  .
- This package does not contain spf module itself, but simply depends 
- on pythonX.Y-spf where X.Y is the current Debian default Python 
- version. Unless you want to use spf module with a specific Python 
- version, this is the right package to install.
- .
-  Homepage: http://www.wayforward.net/spf/
-
-Package: python2.3-spf
-Architecture: all
-Depends: python2.3, python-dns
-Description: sender policy framework (SPF) module for Python
- This module provides SPF (Sender Permitted From).
- .
- For more information about SPF look at http://spf.pobox.com/
- .
-  Homepage: http://www.wayforward.net/spf/
-
-Package: python2.4-spf
-Architecture: all
-Depends: python2.4, python-dns
-Description: sender policy framework (SPF) module for Python
- This module provides SPF (Sender Permitted From).
- .
- For more information about SPF look at http://spf.pobox.com/
- .
-  Homepage: http://www.wayforward.net/spf/
-
+ Homepage: http://www.wayforward.net/spf/

Added: packages/pyspf/trunk/debian/pyspf.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/pyspf/trunk/debian/pyspf.postinst?rev=364&op=file
==============================================================================
--- packages/pyspf/trunk/debian/pyspf.postinst (added)
+++ packages/pyspf/trunk/debian/pyspf.postinst Mon May  1 03:15:43 2006
@@ -1,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "configure" ] && which update-python-modules >/dev/null 2>&1; then
+        update-python-modules -i /usr/share/python-support/pyspf
+fi

Added: packages/pyspf/trunk/debian/pyspf.prerm
URL: http://svn.debian.org/wsvn/python-modules/packages/pyspf/trunk/debian/pyspf.prerm?rev=364&op=file
==============================================================================
--- packages/pyspf/trunk/debian/pyspf.prerm (added)
+++ packages/pyspf/trunk/debian/pyspf.prerm Mon May  1 03:15:43 2006
@@ -1,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if which update-python-modules >/dev/null 2>&1; then
+        update-python-modules -c -i /usr/share/python-support/pyspf
+fi

Modified: packages/pyspf/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyspf/trunk/debian/rules?rev=364&op=diff
==============================================================================
--- packages/pyspf/trunk/debian/rules (original)
+++ packages/pyspf/trunk/debian/rules Mon May  1 03:15:43 2006
@@ -1,83 +1,12 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
+# -*- mode: makefile; coding: utf-8 -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+# python-distutils before debhelper to avoid it calling dh_python by itself
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
 
-build: build-stamp
+DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/pyspf
 
-build-stamp:
-	dh_testdir
+clean::
+	find -name '*.pyo' -exec rm -f {} \;
 
-	python2.4 setup.py build
-	python2.3 setup.py build
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	-python2.4 setup.py clean
-	-python2.3 setup.py clean
-	rm -rf build
-
-	dh_clean
-
-	# Generate Uploaders: field with information available on
-	# the Debian Python Modules Team SVN repository
-	TEAM_LIST=../metainfo/python-modules.team; \
-	if test -f $${TEAM_LIST}; then \
-		MAINTAINER=$$(sed -n 's/^Maintainer: //p' debian/control.in); \
-		grep -vF "$${MAINTAINER}" $${TEAM_LIST} | tr '\n' ' ' > debian/uploaders.tmp; \
-		cat debian/uploaders.tmp; \
-		if diff -q debian/uploaders debian/uploaders.tmp; then \
-			rm debian/uploaders.tmp; \
-		else \
-			mv debian/uploaders.tmp debian/uploaders; \
-		fi; \
-	fi
-	UPLOADERS=$$(cat debian/uploaders); \
-	sed "s/@PYTHON_MODULES_TEAM@/$${UPLOADERS}/g" < debian/control.in > debian/control.tmp; \
-	if diff -q debian/control debian/control.tmp; then \
-		rm debian/control.tmp; \
-	else \
-		mv debian/control.tmp debian/control; \
-	fi
-	# end of Uploaders: generating code
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	install -m 755 spf.py debian/python2.4-spf/usr/lib/python2.2/site-packages
-	install -m 755 spf.py debian/python2.3-spf/usr/lib/python2.3/site-packages
-
-binary-arch: build install
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs CHANGELOG
-	dh_installdocs
-	dh_installexamples -A test/*
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install




More information about the Python-modules-commits mailing list