[Pkg-gtkpod-devel] r145 - libgpod/trunk/debian

Frank Lichtenheld djpig at costa.debian.org
Sat Sep 30 17:14:44 UTC 2006


Author: djpig
Date: 2006-09-30 17:14:44 +0000 (Sat, 30 Sep 2006)
New Revision: 145

Added:
   libgpod/trunk/debian/pycompat
Removed:
   libgpod/trunk/debian/patches/
Modified:
   libgpod/trunk/debian/changelog
   libgpod/trunk/debian/python-gpod.examples
   libgpod/trunk/debian/rules
Log:
* Adapt python-gpod to new python bindings build system (Closes: #374091)
* Bump pycompat to 2


Modified: libgpod/trunk/debian/changelog
===================================================================
--- libgpod/trunk/debian/changelog	2006-09-30 00:21:59 UTC (rev 144)
+++ libgpod/trunk/debian/changelog	2006-09-30 17:14:44 UTC (rev 145)
@@ -1,8 +1,11 @@
 libgpod (0.4.0-1) UNRELEASED; urgency=low
 
   * (NOT RELEASED YET) New upstream release
-  * Bump shlibs to >= 0.4.0
-  * Add python-eyed3 (>= 0.6.6) to build-depends
+    + Bump shlibs to >= 0.4.0
+    + Add python-eyed3 (>= 0.6.6) to build-depends
+    + Adapt python-gpod to new python bindings build system
+      (Closes: #374091)
+  * Bump pycompat to 2
 
  -- Frank Lichtenheld <djpig at debian.org>  Fri, 29 Sep 2006 23:51:30 +0200
 

Added: libgpod/trunk/debian/pycompat
===================================================================
--- libgpod/trunk/debian/pycompat	                        (rev 0)
+++ libgpod/trunk/debian/pycompat	2006-09-30 17:14:44 UTC (rev 145)
@@ -0,0 +1 @@
+2

Modified: libgpod/trunk/debian/python-gpod.examples
===================================================================
--- libgpod/trunk/debian/python-gpod.examples	2006-09-30 00:21:59 UTC (rev 144)
+++ libgpod/trunk/debian/python-gpod.examples	2006-09-30 17:14:44 UTC (rev 145)
@@ -1 +1 @@
-bindings/python/examples/*
+bindings/python/examples/*.py

Modified: libgpod/trunk/debian/rules
===================================================================
--- libgpod/trunk/debian/rules	2006-09-30 00:21:59 UTC (rev 144)
+++ libgpod/trunk/debian/rules	2006-09-30 17:14:44 UTC (rev 145)
@@ -6,19 +6,18 @@
 include /usr/share/cdbs/1/class/gnome.mk
 
 DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed"
+DEB_CONFIGURE_EXTRA_FLAGS += --with-python=no
 
 DEB_DH_MAKESHLIBS_ARGS_libgpod0 := -V 'libgpod0 (>= 0.4.0)'
 
-clean::
-	-cd bindings/python/ && $(MAKE) clean
-	# The non-patched makefile is sometimes called
-	-cd bindings/python/ && rm -f *.so *.o
-
-build/python-gpod::
-	cd bindings/python/ && $(MAKE)
-	
 install/python-gpod::
-	cd bindings/python/ && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp  
+	PYVERS=$$(pyversions -v -r ./debian/control) ; \
+	for PYVER in $$PYVERS; do \
+		export PYTHON=python$$PYVER ; $(DEB_CONFIGURE_INVOKE) && \
+		cd bindings/python && \
+		$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp && \
+		cd ../.. ; \
+	done
 
 binary-install/python-gpod::
 	dh_pycentral -ppython-gpod




More information about the Pkg-gtkpod-devel mailing list