[Python-modules-commits] r14442 - in packages/python-pygraphviz/trunk/debian (3 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri Sep 17 21:43:23 UTC 2010


    Date: Friday, September 17, 2010 @ 21:43:17
  Author: morph
Revision: 14442

* debian/{control, rules}
  - added python-pygraphviz-dbg package

Modified:
  packages/python-pygraphviz/trunk/debian/changelog
  packages/python-pygraphviz/trunk/debian/control
  packages/python-pygraphviz/trunk/debian/rules

Modified: packages/python-pygraphviz/trunk/debian/changelog
===================================================================
--- packages/python-pygraphviz/trunk/debian/changelog	2010-09-17 17:32:40 UTC (rev 14441)
+++ packages/python-pygraphviz/trunk/debian/changelog	2010-09-17 21:43:17 UTC (rev 14442)
@@ -3,8 +3,10 @@
   * debian/patches/20_doc_install_path, debian/rules
     - install the documentation in the expected Debian directory, so part of doc
       installation was semplified in rules
+  * debian/{control, rules}
+    - added python-pygraphviz-dbg package
 
- -- Sandro Tosi <morph at debian.org>  Fri, 17 Sep 2010 19:30:30 +0200
+ -- Sandro Tosi <morph at debian.org>  Fri, 17 Sep 2010 23:42:34 +0200
 
 python-pygraphviz (1.0-1) unstable; urgency=low
 

Modified: packages/python-pygraphviz/trunk/debian/control
===================================================================
--- packages/python-pygraphviz/trunk/debian/control	2010-09-17 17:32:40 UTC (rev 14441)
+++ packages/python-pygraphviz/trunk/debian/control	2010-09-17 21:43:17 UTC (rev 14442)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sandro Tosi <morph at debian.org>
-Build-Depends: debhelper (>= 5), cdbs (>= 0.4.43), python-support (>= 0.6.4), python-all-dev (>= 2.3.5-11), libgraphviz-dev, python-setuptools, pkg-config
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.43), python-support (>= 0.6.4), python-all-dev (>= 2.3.5-11), python-all-dbg, libgraphviz-dev, python-setuptools, pkg-config
 Standards-Version: 3.9.1
 XS-Python-Version: >= 2.5
 Homepage: http://networkx.lanl.gov/pygraphviz/
@@ -20,3 +20,18 @@
  .
  With Pygraphviz you can create, edit, read, write, and draw graphs using
  Python to access the Graphviz graph data structure and layout algorithms.
+
+Package: python-pygraphviz-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: ${misc:Depends}, python-pygraphviz (= ${binary:Version}), python-dbg, ${shlibs:Depends}
+Description: Python interface to the Graphviz graph layout and visualization package
+ Pygraphviz is a Python interface to the Graphviz graph layout and
+ visualization package.
+ .
+ With Pygraphviz you can create, edit, read, write, and draw graphs using
+ Python to access the Graphviz graph data structure and layout algorithms.
+ .
+ This package contains the debug extension for python-openssl.
+

Modified: packages/python-pygraphviz/trunk/debian/rules
===================================================================
--- packages/python-pygraphviz/trunk/debian/rules	2010-09-17 17:32:40 UTC (rev 14441)
+++ packages/python-pygraphviz/trunk/debian/rules	2010-09-17 21:43:17 UTC (rev 14442)
@@ -19,12 +19,12 @@
 # Install egg-info directories, using setup_egg.py instead of setup.py
 DEB_PYTHON_SETUP_CMD         = setup_egg.py
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed \
-				--prefix=/usr
+				--prefix=/usr --root $(CURDIR)/debian/python-pygraphviz
 
 install/python-pygraphviz::
 	# Fix test.py permissions (not an upstream problem):
 	for i in `pyversions -s`; do \
-		chmod +x debian/python-pygraphviz/usr/lib/$$i/site-packages/pygraphviz/tests/test.py; \
+		chmod +x debian/*/usr/lib/$$i/*-packages/pygraphviz/tests/test.py; \
 	done
 
 binary-install/python-pygraphviz::
@@ -49,6 +49,19 @@
 	cd $(DEB_SRCDIR) && python$* $(DEB_PYTHON_SETUP_CMD) build_py $(DEB_PYTHON_BUILD_ARGS)
 	touch $@
 
+install/python-pygraphviz-dbg::
+	for i in $(cdbs_python_build_versions); do \
+		python$$i-dbg $(DEB_PYTHON_SETUP_CMD) install --root $(CURDIR)/debian/python-pygraphviz-dbg; \
+	done
+	find debian/python-pygraphviz-dbg \
+	! -type d ! -name '*_d.so' | xargs rm -f
+	find debian/python-pygraphviz-dbg -depth -empty -exec rmdir {} \;
+
+binary-predeb/python-pygraphviz-dbg::
+	rm -rf debian/python-pygraphviz-dbg/usr/share/doc/python-pygraphviz-dbg
+	ln -s python-pygraphviz debian/python-pygraphviz-dbg/usr/share/doc/python-pygraphviz-dbg
+
+
 clean::
 	# Shipped in the source tarball, generated again during the build
 	rm -rf pygraphviz.egg-info




More information about the Python-modules-commits mailing list