Thanks for your bug report. Please take a closer look at python-
distutils.mk.in and especially at the beginning of the file (starting
from line 51):

--- 8< ---
ifeq (pysupport, $(DEB_PYTHON_SYSTEM))
(...)
else
  ifeq (pycentral, $(DEB_PYTHON_SYSTEM))
(...)
  else
    ifneq (, $(DEB_PYTHON_SYSTEM))
      $(error unsupported Python system: $(DEB_PYTHON_SYSTEM) (select either 
pysupport or pycentral))
    else
(...)
      ifneq (, $(cdbs_use_xs_field))
        $(error Your package uses the new Python policy; you must set 
DEB_PYTHON_SYSTEM to "pysupport" or "pycentral".)
      endif
(...)
    endif # unknown method
  endif # pycentral
endif # pysupport
--- 8< ---

Therefore if you try to build a package following the new python policy
(e.g. if there's a debian/pycompat file) and without defining
DEB_PYTHON_SYSTEM the build will fail. If cdbs can't find a clue about
whether the package follows the new or the old policy and if
DEB_PYTHON_SYSTEM is not defined then the package will be built
following the old policy (and it will display a big fat warning ;))

** Changed in: cdbs (Ubuntu)
       Status: Unconfirmed => Rejected

-- 
[Edgy] python-distutils class assumes pycentral if DEB_PYTHON_SYSTEM not defined
https://launchpad.net/bugs/53568

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to