[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cdbs + python + multiple



Hi,

  I'm trying to separate documention from a working cdbs + python pkg.
  If I add in control the definition for a package for the documentation
  (sqlkit-doc) cdbs no longer adds the python package in the right place. 

  in the case of a single packet I see in the log::

dh_installdirs -ppython-sqlkit 
cd . && python setup.py install --root=/tmp/build/sqlkit-0.8.6/debian/python-sqlkit/ --no-compile -O0
  
  while in case of multipackage::

dh_installdirs -ppython-sqlkit 
cd . && python setup.py install --root=/tmp/build/sqlkit-0.8.6/debian/tmp/ --no-compile -O0


  where clearly the --root is 'tmp' instead of 'python-sqlkit'
  What should I do to fix this with cdbs? 

  My debian/rules is::

include /usr/share/cdbs/1/rules/debhelper.mk
DEB_PYTHON_SYSTEM = pysupport
DEB_COMPRESS_EXCLUDE := .py .sqlite .js
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

install/python-sqlkit::
        dh_bash-completion

install/sqlkit-doc::
        mkdir -p doc/html doc/.doctrees
        sphinx-build doc doc/html


thanks in advance
*:-)

-- 
Sandro Dentella  *:-)
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy


Reply to: