tag 380765 + patch thanks Hi,
Attached is a patch to allow the transition to the last python policy. I'm not 100% sure it's completely correct (it should though) and have no time to test it correctly, hence me just sending the patch and not NMUing. Cheers, -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u cyphesis-cpp-0.5.8/debian/rules cyphesis-cpp-0.5.8/debian/rules
--- cyphesis-cpp-0.5.8/debian/rules
+++ cyphesis-cpp-0.5.8/debian/rules
@@ -13,6 +13,12 @@
chmod a-x
$(CURDIR)/debian/tmp/usr/share/cyphesis/rulesets/basic/world/objects/*/*.py
chmod a-x
$(CURDIR)/debian/tmp/usr/share/cyphesis/rulesets/basic/mind/dictlist.py
+binary-install/cyphesis-cpp::
+ dh_pysupport /usr/share/cyphesis/rulesets/basic
+
+binary-install/cyphesis-cpp-mason::
+ dh_pysupport /usr/share/cyphesis/rulesets/mason
+
DEB_CONFIGURE_EXTRA_FLAGS := \
--disable-dependency-tracking \
--localstatedir=/var \
diff -u cyphesis-cpp-0.5.8/debian/control cyphesis-cpp-0.5.8/debian/control
--- cyphesis-cpp-0.5.8/debian/control
+++ cyphesis-cpp-0.5.8/debian/control
@@ -2,7 +2,7 @@
Section: games
Priority: optional
Maintainer: Michael Koch <[EMAIL PROTECTED]>
-Build-Depends: cdbs, debhelper (>= 4.1.0), libreadline5-dev | libreadline-dev,
python-dev, po-debconf, libpq-dev, libsigc++-2.0-dev, libatlas-cpp-0.6-dev (>=
0.5.98-2), libskstream-0.3-dev (>= 0.3.5-1), libvarconf-dev (>= 0.6.4),
libmercator-0.2-dev (>= 0.2.4-3), libgcrypt-dev, libavahi-client-dev (>=
0.6.4-1)
+Build-Depends: cdbs, debhelper (>= 4.1.0), libreadline5-dev | libreadline-dev,
python-dev, po-debconf, libpq-dev, libsigc++-2.0-dev, libatlas-cpp-0.6-dev (>=
0.5.98-2), libskstream-0.3-dev (>= 0.3.5-1), libvarconf-dev (>= 0.6.4),
libmercator-0.2-dev (>= 0.2.4-3), libgcrypt-dev, libavahi-client-dev (>=
0.6.4-1), python-support (>= 0.4.1)
Standards-Version: 3.7.2
Package: cyphesis-cpp
reverted:
--- cyphesis-cpp-0.5.8/debian/cyphesis-cpp.prerm
+++ cyphesis-cpp-0.5.8.orig/debian/cyphesis-cpp.prerm
@@ -1,9 +0,0 @@
-#!/bin/sh -e
-#
-
-if [ "$1" != upgrade ]; then
- find /usr/share/cyphesis/rulesets/basic -name "*.pyc" | xargs rm -f
- exit 0
-fi
-
-#DEBHELPER#
reverted:
--- cyphesis-cpp-0.5.8/debian/cyphesis-cpp-mason.prerm
+++ cyphesis-cpp-0.5.8.orig/debian/cyphesis-cpp-mason.prerm
@@ -1,9 +0,0 @@
-#!/bin/sh -e
-#
-
-if [ "$1" != upgrade ]; then
- find /usr/share/cyphesis/rulesets/mason -name "*.pyc" | xargs rm -f
- exit 0
-fi
-
-#DEBHELPER#
diff -u cyphesis-cpp-0.5.8/debian/changelog cyphesis-cpp-0.5.8/debian/changelog
--- cyphesis-cpp-0.5.8/debian/changelog
+++ cyphesis-cpp-0.5.8/debian/changelog
@@ -1,3 +1,12 @@
+cyphesis-cpp (0.5.8-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update package to the last python policy (Closes: #380765):
+ + use python-support.
+ + remove homemade .prerm for .pyc.
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]> Sun, 13 Aug 2006 14:02:51 +0200
+
cyphesis-cpp (0.5.8-1) unstable; urgency=low
* New upstream release.
signature.asc
Description: Digital signature

