Source: pyopenssl
Severity: wishlist
Tags: patch

I attatch a patch which seperates build-arch and build-indep. This avoids wastefully rebuilding the documentation on every autobuilder only to throw the results of doing so away.

Only in pyopenssl-0.13.new/: build
Only in pyopenssl-0.13.new/: build-arch-stamp
diff -ur pyopenssl-0.13/debian/changelog pyopenssl-0.13.new/debian/changelog
--- pyopenssl-0.13/debian/changelog	2012-05-05 15:30:54.000000000 +0000
+++ pyopenssl-0.13.new/debian/changelog	2012-05-31 22:56:58.000000000 +0000
@@ -1,3 +1,9 @@
+pyopenssl (0.13-2+rpi1) wheezy; urgency=low
+
+  * Seperate build-arch and build-indep
+
+ -- Peter Michael Green <[email protected]>  Thu, 31 May 2012 22:54:24 +0000
+
 pyopenssl (0.13-2) unstable; urgency=low
 
   [ Barry Warsaw ]
Only in pyopenssl-0.13.new/debian: files
Only in pyopenssl-0.13.new/debian: python3-openssl
Only in pyopenssl-0.13.new/debian: python3-openssl-dbg
Only in pyopenssl-0.13.new/debian: python3-openssl-dbg.debhelper.log
Only in pyopenssl-0.13.new/debian: python3-openssl-dbg.substvars
Only in pyopenssl-0.13.new/debian: python3-openssl.debhelper.log
Only in pyopenssl-0.13.new/debian: python3-openssl.postinst.debhelper
Only in pyopenssl-0.13.new/debian: python3-openssl.prerm.debhelper
Only in pyopenssl-0.13.new/debian: python3-openssl.substvars
Only in pyopenssl-0.13.new/debian: python-openssl
Only in pyopenssl-0.13.new/debian: python-openssl-dbg
Only in pyopenssl-0.13.new/debian: python-openssl-dbg.debhelper.log
Only in pyopenssl-0.13.new/debian: python-openssl-dbg.postinst.debhelper
Only in pyopenssl-0.13.new/debian: python-openssl-dbg.prerm.debhelper
Only in pyopenssl-0.13.new/debian: python-openssl-dbg.substvars
Only in pyopenssl-0.13.new/debian: python-openssl.debhelper.log
Only in pyopenssl-0.13.new/debian: python-openssl-doc
Only in pyopenssl-0.13.new/debian: python-openssl-doc.debhelper.log
Only in pyopenssl-0.13.new/debian: python-openssl.postinst.debhelper
Only in pyopenssl-0.13.new/debian: python-openssl.prerm.debhelper
Only in pyopenssl-0.13.new/debian: python-openssl.substvars
diff -ur pyopenssl-0.13/debian/rules pyopenssl-0.13.new/debian/rules
--- pyopenssl-0.13/debian/rules	2012-05-05 15:21:24.000000000 +0000
+++ pyopenssl-0.13.new/debian/rules	2012-05-31 23:20:49.000000000 +0000
@@ -8,9 +8,10 @@
 PYVERS := $(PY2VERS) $(PY3VERS)
 
 build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
+build-arch: build-arch-stamp
+build-indep: build-indep-stamp
+
+build-arch-stamp:
 	dh_testdir
 
 	set -e; \
@@ -27,11 +28,13 @@
 	        PYTHONPATH=`ls -d build/lib_d.*-$$py || ls -d build/lib.*-$$py-pydebug` python$$py-dbg $$test; \
 	    done; \
 	done
-     
+	
+	touch build-arch-stamp
 
+build-indep-stamp:
 	$(MAKE) -C doc all
 
-	touch build-stamp
+	touch build-indep-stamp
 
 clean:
 	dh_testdir
@@ -51,7 +54,7 @@
 	dh_clean build-stamp version.pyc
 
 install: DH_OPTIONS=
-install: build
+install:
 	dh_testdir
 	dh_testroot
 	dh_clean -k
@@ -76,7 +79,7 @@
 
 # Build architecture-independent files here.
 # Pass -i to all debhelper commands in this target to reduce clutter.
-binary-indep: build install
+binary-indep: build-indep install
 	dh_testdir -i
 	dh_testroot -i
 	dh_installdocs -i
@@ -92,7 +95,7 @@
 	dh_builddeb -i
 
 # Build architecture-dependent files here.
-binary-arch: build install
+binary-arch: build-arch install
 	dh_testdir -a
 	dh_testroot -a
 	dh_installdocs -a
Only in pyopenssl-0.13.new/doc: tex4ht.tmp
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to