Control: tags -1 + patch I've prepared a patch that adds a -dbg package. The package builds, the main package appears to have the same content as the old version and the -dbg package appears to have proper content, but I didn't actually install and test the packages (I also didn't try to build in a pbuilder chroot).
Note that the patch renames two files so `svn mv` should be used to keep the history. -- WBR, wRAR
Index: debian/docs =================================================================== --- debian/docs (revision 22979) +++ debian/docs (working copy) @@ -1 +0,0 @@ -enthought.traits/docs/*.pdf Index: debian/rules =================================================================== --- debian/rules (revision 22979) +++ debian/rules (working copy) @@ -5,8 +5,7 @@ DEB_COMPRESS_EXCLUDE := .py DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed -DEB_DESTDIR = $(CURDIR)/debian/python-traits -PYSHARED = $(DEB_DESTDIR)/usr/share/pyshared +PYSHARED = $(CURDIR)/debian/python-traits/usr/share/pyshared binary-predeb/python-traits:: find $(PYSHARED) -type f | xargs sed -i '/^#!/d' @@ -14,3 +13,19 @@ get-orig-source: -uscan --force-download --rename + +build/python-traits-dbg:: + set -e; \ + for i in $(cdbs_python_build_versions); do \ + python$$i-dbg ./setup.py build; \ + done + +install/python-traits:: + for i in $(cdbs_python_build_versions); do \ + python$$i ./setup.py install --root $(CURDIR)/debian/python-traits; \ + done + +install/python-traits-dbg:: + for i in $(cdbs_python_build_versions); do \ + python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-traits-dbg; \ + done Index: debian/examples =================================================================== --- debian/examples (revision 22979) +++ debian/examples (working copy) @@ -1 +0,0 @@ -examples/* Index: debian/control =================================================================== --- debian/control (revision 22979) +++ debian/control (working copy) @@ -3,7 +3,7 @@ Priority: optional Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> Uploaders: Varun Hiremath <va...@debian.org> -Build-Depends: cdbs (>= 0.4.90~), debhelper (>= 7), python-all-dev (>= 2.6.6-3~), python-setupdocs +Build-Depends: cdbs (>= 0.4.90~), debhelper (>= 7), python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.6.6-3~), python-setupdocs Standards-Version: 3.9.3 Homepage: http://pypi.python.org/pypi/traits X-Python-Version: >=2.5 @@ -27,3 +27,25 @@ callbacks * Visualization: With the TraitsUI package, GUIs can be generated automatically from traited objects. + +Package: python-traits-dbg +Architecture: any +Priority: extra +Section: debug +Depends: python-traits (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} +Recommends: python-dbg +Description: Manifest typing and reactive programming for Python (debug extension) + The traits package provides a metaclass with special attributes that + are called traits. A trait is a type definition that can be used for + normal Python object attributes, giving the attributes some + additional characteristics: + * Initialization: A trait attribute can have a default value + * Validation: A trait attribute is manifestly typed. + * Delegation: The value of a trait attribute can be contained in another + object + * Notification: Setting the value of a trait attribute can fired + callbacks + * Visualization: With the TraitsUI package, GUIs can be generated + automatically from traited objects. + . + This package contains the extension built for the Python debug interpreter.
signature.asc
Description: Digital signature
_______________________________________________ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team