summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron M. Ucko <ucko@debian.org>2006-06-14 18:19:50 +0000
committerAaron M. Ucko <ucko@debian.org>2006-06-14 18:19:50 +0000
commit5a9ea1f974fc9649af7d5060acf0d956227818dd (patch)
tree20178fd44a7677415fec5f2291df5eb37438fa3c
parentbb5bf4eb3d42e205fe1a8f5f375f73509eb60dbf (diff)
Tweak packaging to comply with the new Python policy (version 0.4);
continue using python-support, as python-central is overkill here. (Closes: #373530.)
-rw-r--r--debian/changelog5
-rw-r--r--debian/control6
-rw-r--r--debian/postinst7
-rw-r--r--debian/prerm7
-rwxr-xr-xdebian/rules4
5 files changed, 12 insertions, 17 deletions
diff --git a/debian/changelog b/debian/changelog
index c3fea80..fcab525 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,9 +3,12 @@ python-dsv (1.4.0-3) UNRELEASED; urgency=low
* NOT RELEASED YET
* Patch DSV.py indirectly, via CDBS's simple patch system, in preparation
for switching to pure merge-with-upstream mode per DPMT conventions.
+ * Tweak packaging to comply with the new Python policy (version 0.4);
+ continue using python-support, as python-central is overkill here.
+ (Closes: #373530.)
* Standards-Version: 3.7.2 (no changes required).
- -- Aaron M. Ucko <ucko@debian.org> Thu, 4 May 2006 20:52:12 -0400
+ -- Aaron M. Ucko <ucko@debian.org> Wed, 14 Jun 2006 14:19:25 -0400
python-dsv (1.4.0-2) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 0cb5654..72631b7 100644
--- a/debian/control
+++ b/debian/control
@@ -3,13 +3,15 @@ Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Aaron M. Ucko <ucko@debian.org>
-Build-Depends: cdbs, debhelper (>= 4.1.0), python-dev (>= 2.3)
+Build-Depends: cdbs, debhelper (>= 5.0.37.1), python-dev (>= 2.3), python (>= 2.3.5-7), python-support (>= 0.2.3)
Standards-Version: 3.7.2
+XS-Python-Version: all
Package: python-dsv
Architecture: all
-Depends: python-support
+Depends: ${python:Depends}
Suggests: python-wxgtk2.6 | python-wxgtk2.4
+XB-Python-Version: ${python:Versions}
Description: Python module for delimiter-separated-value files
Python-DSV is an alternative to Python's standard csv module, with
somewhat different usage and optional support for wxWidgets-mediated
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index a39be5d..0000000
--- a/debian/postinst
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-#DEBHELPER#
-
-update-python-modules -i /usr/share/python-support/python-dsv
-
-exit 0
diff --git a/debian/prerm b/debian/prerm
deleted file mode 100644
index 1c4124b..0000000
--- a/debian/prerm
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-#DEBHELPER#
-
-update-python-modules -i -c /usr/share/python-support/python-dsv
-
-exit 0
diff --git a/debian/rules b/debian/rules
index f46dd47..c27993a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,10 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+binary-install/python-dsv::
+ dh_pysupport -p$(cdbs_curpkg)
+
include /usr/share/cdbs/1/class/python-distutils.mk
install_lib = /usr/share/python-support/python-dsv