[Python-modules-commits] r2151 - in /packages/python-pygraphviz/trunk/debian: TODO changelog control patches/ rules watch

kibi-guest at users.alioth.debian.org kibi-guest at users.alioth.debian.org
Mon Apr 23 13:01:54 UTC 2007


Author: kibi-guest
Date: Mon Apr 23 13:01:53 2007
New Revision: 2151

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2151
Log:
Prepare 0.34-1 upload, should be the last big commit

Added:
    packages/python-pygraphviz/trunk/debian/TODO
Removed:
    packages/python-pygraphviz/trunk/debian/patches/
Modified:
    packages/python-pygraphviz/trunk/debian/changelog
    packages/python-pygraphviz/trunk/debian/control
    packages/python-pygraphviz/trunk/debian/rules
    packages/python-pygraphviz/trunk/debian/watch

Added: packages/python-pygraphviz/trunk/debian/TODO
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/TODO?rev=2151&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/TODO (added)
+++ packages/python-pygraphviz/trunk/debian/TODO Mon Apr 23 13:01:53 2007
@@ -1,0 +1,13 @@
+python-pygraphviz
+-----------------
+
+  * Notes for 2.12:
+     - move B-D on graphviz-dev to libgraphviz3-dev;
+     - add graphviz, maybe with (>= 2.12-1) to Depends, since commandline
+       tools are also used;
+     - wait for upstream to solve the pkg-config thing (at the moment, -L is
+       supposed to be given, although graphviz is no longer installed in
+       /usr/lib/graphviz);
+     - delete the rpath option in the rules file and the associated override.
+
+ -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>  Sun, 22 Apr 2007 02:08:57 +0200

Modified: packages/python-pygraphviz/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/changelog?rev=2151&op=diff
==============================================================================
--- packages/python-pygraphviz/trunk/debian/changelog (original)
+++ packages/python-pygraphviz/trunk/debian/changelog Mon Apr 23 13:01:53 2007
@@ -1,3 +1,33 @@
+python-pygraphviz (0.34-1) UNRELEASED; urgency=low
+
+  * New upstream release, including:
+     - more tests are available;
+     - use threads and temporary files for multiplatform nonblocking IO;
+     - django example.
+  * Added the Debian Python Modules Team to the Uploaders so that the
+    maintenance of the package is ensured.
+  * Replaced graphviz by ${shlibs:Depends} in the Depends line.
+  * Updated watch file to match the new upstream download area.
+  * debian/rules [mostly patch management]:
+     - added doc relocation, extraneous license deletion, and Readme.txt to
+       README renaming;
+     - dropped the simple-patchsys.mk include and the only patch under
+       debian/patches accordingly;
+     - added the exec permission to all examples, until upstream fixes it.
+  * Preparation for graphviz 2.12:
+     - added TODO(.Debian) to cover some items needing attention when
+       migrating to graphviz 2.12.
+  * Python egg:
+     - added the --single-version-externally-managed option to
+       DEB_PYTHON_INSTALL_ARGS_ALL so that egg-info directories are installed;
+     - set DEB_PYTHON_SETUP_CMD to setup_egg.py instead of setup.py, so that
+       this option is handled appropriately;
+     - rename the egg dir to remove the `-pyX.Y' part;
+     - added a build dependency on python-setuptools and pkg-config
+       accordingly.
+
+ -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>  Sat, 21 Apr 2007 21:57:24 +0200
+
 python-pygraphviz (0.33-3) unstable; urgency=low
 
   * Moved .so file where it belongs (/usr/lib instead of /usr/share), that has

Modified: packages/python-pygraphviz/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/control?rev=2151&op=diff
==============================================================================
--- packages/python-pygraphviz/trunk/debian/control (original)
+++ packages/python-pygraphviz/trunk/debian/control Mon Apr 23 13:01:53 2007
@@ -2,12 +2,13 @@
 Section: python
 Priority: optional
 Maintainer: Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>
-Build-Depends: debhelper (>= 5), cdbs (>= 0.4.43), python-support (>= 0.5.3), python-all-dev (>= 2.3.5-11), graphviz-dev
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.43), python-support (>= 0.5.3), python-all-dev (>= 2.3.5-11), graphviz-dev, python-setuptools, pkg-config
 Standards-Version: 3.7.2
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 
 Package: python-pygraphviz
 Architecture: any
-Depends: ${python:Depends}, graphviz
+Depends: ${python:Depends}, ${shlibs:Depends}
 Provides: ${python:Provides}
 Description: Python interface to the Graphviz graph layout and visualization package
  Pygraphviz is a Python interface to the Graphviz graph layout and

Modified: packages/python-pygraphviz/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/rules?rev=2151&op=diff
==============================================================================
--- packages/python-pygraphviz/trunk/debian/rules (original)
+++ packages/python-pygraphviz/trunk/debian/rules Mon Apr 23 13:01:53 2007
@@ -1,11 +1,14 @@
 #!/usr/bin/make -f
 
+# Commodity variables
+DOC_INSTDIR=$(CURDIR)/debian/python-pygraphviz/usr/share/doc
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
+        | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
 
 # Needed before including python-distutils.mk
 DEB_PYTHON_SYSTEM = pysupport
 
 
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
 
@@ -15,9 +18,33 @@
 DEB_PYTHON_CLEAN_ARGS       = --all
 DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile --force
 
+# 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
+DEB_PYSUPPORT_DIR            = $(CURDIR)/debian/python-pygraphviz/usr/share/python-support/python-pygraphviz
 
-# Lintian override
+# Do not compress the example data file
+DEB_COMPRESS_EXCLUDE        += .dat
+
 binary-install/python-pygraphviz::
+	# Move the documentation
+	mv $(DOC_INSTDIR)/pygraphviz-$(DEB_UPSTREAM_VERSION)/* \
+		$(DOC_INSTDIR)/python-pygraphviz
+	rmdir $(DOC_INSTDIR)/pygraphviz-$(DEB_UPSTREAM_VERSION)
+	
+	# Remove extraneous license file, and rename the README file
+	rm $(DOC_INSTDIR)/python-pygraphviz/License.txt
+	mv -f $(DOC_INSTDIR)/python-pygraphviz/Readme.txt \
+		$(DOC_INSTDIR)/python-pygraphviz/README
+	
+	# Fix example permissions, until upstream fixes it
+	chmod a+x $(DOC_INSTDIR)/python-pygraphviz/examples/*.py
+	
+	# Fix the egg name by removing the 'pyX.Y' part
+	mv $(wildcard $(DEB_PYSUPPORT_DIR)/pygraphviz-*-info) \
+		$(DEB_PYSUPPORT_DIR)/pygraphviz-$(DEB_UPSTREAM_VERSION).egg-info
+	
+	# Lintian override
 	install -m 755 -d $(CURDIR)/debian/python-pygraphviz/usr/share/lintian/overrides
 	install -m 644 debian/python-pygraphviz.lintian-overrides $(CURDIR)/debian/python-pygraphviz/usr/share/lintian/overrides/python-pygraphviz
 

Modified: packages/python-pygraphviz/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/watch?rev=2151&op=diff
==============================================================================
--- packages/python-pygraphviz/trunk/debian/watch (original)
+++ packages/python-pygraphviz/trunk/debian/watch Mon Apr 23 13:01:53 2007
@@ -1,3 +1,3 @@
 version=3
 
-http://sf.net/networkx/ pygraphviz-(.*)\.tar\.gz
+http://networkx.lanl.gov/download/pygraphviz-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list