[DebianGIS-dev] r2862 - packages/geos/trunk/debian

aboudreault-guest at alioth.debian.org aboudreault-guest at alioth.debian.org
Wed May 12 12:22:00 UTC 2010


Author: aboudreault-guest
Date: 2010-05-12 12:21:54 +0000 (Wed, 12 May 2010)
New Revision: 2862

Modified:
   packages/geos/trunk/debian/rules
Log:
Reverted rules file about python binding, missing rules file in last commit

Modified: packages/geos/trunk/debian/rules
===================================================================
--- packages/geos/trunk/debian/rules	2010-05-12 12:20:54 UTC (rev 2861)
+++ packages/geos/trunk/debian/rules	2010-05-12 12:21:54 UTC (rev 2862)
@@ -11,9 +11,6 @@
 
 include /usr/share/dpatch/dpatch.make
 
-PYVERS=$(shell pyversions -v -r debian/control.in)
-PYDEF=$(shell pyversions -dv)
-
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -58,17 +55,13 @@
 	mv config.guess config.guess.bak
 	cp -f /usr/share/misc/config.guess config.guess
 endif
-	for V in $(PYVERS); do \
-		CFLAGS="$(CFLAGS)" PYTHON=/usr/bin/python$$V ./configure \
-			--host=$(DEB_HOST_GNU_TYPE) \
-			--build=$(DEB_BUILD_GNU_TYPE) \
-			--enable-ruby \
-			--enable-python \
-			--prefix=/usr \
-			--mandir=\$${prefix}/share/man \
-			--infodir=\$${prefix}/share/info $(CONFFLAGS); \
-			cp swig/python/Makefile swig/python/Makefile-$$V; \
-	done
+	CFLAGS="$(CFLAGS)" ./configure \
+        --host=$(DEB_HOST_GNU_TYPE) \
+        --build=$(DEB_BUILD_GNU_TYPE) \
+        --enable-ruby \
+		--prefix=/usr \
+        --mandir=\$${prefix}/share/man \
+        --infodir=\$${prefix}/share/info $(CONFFLAGS)
 	cp debian/libgeos-c++.install debian/libgeos-$(VER).install
 	cp debian/libgeos-c++.dirs debian/libgeos-$(VER).dirs
 
@@ -79,10 +72,6 @@
 build-arch-stamp:  config.status
 	# Add here commands to compile the arch part of the package.
 	$(MAKE)
-	for V in $(PYVERS); do \
-		$(MAKE) -C swig/python clean; \
-		PYTHON=/usr/bin/python$$V $(MAKE) -C swig/python -f Makefile-$$V; \
-	done
 	touch $@
 
 build-indep: build-indep-stamp




More information about the Pkg-grass-devel mailing list