[Python-modules-commits] r24510 - in packages/pygame (2 files)

vincentc-guest at users.alioth.debian.org vincentc-guest at users.alioth.debian.org
Fri May 24 10:07:33 UTC 2013


    Date: Friday, May 24, 2013 @ 10:07:31
  Author: vincentc-guest
Revision: 24510

pygame: Honour Policy 4.6 by adding 'set -e' to for loops in d/rules

Modified:
  packages/pygame/branches/sid/debian/rules
  packages/pygame/trunk/debian/rules

Modified: packages/pygame/branches/sid/debian/rules
===================================================================
--- packages/pygame/branches/sid/debian/rules	2013-05-24 10:06:15 UTC (rev 24509)
+++ packages/pygame/branches/sid/debian/rules	2013-05-24 10:07:31 UTC (rev 24510)
@@ -35,7 +35,7 @@
 	# Replace embedded font with system copy
 	ln -sf /usr/share/fonts/truetype/freefont/FreeSansBold.ttf \
 	$(CURDIR)/debian/python-pygame/usr/share/pyshared/pygame/freesansbold.ttf
-	for python in $(PYVERS); \
+	set -e; for python in $(PYVERS); \
 		do ln -sf /usr/share/fonts/truetype/freefont/FreeSansBold.ttf \
 			$(CURDIR)/debian/python-pygame/usr/lib/$$python/dist-packages/pygame/freesansbold.ttf; \
 	done

Modified: packages/pygame/trunk/debian/rules
===================================================================
--- packages/pygame/trunk/debian/rules	2013-05-24 10:06:15 UTC (rev 24509)
+++ packages/pygame/trunk/debian/rules	2013-05-24 10:07:31 UTC (rev 24510)
@@ -26,11 +26,11 @@
 	dh_clean
 
 override_dh_auto_install:
-	for pyvers in $(shell pyversions -vr); do \
+	set -e; for pyvers in $(shell pyversions -vr); do \
 		python$$pyvers setup.py install --install-layout=deb \
 			--root $(CURDIR)/debian/python-pygame; \
 	done
-	for pyvers in $(shell py3versions -sv); do \
+	set -e; for pyvers in $(shell py3versions -sv); do \
 		python$$pyvers setup.py install --install-layout=deb \
 			--root $(CURDIR)/debian/python3-pygame; \
 	done
@@ -59,7 +59,7 @@
 	# Replace embedded font with system copy
 	ln -sf /usr/share/fonts/truetype/freefont/FreeSansBold.ttf \
 	$(CURDIR)/debian/python-pygame/usr/share/pyshared/pygame/freesansbold.ttf
-	for pyvers in $(shell pyversions -vr); do \
+	set -e; for pyvers in $(shell pyversions -vr); do \
 		ln -sf /usr/share/fonts/truetype/freefont/FreeSansBold.ttf \
 		$(CURDIR)/debian/python-pygame/usr/lib/python$$pyvers/dist-packages/pygame/freesansbold.ttf; \
 	done




More information about the Python-modules-commits mailing list