--- python-networkx-0.99.orig/debian/changelog +++ python-networkx-0.99/debian/changelog @@ -0,0 +1,232 @@ +python-networkx (0.99-2ubuntu1) karmic; urgency=low + + * debian/rules: Append --install-layout=deb to setup.py install arguments to + build with Python 2.6; fixes FTBFS. + + -- Alessio Treglia Mon, 25 May 2009 16:01:57 +0200 + +python-networkx (0.99-2) unstable; urgency=low + + * Upload to unstable now that lenny is released (yay). + * Fix FTBFS with python-support 0.90.3: no longer rely on its internal + behaviour, and xnow set tests/test.py executable right after “setup.py + install” (Closes: #517065). + * Drop executable bits from bz2 files. + * Update Vcs-* fields: move from DPMT's svn to collab-maint's git. + * Remote DPMT from Uploaders, following Piotr Ożarowski's request. + + -- Cyril Brulebois Sat, 28 Feb 2009 13:36:24 +0100 + +python-networkx (0.99-1) experimental; urgency=low + + [ Sandro Tosi ] + * debian/control: + + Switch Vcs-Browser field to viewsvn. + + [ Cyril Brulebois ] + * New upstream release. + * Refresh patch accordingly: + + debian/patches/10_doc_relocation. + * debian/rules: + + Update uneeded file list, only INSTALL.txt left. + + Update README renaming, using a new $(DEBIANDOC_DIR) variable. + + Stop removing a directory, no longer created. + * debian/docs: + + Deleted, README taken care of through debian/rules. + * debian/control: + + Bump Standards-Version from 3.7.3 to 3.8.0 (no changes needed). + + Update my mail address. + * debian/copyright: + + Ditto. + + -- Cyril Brulebois Fri, 28 Nov 2008 07:42:43 +0100 + +python-networkx (0.36-2) unstable; urgency=low + + * debian/control: + + Replace python-setuptools with python-pkg-resources in the + “Recommends:” since pkg_resources is now available in this + separate package, thanks Matthias Klose (Closes: #468721). + * debian/copyright: + + Use “© $years $name” instead of invalid “$name, $years” and + “(C) $years, $name”, thanks to lintian. + + -- Cyril Brulebois Sun, 02 Mar 2008 01:06:32 +0100 + +python-networkx (0.36-1) unstable; urgency=low + + [ Sandro Tosi ] + * debian/control: + + Uniformize Vcs-Browser field across the DPMT packages. + + [ Cyril Brulebois ] + * New upstream release. + * debian/copyright: + + Update copyright years. + + Update the list of authors. + * Don't repack anymore, upstream no longer ships the examples that + weren't DFSG-compliant. + * debian/README.Debian: + + Update accordingly. + * debian/watch: + + Remove version mangling, no longer needed. + * debian/rules: + + Delete the networkx.egg-info/SOURCES.txt pristine hack. + + Only remove the whole networkx.egg-info directory in the + “clean” target since it gets generated during the build, now. + + -- Cyril Brulebois Mon, 14 Jan 2008 20:33:16 +0100 + +python-networkx (0.35.1.dfsg-2) unstable; urgency=low + + [ Piotr Ożarowski ] + * Add Homepage field, delete it from the long description. + * Rename XS-Vcs-* fields to Vcs-*. + + [ Cyril Brulebois ] + * Add version mangling to debian/watch, stripping the “.dfsg” part of + the Debian version. + * debian/rules cleanup: Delete trailing whitespaces, delete unused + DEB_UPSTREAM_VERSION (which became wrong anyway, due to the “.dfsg” + part of the version). + * Bump Standards-Version from 3.7.2 to 3.7.3, no change needed. + * Move the build instructions from “binary-arch” to “binary-indep”, + per lintian. + * Move the section from “graphics” to “python”, per lintian. + * Create a pristine copy of the networkx.egg-info/SOURCES.txt file during + the “install” target, which gets restored during the “clean” one. + + -- Cyril Brulebois Thu, 20 Dec 2007 02:39:51 +0100 + +python-networkx (0.35.1.dfsg-1) unstable; urgency=low + + * New upstream release. + * Repack since some examples are not DFSG-free: freely distributable but no + modifications are allowed. + * debian/rules: + + Removed two new unneeded files: Download.txt and Install.txt. + + Removed the find/rm for the .cvsignore files, now deleted upstream. + * debian/control: + + Moved python-all-dev from B-D to B-D-I. + + Added XS-Vcs-Svn and XS-Vcs-Browser fields. + * debian/copyright: + + Updated copyright years. + + Added Eben Kennah as contributor. + * debian/watch: + + Updated, with the addition networkx/ directory. + + -- Cyril Brulebois Sat, 28 Jul 2007 13:23:14 +0200 + +python-networkx (0.34-2) unstable; urgency=low + + * Added a versioned B-D on python-suppport (>= 0.6.4) since #422436 is + fixed in this version, and on python-all-dev (>= 2.3.5-11), according + to the Python Policy. + * Dropped the manual egg renaming, which isn't needed anymore, and even + fails with the new python-support (Closes: #423981). + * Turned setup.py usage into setup_egg.py usage. 20_egg_support patch + dropped accordingly. + * Added a TODO file so as not to forget TODO items for next uploads. + * Added a find/rm to remove some .cvsignore files, now installed after + the switch to setup_egg.py. + * Adjusted README.Debian and Recommends:, since python-yaml is now packaged, + and added instructions to run the testsuite from a python interpreter. + + -- Cyril Brulebois Tue, 15 May 2007 10:59:02 +0200 + +python-networkx (0.34-1) unstable; urgency=low + + * New upstream release. + * Many thanks to Piotr Ożarowski for his careful review and his numerous + suggestions for this upload. + * Examples might not work out of the box due to the compression of the data + files, but adding support for compressed data files has been requested + upstream (#104), so that the data files don't have to be shipped + uncompressed. Should be working in the next version. + * Added the Debian Python Modules Team in the Uploaders field. + * Updated rules file to delete an empty directory (data/, under the doc/ + directory). + * Adjusted the folding in the long description for the homepage. + * Added missing B-D on setuptools, needed for the egg installation. It is + versioned so that one is ensured that egg support is present (e.g. when + backporting). + * Added missing Recommends on python-matplotlib. + * Removed unneeded items in the rules file (e.g. CFLAGS, dh_strip, etc.) as + well as ${python:Provides} and ${shlibs:Depends} in the control file. + * Removed the lintian override and added a chmod call to +x the test script + after the dh_pysupport call. + * Dropped unneeded build-stamp, configure, configure-stamp targets in the + rules file. + * Added *.pyc cleanup in the clean target. During a normal build it + shouldn't be needed, but might be useful when playing around with the + package. + + -- Cyril Brulebois Mon, 23 Apr 2007 13:30:39 +0200 + +python-networkx (0.33-1) unstable; urgency=low + + * New upstream release. + * New features: + - draw edges with specified colormap + - more efficient version of Floyd's algorithm for all pairs shortest path + - include tests in source package (networkx/tests) + - include documentation in source package (doc) + * Bug fixes: + - refactored large modules into smaller code files + - degree(nbunch) now returns degrees in same order as nbunch + - degree() now works for multiedges=True + - update node_boundary and edge_boundary for efficiency + - edited documentation for graph classes, now mostly in info.py + * Removed python-numeric from Recommends: (obsolete, no longer supported). + * Added python-setuptools to Recommends: so that one can easily use the + following to run the testsuite. + import networkx + networkx.test() + * Changed watch file from sourceforge to upstream's homepage download + section. + * Changed the install rule so that there's no .pyc compilation at all, since + they are created during the postinst (and thus were deleted after the + ``setup.py install'' call). + * Switched from dpatch to quilt to ease patch management. + + + Thanks to Oleksandr Moskalenko and Piotr Ożarowski for the time they spent + on advising me about the following items. + * Added a B-D on python-all-dev. + * Added egg support: + - added 20_egg_support to import setup from setuptools in setup.py; + - added the --single-version-externally-managed option to the + "setup.py install" call; + - tweaked debian/rules to strip out the version info from the egg + info dir. + * Cleaned *.txt documentation files: license-related files are no longer + installed, superseded by debian/copyright, and Readme.txt is installed as + README. + + -- Cyril Brulebois Fri, 06 Apr 2007 19:10:42 +0200 + +python-networkx (0.32-2) unstable; urgency=low + + * Added a Recommends: on python-pygraphviz | python-pydot, thanks to Seo + Sanghyeon for the notice about pydot (Closes: #401657). + * Fixed a typo in the debian/watch file. + + -- Cyril Brulebois Wed, 6 Dec 2006 14:07:37 +0100 + +python-networkx (0.32-1) unstable; urgency=low + + * Initial release (Closes: #323398) + * Added an override for the tests/test.py file which is not executable due + to python-support (apparently). Interested users should be able to run + this script by prepending its name with the interpreter. + * Added ``2.4-'' into debian/pyversions since the installation fails when + byte-compiling for python2.3. Upstream will be reported that problem since + that release is said to be for python >= 2.3. + * Added Recommends: on all packages needed for the tests/test.py to run + almost OK. There's currently no package providing `yaml' so that having + ``import yaml'' in a python script is OK. + * Added a note about the previous point in the README.Debian file. + * Added Suggests: on all optional packages suggested by upstream. + + -- Cyril Brulebois Wed, 25 Oct 2006 17:52:26 +0200 + --- python-networkx-0.99.orig/debian/README.Debian +++ python-networkx-0.99/debian/README.Debian @@ -0,0 +1,25 @@ +python-networkx for Debian +-------------------------- + +As stated in the changelog, I put in Recommends: all the packages needed +to get the networkx/tests/test.py script run OK. + +To run the testsuite: + cd /usr/share/python-support/python-networkx/networkx/tests + python test.py + +Another way is to use a python interpreter and execute: + import networkx.tests + networkx.tests.run() + +To list the recommended packages: + LANG=C apt-cache show python-networkx | grep ^Recommends: + +Some examples won't be functional: they depend on some files that aren't +shipped by upstream because modifications are not allowed, but can be +found easily by using a web search engine: + miles.dat.gz + roget.dat.gz + words.dat.gz + + -- Cyril Brulebois Sat, 28 Jul 2007 13:23:14 +0200 --- python-networkx-0.99.orig/debian/control +++ python-networkx-0.99/debian/control @@ -0,0 +1,28 @@ +Source: python-networkx +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Cyril Brulebois +Build-Depends: debhelper (>= 5), quilt (>= 0.40) +Build-Depends-Indep: python-all-dev (>= 2.3.5-11), python-support (>= 0.6.4), python-setuptools (>= 0.6a9) +Standards-Version: 3.8.0 +Homepage: https://networkx.lanl.gov/ +Vcs-Git: git://git.debian.org/git/collab-maint/python-networkx.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/python-networkx.git + +Package: python-networkx +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Recommends: python-numpy, python-scipy, python-pygraphviz | python-pydot, python-pkg-resources, python-matplotlib, python-yaml +Description: tool to manipulate and study more than complex networks + NetworkX is a Python-based package for the creation, manipulation, and + study of the structure, dynamics, and functions of complex networks. + . + The structure of a graph or network is encoded in the edges (connections, + links, ties, arcs, bonds) between nodes (vertices, sites, actors). If + unqualified, by graph we mean a simple undirected graph, i.e. no + self-loops and no multiple edges are allowed. By a network we usually + mean a graph with weights (fields, properties) on nodes and/or edges. + . + The potential audience for NetworkX includes: mathematicians, physicists, + biologists, computer scientists, social scientists. --- python-networkx-0.99.orig/debian/pyversions +++ python-networkx-0.99/debian/pyversions @@ -0,0 +1 @@ +2.4- --- python-networkx-0.99.orig/debian/watch +++ python-networkx-0.99/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://networkx.lanl.gov/download/networkx/networkx-(.*).tar.gz --- python-networkx-0.99.orig/debian/compat +++ python-networkx-0.99/debian/compat @@ -0,0 +1 @@ +5 --- python-networkx-0.99.orig/debian/copyright +++ python-networkx-0.99/debian/copyright @@ -0,0 +1,54 @@ +This package was debianized by Cyril Brulebois on +Wed, 25 Oct 2006 17:52:26 +0200. + +It was downloaded from https://networkx.lanl.gov/ + +Upstream Authors and Copyright Holders: + © 2004-2008 Aric Hagberg + © 2004-2008 Pieter Swart + © 2004-2008 Dan Schult + +Additional Authors having left their copyrights to the Upstream Authors and +Copyright Holders listed just above: + A. L. Barabási and R. Albert + A. Steger and N. Wormald + Brendt Wohlberg + C. Gkantsidis, M. Mihail, and E. Zegura + Coen Bron and Joep Kerbosch + Fan Chung and L. Lu + Jean-Loup Guillaume and Matthieu Latapy + Jeong Han Kim and Van H. Vu + Katy Bold + Lun Li, David Alderson, Reiko Tanaka, John C. Doyle, and Walter Willinger + M. E. J. Newman + P. Holme and B. J. Kim + P. L. Krapivsky and S. Redner + Robert Sedgewick + Russel Merris + Eben Kenah + Sasha Gutfraind + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + + +The Debian packaging is: + © 2006-2008 Cyril Brulebois + +It is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- python-networkx-0.99.orig/debian/rules +++ python-networkx-0.99/debian/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYSUPPORT_DIR=debian/python-networkx/usr/share/python-support/python-networkx +DEBIANDOC_DIR=$(CURDIR)/debian/python-networkx/usr/share/doc/python-networkx + +include /usr/share/quilt/quilt.make + +build: patch + +clean: clean-patched unpatch + +clean-patched: + dh_testdir + dh_testroot + + # Add here commands to clean up after the build process. + -rm -r build + + # Make sure that there's no .pyc left + find . -name '*.pyc' -exec rm {} ';' + + # This directory is generated during the build + rm -rf networkx.egg-info + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Install w/o compiling *.pyc files + # Install egg-info directories (--single-... option) + python setup_egg.py install --no-compile --root=$(CURDIR)/debian/python-networkx \ + --single-version-externally-managed --install-layout=deb + + # Fix executable bits: + chmod +x debian/python-networkx/usr/lib/`pyversions -d`/*-packages/networkx/tests/test.py + find debian/python-networkx -name '*.bz2' -exec chmod a-x {} ';' + + # Do some cleanup: delete an unneeded file + rm $(DEBIANDOC_DIR)/INSTALL.txt + + # Rename the README file. + mv $(DEBIANDOC_DIR)/README.txt $(DEBIANDOC_DIR)/README + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_pysupport + dh_installman + dh_link + dh_compress + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- python-networkx-0.99.orig/debian/patches/series +++ python-networkx-0.99/debian/patches/series @@ -0,0 +1 @@ +10_doc_relocation --- python-networkx-0.99.orig/debian/patches/10_doc_relocation +++ python-networkx-0.99/debian/patches/10_doc_relocation @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -37,7 +37,7 @@ + "networkx.tests", + ] + +-docdirbase = 'share/doc/networkx-%s' % version ++docdirbase = 'share/doc/python-networkx' + # add basic documentation + data = [(docdirbase, glob("*.txt"))] + # add examples