diff --git a/debian/rules b/debian/rules
index 9290ed3d0291193012eea65d1e8f20579e61b22c..cce2ae287370bd2420d7ad5d2a8dac9508b802a3 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
RUBY_VERS := 1.8 1.9
RUBY_DEFAULT_VERS := 1.8
-#Python versions to build for. The work-around-doko way.
-PY_VERS := $(shell set -e; \
- for py in `pysupport-parseversions debian/pyversions`; do \
- if [ -x /usr/bin/python$$py ]; then echo $$py; fi; \
- done)
+PY_VERS := $(shell pyversions -vr)
#tcl version we're building for
TCL_VERS := $(shell dpkg -s tcl-dev | grep '^Depends' \