JFTR, I ended up adding this in debian/rules:

PY_VERSIONS = $(shell pyversions --requested debian/control)

install-stamp-%:
        cd $(DEB_BUILDDIR) && rm CMakeCache.txt && \
          cmake $(DEB_CMAKE_NORMAL_ARGS) $(DEB_CMAKE_EXTRA_FLAGS) \
            -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$*
        make -C $(DEB_BUILDDIR) install DESTDIR=$(CURDIR)/debian/tmp
        touch $@

install/python-ufc:: $(addprefix install-stamp-, $(PY_VERSIONS))

Johannes


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTinrDKgh65KaMjPHT_9DB=jgbay...@mail.gmail.com

Reply via email to