[Python-modules-commits] r6140 - in packages/matplotlib/trunk/debian (rules)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Sun Aug 10 18:43:17 UTC 2008
Date: Sunday, August 10, 2008 @ 18:43:16
Author: piotr
Revision: 6140
replace dpkg-architecture's output with distutils' one in PYTHONPATH
Modified:
packages/matplotlib/trunk/debian/rules
Modified: packages/matplotlib/trunk/debian/rules
===================================================================
--- packages/matplotlib/trunk/debian/rules 2008-08-10 15:38:53 UTC (rev 6139)
+++ packages/matplotlib/trunk/debian/rules 2008-08-10 18:43:16 UTC (rev 6140)
@@ -8,6 +8,7 @@
PYVERS := $(shell pyversions -v -r debian/control)
DEFPY := $(shell pyversions -v -d)
+PY_PLATFORM=$(shell python -c 'from distutils.util import get_platform; print get_platform()')
pd := python-matplotlib-doc
p := python-matplotlib
pdata := python-matplotlib-data
@@ -23,7 +24,7 @@
# build the doc
-( cd doc ; MATPLOTLIBDATA=../lib/matplotlib/mpl-data/ \
- PYTHONPATH=../build/lib.$(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)-*-$(DEFPY) ./make.py )
+ PYTHONPATH=../build/lib.$(PY_PLATFORM)-$(DEFPY) ./make.py )
touch build-indep-stamp
More information about the Python-modules-commits
mailing list