tags 380912 + patch
thanks

Here's promised patch
-- 
-=[     Piotr Ożarowski     ]=-
-=[ http://www.ozarowski.pl ]=-
diff -u pypanel-2.4/debian/changelog pypanel-2.4/debian/changelog
--- pypanel-2.4/debian/changelog
+++ pypanel-2.4/debian/changelog
@@ -1,3 +1,16 @@
+pypanel (2.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update for new python policy (Closes: #380912)
+    - Convert to python-central.
+    - Add debian/pycompat file.
+    - Dependencies updated.
+    - Bumped debhelper compatibility level to 5.
+  * Fixed Homepage pseudo header in long description.
+  * Bumped Standards-Version to 3.7.2 (no changes needed).
+
+ -- Piotr Ozarowski <[EMAIL PROTECTED]>  Wed,  2 Aug 2006 00:10:04 +0200
+
 pypanel (2.4-1) unstable; urgency=low
 
   * New upstream version.
diff -u pypanel-2.4/debian/compat pypanel-2.4/debian/compat
--- pypanel-2.4/debian/compat
+++ pypanel-2.4/debian/compat
@@ -1 +1 @@
-4
+5
diff -u pypanel-2.4/debian/control pypanel-2.4/debian/control
--- pypanel-2.4/debian/control
+++ pypanel-2.4/debian/control
@@ -2,12 +2,14 @@
 Section: x11
 Priority: optional
 Maintainer: Bartosz Fenski <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), python-dev, python-xlib, libx11-dev, 
libxft-dev, libxpm-dev, libimlib2-dev, dpatch, sed (>= 4)
-Standards-Version: 3.6.2
+Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.3.5-11), python-xlib 
(>= 0.12-5.1), libx11-dev, libxft-dev, libxpm-dev, libimlib2-dev, dpatch, sed 
(>= 4), python-central (>= 0.5)
+Standards-Version: 3.7.2
+XS-Python-Version: current
 
 Package: pypanel
 Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}, python-xlib 
+Depends: ${shlibs:Depends}, ${python:Depends}, python-xlib (>= 0.12-5.1)
+XB-Python-Version: ${python:Versions}
 Description: lightweight panel/taskbar for X11 window managers
  PyPanel is a lightweight panel/taskbar written in Python and C for X11
  window managers. It can be easily customized to match any desktop theme or
@@ -26 +28 @@
- Homepage: http://pypanel.sourceforge.net
+  Homepage: http://pypanel.sourceforge.net/
diff -u pypanel-2.4/debian/dirs pypanel-2.4/debian/dirs
--- pypanel-2.4/debian/dirs
+++ pypanel-2.4/debian/dirs
@@ -1,3 +1,2 @@
 usr/bin
-usr/lib/python2.3/site-packages
 usr/share/pypanel
diff -u pypanel-2.4/debian/rules pypanel-2.4/debian/rules
--- pypanel-2.4/debian/rules
+++ pypanel-2.4/debian/rules
@@ -6,6 +6,8 @@
 
 include /usr/share/dpatch/dpatch.make
 
+PYVER=$(shell pyversions -vd)
+
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -37,18 +39,20 @@
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp
+       rm -rf build/
 
        python setup.py clean
-
-       dh_clean 
+       
+       dh_clean
 
 install: build
        dh_testdir
        dh_testroot
        dh_clean -k 
        dh_installdirs
+       mkdir -p debian/pypanel/usr/lib/python$(PYVER)/site-packages/
        find build -name ppmodule.so -print0 | \
-       xargs -0r -i mv {} debian/pypanel/usr/lib/python2.3/site-packages/
+       xargs -0r -i mv {} debian/pypanel/usr/lib/python$(PYVER)/site-packages/
        find build -name pypanel -print0 | \
        xargs -0r -i mv {} debian/pypanel/usr/bin/
        dh_install
@@ -68,6 +72,7 @@
        dh_strip
        dh_compress
        dh_fixperms
+       dh_pycentral
        dh_python
        dh_installdeb
        dh_shlibdeps
only in patch2:
unchanged:
--- pypanel-2.4.orig/debian/pycompat
+++ pypanel-2.4/debian/pycompat
@@ -0,0 +1 @@
+2

Attachment: pgpsQBCfIOvJe.pgp
Description: PGP signature



Reply via email to