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

gaspa-guest at users.alioth.debian.org gaspa-guest at users.alioth.debian.org
Thu Jun 12 19:12:41 UTC 2008


    Date: Thursday, June 12, 2008 @ 19:12:40
  Author: gaspa-guest
Revision: 5615

$(head -n3 svn-commit.tmp)

Added:
  packages/python-pypoppler/trunk/debian/python-pypoppler.examples
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-12 18:40:51 UTC (rev 5614)
+++ packages/python-pypoppler/trunk/debian/changelog	2008-06-12 19:12:40 UTC (rev 5615)
@@ -1,3 +1,13 @@
+pypoppler (0.8.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 ]

Modified: packages/python-pypoppler/trunk/debian/control
===================================================================
--- packages/python-pypoppler/trunk/debian/control	2008-06-12 18:40:51 UTC (rev 5614)
+++ packages/python-pypoppler/trunk/debian/control	2008-06-12 19:12:40 UTC (rev 5615)
@@ -3,8 +3,8 @@
 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.6-0 )
-Standards-Version: 3.7.2
+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 )
+Standards-Version: 3.7.3
 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

Added: packages/python-pypoppler/trunk/debian/python-pypoppler.examples
===================================================================
--- packages/python-pypoppler/trunk/debian/python-pypoppler.examples	                        (rev 0)
+++ packages/python-pypoppler/trunk/debian/python-pypoppler.examples	2008-06-12 19:12:40 UTC (rev 5615)
@@ -0,0 +1 @@
+demo/demo-poppler.py

Modified: packages/python-pypoppler/trunk/debian/rules
===================================================================
--- packages/python-pypoppler/trunk/debian/rules	2008-06-12 18:40:51 UTC (rev 5614)
+++ packages/python-pypoppler/trunk/debian/rules	2008-06-12 19:12:40 UTC (rev 5615)
@@ -1,12 +1,86 @@
 #!/usr/bin/make -f
 
-DEB_AUTO_CLEANUP_RCS    := yes
-DEB_PYTHON_SYSTEM       := pysupport
-#PYVERS=$(shell pyversions -vs)
+#DEB_AUTO_CLEANUP_RCS    := yes
+#DEB_PYTHON_SYSTEM       := pysupport
 
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
+PYTHONS	:= $(shell pyversions -vr debian/control)
 
-binary-install/python-pypoppler::
-	find debian -name "*.la" -exec rm -f {} \;
-#	dh_pysupport -ppython-pypoppler
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	for pyvers in ${PYTHONS};\
+	do\
+		mkdir -p build/py$$pyvers;\
+		cp -Rl `ls . |grep -v build|grep -v debian` build/py$$pyvers;\
+		(cd build/py$$pyvers;\
+		PYTHON=python$$pyvers ./configure);\
+	done
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+
+	for pyvers in ${PYTHONS};\
+	do\
+		(cd build/py$$pyvers/;\
+		$(MAKE));\
+	done
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	rm -rf build
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	for pyvers in ${PYTHONS};\
+	do\
+		(cd build/py$$pyvers/;\
+		$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp);\
+	done
+	# Install examples
+	mkdir -p debian/tmp/usr/share/doc/python-pypoppler
+	cp -a demo/*py debian/tmp/usr/share/doc/python-pypoppler
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i CHANGES-$(DEB_UPSTREAM_VERSION)
+	dh_installdocs -i
+	dh_install -i --sourcedir=debian/tmp
+	dh_compress -i --exclude=.py --exclude=.resX
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a CHANGES-$(DEB_UPSTREAM_VERSION)
+	dh_installdocs -a THANKS README ANNOUNCEMENT-$(DEB_UPSTREAM_VERSION)
+	dh_install -a --sourcedir=debian/tmp
+	dh_strip -a
+	dh_compress -a --exclude=.py --exclude=.resX
+	dh_pycentral -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
+




More information about the Python-modules-commits mailing list