[Python-modules-commits] r6725 - in packages/python-ad/trunk/debian (4 files)

mbaldessari-guest at users.alioth.debian.org mbaldessari-guest at users.alioth.debian.org
Wed Oct 22 20:38:12 UTC 2008


    Date: Wednesday, October 22, 2008 @ 20:38:11
  Author: mbaldessari-guest
Revision: 6725

* Added a python-ad-dbg package

Added:
  packages/python-ad/trunk/debian/python-ad.install
Modified:
  packages/python-ad/trunk/debian/changelog
  packages/python-ad/trunk/debian/control
  packages/python-ad/trunk/debian/rules

Modified: packages/python-ad/trunk/debian/changelog
===================================================================
--- packages/python-ad/trunk/debian/changelog	2008-10-22 09:42:20 UTC (rev 6724)
+++ packages/python-ad/trunk/debian/changelog	2008-10-22 20:38:11 UTC (rev 6725)
@@ -1,4 +1,4 @@
-python-ad (0.8-3) unstable; urgency=low
+python-ad (0.8-3) UNRELEASED; urgency=low
 
   * Move tutorial .py files under doc/examples/
   * Fix watch file
@@ -8,6 +8,7 @@
   * Tightened up dependencies on cdbs 
   * Loosened dependencies on debhelper to ease backporting
   * Moved debian/copyright to parseable format
+  * Added a python-ad-dbg package
 
  -- Michele Baldessari <michele at pupazzo.org>  Fri, 17 Oct 2008 20:36:17 +0200
 

Modified: packages/python-ad/trunk/debian/control
===================================================================
--- packages/python-ad/trunk/debian/control	2008-10-22 09:42:20 UTC (rev 6724)
+++ packages/python-ad/trunk/debian/control	2008-10-22 20:38:11 UTC (rev 6725)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Michele Baldessari <michele at pupazzo.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5), python-support (>= 0.5.3), python-all-dev (>= 2.3.5-11), libldap2-dev, libsasl2-dev, cdbs (>= 0.4.41), docbook-xsl, dpatch, libkrb5-dev, xsltproc
+Build-Depends: debhelper (>= 5), python-support (>= 0.5.3), python-all-dev (>= 2.3.5-11), python-all-dbg, libldap2-dev, libsasl2-dev, cdbs (>= 0.4.41), docbook-xsl, dpatch, libkrb5-dev, xsltproc
 Standards-Version: 3.8.0
 Homepage: http://www.boskant.nl/trac/python-ad
 Vcs-Browser: http://www.boskant.nl/trac/python-ad/browser
@@ -21,3 +21,18 @@
  paged results according to RFC2696, incremental retrieval of 
  multi-valued attributes, serverless binding, server specific binding
  and querying the global catalog.
+
+Package: python-ad-dbg
+Architecture: any
+Depends: python-ad (= ${binary:Version}), python-dbg, ${shlibs:Depends}
+Description: Active Directory interface module for Python
+ This Python module allows the manipulation of objects in Microsoft's 
+ Active Directory. 
+ .
+ It supports: auto-discovery of domain controllers, simple handling of 
+ Kerberos credentials, transparent multi-domain functionality,
+ paged results according to RFC2696, incremental retrieval of 
+ multi-valued attributes, serverless binding, server specific binding
+ and querying the global catalog.
+ .
+ This package contains the extension built for the Python debug interpreter.

Added: packages/python-ad/trunk/debian/python-ad.install
===================================================================
--- packages/python-ad/trunk/debian/python-ad.install	                        (rev 0)
+++ packages/python-ad/trunk/debian/python-ad.install	2008-10-22 20:38:11 UTC (rev 6725)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python*

Modified: packages/python-ad/trunk/debian/rules
===================================================================
--- packages/python-ad/trunk/debian/rules	2008-10-22 09:42:20 UTC (rev 6724)
+++ packages/python-ad/trunk/debian/rules	2008-10-22 20:38:11 UTC (rev 6725)
@@ -6,6 +6,8 @@
 include /usr/share/cdbs/1/rules/dpatch.mk 
 include /usr/share/cdbs/1/class/python-distutils.mk
 
+DEB_DBG_PACKAGE_python-ad-dbg = python-ad-dbg
+
 # Don't compress .py files
 #DEB_COMPRESS_EXCLUDE := .py .txt .cfg
 
@@ -15,5 +17,24 @@
 build/python-ad::
 	make -C doc STYLESHEET=/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/chunk.xsl
 
+build/python-ad-dbg::
+	set -e; \
+	for i in $(cdbs_python_build_versions); do \
+	  python$$i-dbg ./setup.py build; \
+	done
+
+install/python-ad-dbg::
+	for i in $(cdbs_python_build_versions); do \
+	  python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-ad-dbg; \
+	done
+	find debian/python-ad-dbg \
+		! -type d ! -name '*_d.so' | xargs rm -f
+	find debian/python-ad-dbg -depth -empty -exec rmdir {} \;
+
+binary-predeb/python-ad-dbg::
+	rm -rf debian/python-ad-dbg/usr/share/doc/python-ad-dbg
+	ln -s python-ad debian/python-ad-dbg/usr/share/doc/python-ad-dbg
+
+
 clean::
 	@rm -rf build doc/out




More information about the Python-modules-commits mailing list