[Python-modules-commits] r6212 - in packages/python-pypoppler/trunk/debian (control rules)

gaspa-guest at users.alioth.debian.org gaspa-guest at users.alioth.debian.org
Sun Aug 17 16:14:33 UTC 2008


    Date: Sunday, August 17, 2008 @ 16:14:23
  Author: gaspa-guest
Revision: 6212

trying to make -dbg work...
added pycentral dependency

Modified:
  packages/python-pypoppler/trunk/debian/control
  packages/python-pypoppler/trunk/debian/rules

Modified: packages/python-pypoppler/trunk/debian/control
===================================================================
--- packages/python-pypoppler/trunk/debian/control	2008-08-17 16:10:22 UTC (rev 6211)
+++ packages/python-pypoppler/trunk/debian/control	2008-08-17 16:14:23 UTC (rev 6212)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Andrea Gasparini <gaspa at yattaweb.it>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5), cdbs, python-all-dev (>= 2.3.5-11), python-support (>= 0.5.3), python-gtk2-dev (>= 2.10 ), python-gobject-dev (>= 2.10.1), python-cairo-dev (>= 1.2.0),libpoppler-glib-dev (>= 0.8-0 ), libxcb-render-util0-dev ( >= 0.2+git36-1~)
+Build-Depends: debhelper (>= 5), cdbs, python-all-dev (>= 2.3.5-11), python-support (>= 0.5.3), python-gtk2-dev (>= 2.10 ), python-gobject-dev (>= 2.10.1), python-cairo-dev (>= 1.2.0),libpoppler-glib-dev (>= 0.8-0 ), libxcb-render-util0-dev ( >= 0.2+git36-1~), python-central
 Standards-Version: 3.8.0
 XS-Python-Version: >= 2.4
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pypoppler/trunk/

Modified: packages/python-pypoppler/trunk/debian/rules
===================================================================
--- packages/python-pypoppler/trunk/debian/rules	2008-08-17 16:10:22 UTC (rev 6211)
+++ packages/python-pypoppler/trunk/debian/rules	2008-08-17 16:14:23 UTC (rev 6212)
@@ -16,7 +16,7 @@
 		mkdir -p build/py$$pyvers-dbg;\
 		cp -Rl `ls . |grep -v build|grep -v debian` build/py$$pyvers-dbg;\
 		(cd build/py$$pyvers-dbg;\
-		PYTHON=python$$pyvers CFLAGS="-g -ggdb" ./configure --prefix=/usr/);\
+		PYTHON=python$$(pyvers)-dbg ./configure CFLAGS="-g -ggdb" --prefix=/usr/);\
 	done
 	touch configure-stamp
 
@@ -29,7 +29,7 @@
 	done
 	for pyvers in ${PYTHONS}; do\
 		(cd build/py$$pyvers-dbg/;\
-		PYTHON=python$$pyvers $(MAKE));\
+		PYTHON=python$$(pyvers)-dbg $(MAKE));\
 	done
 	touch $@
 
@@ -47,15 +47,14 @@
 	dh_installdirs
 	for pyvers in ${PYTHONS}; do\
 		(cd build/py$$pyvers/;\
-		PYTHON=python$$pyvers DESTDIR=$(CURDIR)/debian/python-pypoppler $(MAKE) install);\
+		DESTDIR=$(CURDIR)/debian/python-pypoppler $(MAKE) install);\
 	done
 	for pyvers in ${PYTHONS}; do\
 		(cd build/py$$pyvers-dbg/;\
 		DESTDIR=$(CURDIR)/debian/python-pypoppler-dbg $(MAKE) install);\
-		mv $(CURDIR)/debian/python-pypoppler-dbg/usr/lib/debug/usr/lib/python$$pyvers/site-packages/poppler.so $(CURDIR)/debian/python-pypoppler-dbg/usr/lib/python$$pyvers/site-packages/;\
 	done
 	find debian -name "*.la" -exec rm -f {} \;
-	echo rm -rf $(CURDIR)/debian/python-pypoppler-dbg/usr/lib/debug/
+	rm -rf $(CURDIR)/debian/python-pypoppler-dbg/usr/lib/python2.5
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -71,6 +70,7 @@
 	dh_strip --dbg-package=python-pypoppler-dbg
 	rm -rf debian/python-pypoppler-dbg/usr/share/doc/python-pypoppler-dbg/
 	dh_compress --exclude=.py --exclude=.resX
+	dh_pycentral
 	dh_fixperms
 	dh_installdeb
 	dh_shlibdeps




More information about the Python-modules-commits mailing list