[Python-modules-commits] r5646 - in packages/python-pypoppler/trunk/debian (3 files)

gaspa-guest at users.alioth.debian.org gaspa-guest at users.alioth.debian.org
Sat Jun 14 21:09:57 UTC 2008


    Date: Saturday, June 14, 2008 @ 21:09:56
  Author: gaspa-guest
Revision: 5646

* added -1 to version in changelog
* Standards-Version to 3.8.0 
* changed source name
* -dbg package is missing.
* change libxcb-render-util0-dev mininum required build version 
* removed .la files

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

Modified: packages/python-pypoppler/trunk/debian/changelog
===================================================================
--- packages/python-pypoppler/trunk/debian/changelog	2008-06-14 16:01:20 UTC (rev 5645)
+++ packages/python-pypoppler/trunk/debian/changelog	2008-06-14 21:09:56 UTC (rev 5646)
@@ -1,15 +1,5 @@
-pypoppler (0.8.1) UNRELEASED; urgency=low
+python-pypoppler (0.8.1-1) UNRELEASED; urgency=low
 
-  * New Upstream version
-  * debian/python-pypoppler.examples: added demo files
-  * debian/rules: refactoring rules in order to build for several
-    python versions
-  * debian/control: bumped to policy version 3.7.3 
-
- -- Andrea Gasparini <gaspa at yattaweb.it>  Tue, 10 Jun 2008 23:13:37 +0200
-
-pypoppler (0.6.0) UNRELEASED; urgency=low
-
   [ Andrea Gasparini ]
   * First upload (Closes: #453391)
 
@@ -17,4 +7,4 @@
   * debian/control
     - added Vcs-Svn and Vcs-Browser
 
- -- Sandro Tosi <matrixhasu at gmail.com>  Wed, 02 Jan 2008 12:49:44 +0100
+ -- Andrea Gasparini <gaspa at yattaweb.it>  Tue, 10 Jun 2008 23:13:37 +0200

Modified: packages/python-pypoppler/trunk/debian/control
===================================================================
--- packages/python-pypoppler/trunk/debian/control	2008-06-14 16:01:20 UTC (rev 5645)
+++ packages/python-pypoppler/trunk/debian/control	2008-06-14 21:09:56 UTC (rev 5646)
@@ -1,10 +1,10 @@
-Source: pypoppler
+Source: python-pypoppler
 Section: python
 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)
-Standards-Version: 3.7.3
+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~)
+Standards-Version: 3.8.0
 XS-Python-Version: >= 2.4
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pypoppler/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-pypoppler/trunk/?op=log
@@ -15,7 +15,20 @@
 Provides: ${python:Provides}
 XB-Python-Version: ${python:Versions}
 Description: Poppler Python bindings
- This package include Python bindings for LibPoppler.
+ This package includes Python bindings for LibPoppler.
  It is needed to run programs written in Python and using Poppler set.
  LibPoppler is a PDF rendering library based on xpdf PDF viewer, and used by
- kpdf and evince pdf viewers.
+ kpdf and evince PDF viewers.
+
+Package: python-pypoppler-dbg
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-gtk2
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Poppler Python bindings
+ This package includes Python bindings for LibPoppler.
+ It is needed to run programs written in Python and using Poppler set.
+ LibPoppler is a PDF rendering library based on xpdf PDF viewer, and used by
+ kpdf and evince PDF viewers.
+
+ This package contains the extension built for the Python debug interpreter.

Modified: packages/python-pypoppler/trunk/debian/rules
===================================================================
--- packages/python-pypoppler/trunk/debian/rules	2008-06-14 16:01:20 UTC (rev 5645)
+++ packages/python-pypoppler/trunk/debian/rules	2008-06-14 21:09:56 UTC (rev 5646)
@@ -20,11 +20,13 @@
 build: build-stamp
 build-stamp: configure-stamp
 	dh_testdir
-	for pyvers in ${PYTHONS};\
-	do\
-		(cd build/py$$pyvers/;\
-		$(MAKE));\
+	for pyvers in ${PYTHONS}; do\
+		(cd build/py$$pyvers/; $(MAKE));\
 	done
+	###what the hell should be done to make a debug version?
+	for pyvers in ${PYTHONS}; do\
+		(cd build/py$$pyvers-dbg/; $(MAKE));\
+	done
 	touch $@
 
 clean:
@@ -32,18 +34,22 @@
 	dh_testroot
 	rm -f build-stamp configure-stamp
 	rm -rf build
-	dh_clean 
+	dh_clean
 
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
-	for pyvers in ${PYTHONS};\
-	do\
+	for pyvers in ${PYTHONS}; do\
 		(cd build/py$$pyvers/;\
 		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);\
+	done
+	find debian -name "*.la" -exec rm -f {} \;
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -56,7 +62,8 @@
 	dh_installdocs
 	dh_install
 	dh_installexamples
-	dh_strip
+	dh_strip --dbg-package=python-pypoppler-dbg
+	rm -rf debian/python-psycopg2-dbg/usr/share/doc/python-psycopg2-dbg/
 	dh_compress --exclude=.py --exclude=.resX
 	#dh_pycentral
 	dh_fixperms




More information about the Python-modules-commits mailing list