Could the maintainer please fix this or someone NMU it? The fix
is absolutely trivial if you use the new Pmw.1.1.tar.gz  from
http://download.sourceforge.net/pmw/. In fact a complete diff sans
changelog changes is attached and will work perfectly when...

tar -zxvf Pmw.1.1.tar.gz
mv Pmw.1.1 python-pmw-1.1
patch -p1 < attached.diff
chmod u+x debian/rules

Thanks in advance for handling this. We need this for pymol to get
upgraded to python 2.2.
                                     Jack
----------------------------------------------------------------------
diff -uNr python-pmw-0.8.5/debian/control python-pmw-1.1/debian/control
--- python-pmw-0.8.5/debian/control     2002-09-08 10:09:22.000000000 -0400
+++ python-pmw-1.1/debian/control       2002-09-08 10:15:03.000000000 -0400
@@ -7,8 +7,8 @@
 
 Package: python-pmw
 Architecture: all
-Depends: python-tk (>= 2.1), python (>= 2.1), python (<< 2.2)
-Conflicts: python-tk (>= 2.2)
+Depends: python-tk (>= 2.2), python (>= 2.2), python (<< 2.3)
+Conflicts: python-tk (>= 2.3)
 Recommends: blt
 Suggests: python-pmw-doc
 Description: Pmw -- Python MegaWidgets
diff -uNr python-pmw-0.8.5/debian/copyright python-pmw-1.1/debian/copyright
--- python-pmw-0.8.5/debian/copyright   2002-09-08 10:09:22.000000000 -0400
+++ python-pmw-1.1/debian/copyright     2002-09-08 10:19:58.000000000 -0400
@@ -1,7 +1,7 @@
 This package was debianized by Frederic Lepied <[EMAIL PROTECTED]> on
 Mon, 24 Nov 1997 20:54:19 +0100.
 
-It was downloaded from http://download.sourceforge.net/pmw/Pmw.0.8.5.tar.gz
+It was downloaded from http://download.sourceforge.net/pmw/Pmw.1.1.tar.gz
 
 Copyright:
 
diff -uNr python-pmw-0.8.5/debian/python-pmw.postinst 
python-pmw-1.1/debian/python-pmw.postinst
--- python-pmw-0.8.5/debian/python-pmw.postinst 2002-09-08 10:09:22.000000000 
-0400
+++ python-pmw-1.1/debian/python-pmw.postinst   2002-09-08 10:18:48.000000000 
-0400
@@ -1,16 +1,16 @@
 #! /bin/bash -e
 #
-# Debian postinst script for Python 1.5 hierarchical modules
+# Debian postinst script for Python 2.2 hierarchical modules
 # Written by Gregor Hoffleit <[EMAIL PROTECTED]>
 #
 
-DIRLIST="/usr/lib/python2.1/site-packages/Pmw"
+DIRLIST="/usr/lib/python2.2/site-packages/Pmw"
 
 case "$1" in
     configure|abort-upgrade|abort-remove|abort-deconfigure)
         for i in $DIRLIST ; do
-            python2.1 -O /usr/lib/python2.1/compileall.py -q $i
-            python2.1 /usr/lib/python2.1/compileall.py -q $i
+            python2.2 -O /usr/lib/python2.2/compileall.py -q $i
+            python2.2 /usr/lib/python2.2/compileall.py -q $i
         done
     ;;
 
diff -uNr python-pmw-0.8.5/debian/rules python-pmw-1.1/debian/rules
--- python-pmw-0.8.5/debian/rules       2002-09-08 10:09:22.000000000 -0400
+++ python-pmw-1.1/debian/rules 2002-09-08 10:21:04.000000000 -0400
@@ -7,7 +7,7 @@
 packagedoc=python-pmw-doc
 package_dir=./debian/python-pmw
 pdoc=./debian/python-pmw-doc
-v=Pmw_0_8_5
+v=Pmw_1_1
 
 build:
        dh_testdir
@@ -23,14 +23,14 @@
        dh_testroot
        dh_clean -k
        dh_installdirs -Ai
-       mkdir -p $(package_dir)/usr/lib/python2.1/site-packages/Pmw/$(v)
+       mkdir -p $(package_dir)/usr/lib/python2.2/site-packages/Pmw/$(v)
        mkdir -p $(pdoc)/usr/share/doc/$(packagedoc)/examples
        dh_installdocs -Ai README
        dh_installchangelogs -i $(v)/doc/changes.html
-       install -m 644 __init__.py 
$(package_dir)/usr/lib/python2.1/site-packages/Pmw/
+       install -m 644 __init__.py 
$(package_dir)/usr/lib/python2.2/site-packages/Pmw/
        install -m 644 $(v)/__init__.py \
-               $(package_dir)/usr/lib/python2.1/site-packages/Pmw/$(v)/
-       cp -pr $(v)/lib 
$(package_dir)/usr/lib/python2.1/site-packages/Pmw/$(v)/+               
$(package_dir)/usr/lib/python2.2/site-packages/Pmw/$(v)/
+       cp -pr $(v)/lib 
$(package_dir)/usr/lib/python2.2/site-packages/Pmw/$(v)/        install -m 644 
$(v)/demos/* $(pdoc)/usr/share/doc/$(packagedoc)/examples/
        cp -pr $(v)/doc $(pdoc)/usr/share/doc/$(packagedoc)/html
        dh_fixperms -i
-------------------------------------------------------------------------------

Reply via email to