[Python-modules-commits] r28105 - in packages/python-keyczar/trunk/debian (rules)

chrisk-guest at users.alioth.debian.org chrisk-guest at users.alioth.debian.org
Mon Mar 10 00:39:39 UTC 2014


    Date: Monday, March 10, 2014 @ 00:39:38
  Author: chrisk-guest
Revision: 28105

Readability enhancement for debian/rules

Modified:
  packages/python-keyczar/trunk/debian/rules

Modified: packages/python-keyczar/trunk/debian/rules
===================================================================
--- packages/python-keyczar/trunk/debian/rules	2014-03-10 00:39:19 UTC (rev 28104)
+++ packages/python-keyczar/trunk/debian/rules	2014-03-10 00:39:38 UTC (rev 28105)
@@ -5,6 +5,7 @@
 #export DH_VERBOSE=1
 
 PYVERS = $(shell pyversions -r -v)
+PYPLATFORM = $(shell python -c 'import distutils.util as d; print d.get_platform()')
 
 
 %:
@@ -15,6 +16,6 @@
 	set -e ; \
 	cd tests/keyczar_tests/; \
 	for py in $(PYVERS); do  \
-		PYTHONPATH=$(CURDIR)/build/lib.$(shell python -c 'import distutils.util as d; print d.get_platform()')-$$py python$$py alltests.py; \
+		PYTHONPATH=$(CURDIR)/build/lib.$(PYPLATFORM)-$$py python$$py alltests.py; \
 	done
 endif




More information about the Python-modules-commits mailing list