debian/0000755000000000000000000000000012200015351007153 5ustar debian/control0000644000000000000000000000326012177454077010610 0ustar Source: python-pygraphviz Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Sandro Tosi 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.4 XS-Python-Version: >= 2.5 Homepage: http://networkx.lanl.gov/pygraphviz/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-pygraphviz/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-pygraphviz/trunk/ Package: python-pygraphviz Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, graphviz (>= 2.16), ${misc: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 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. 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 (debug extension) 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. debian/source/0000755000000000000000000000000012200015351010453 5ustar debian/source/format0000644000000000000000000000001411410444330011666 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000037011337550725011355 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. For more information about quilt, see /usr/share/doc/quilt/README.source debian/rules0000755000000000000000000000461311751513371010256 0ustar #!/usr/bin/make -f # Commodity variables DOC_INSTDIR=$(CURDIR)/debian/python-pygraphviz/usr/share/doc/python-pygraphviz # Needed before including python-distutils.mk DEB_PYTHON_SYSTEM = pysupport include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk # Some variables DEB_PYTHON_MODULE_PACKAGE = pygraphviz 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 \ --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/*/usr/lib/$$i/*-packages/pygraphviz/tests/test.py; \ done binary-install/python-pygraphviz:: # Remove extraneous license file, and rename the README file rm $(DOC_INSTDIR)/INSTALL.txt mv -f $(DOC_INSTDIR)/README.txt $(DOC_INSTDIR)/README # Fix example permissions, until upstream fixes it chmod a+x $(DOC_INSTDIR)/examples/*.py # BUILD_ARGS should contain --build-base but it's: # - neither supported by the setup.py script # - nor needed DEB_PYTHON_BUILD_ARGS = # CDBS doesn't allow separate build steps for module and extension, let's hack it: # - copied the following target from the python-distutils.mk (CDBS Makefile) # - deleted arch=all test since we _do_ have an extension => arch=any python-build-stamp-%:: cd $(DEB_SRCDIR) && python$* $(DEB_PYTHON_SETUP_CMD) build_ext $(DEB_PYTHON_BUILD_ARGS) $(DEB_PYTHON_BUILD_EXTENSION_ARGS) 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 rm -rf python-build-stamp build debian/copyright0000644000000000000000000000771012177453556011145 0ustar This package was debianized by Cyril Brulebois on Sat, 4 Nov 2006 21:26:26 +0100. It was downloaded from http://networkx.lanl.gov/download/pygraphviz Upstream Authors: Aric Hagberg Dan Schult Manos Renieris, http://www.cs.brown.edu/~er/ Copyright: Copyright (C) 2004-2013 by Aric Hagberg Dan Schult Manos Renieris, http://www.cs.brown.edu/~er/ License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Notice ------ This software and ancillary information (herein called SOFTWARE ) called pygraphviz is made available under the terms described here. The SOFTWARE has been approved for release with associated LA-CC number 04-073. Unless otherwise indicated, this SOFTWARE has been authored by an employee or employees of the University of California, operator of the Los Alamos National Laboratory under Contract No. W-7405-ENG-36 with the U.S. Department of Energy. The U.S. Government has rights to use, reproduce, and distribute this SOFTWARE. The public may copy, distribute, prepare derivative works and publicly display this SOFTWARE without charge, provided that this Notice and any statement of authorship are reproduced on all copies. Neither the Government nor the University makes any warranty, express or implied, or assumes any liability or responsibility for the use of this SOFTWARE. If SOFTWARE is modified to produce derivative works, such modified SOFTWARE should be clearly marked, so as not to confuse it with the version available from Los Alamos National Laboratory. The licensing terms of doc/examples/miles_dat.txt.gz are a bit different: This file miles_dat.txt is part of PyGraphviz and is distributed with the same license as PyGraphviz. Distributed with BSD license. This file is not part of the Stanford GraphBase; the name has been changed to avoid any confusion with files from that collection. Original attribution: File "miles.dat" from the Stanford GraphBase (C) 1993 Stanford University Revised mileage data for highways in the United States and Canada, 1949 This file may be freely copied but please do not change it in any way! (Checksum parameters 696,295999341) The Debian packaging is: © 2006-2008, Cyril Brulebois © 2010-2013, Sandro Tosi and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/docs0000644000000000000000000000001311114331451010025 0ustar README.txt debian/changelog0000644000000000000000000003201112200015321011017 0ustar python-pygraphviz (1.2-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Sandro Tosi ] * New upstream release * debian/watch - updated for new upstream tarballs location * debian/copyright - update upstream copyright years and author email - extended packaging copyright years * debian/control - bump Standards-Version to 3.9.4 (no changes needed) -- Sandro Tosi Mon, 05 Aug 2013 23:36:04 +0200 python-pygraphviz (1.1-2) unstable; urgency=low * debian/rules - remove leftover from build process, so the package can be built twice in a row; thanks to Jakub Wilk for the report; Closes: #671253 -- Sandro Tosi Sun, 06 May 2012 17:20:23 +0200 python-pygraphviz (1.1-1) unstable; urgency=low * New upstream release * 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 * debian/copyright - extended packaging copyright years - updated upstream copyright years * debian/control - bump Standards-Version to 3.9.2 (no changes needed) -- Sandro Tosi Sun, 16 Oct 2011 14:47:32 +0200 python-pygraphviz (1.0-1) unstable; urgency=low * New upstream release * debian/copyright - updated download location - updated upstream copyright years * debian/control - bump Standards-Version to 3.9.1 + removed references to BSD licenses from debian/copyright * debian/patches/changeset_r{1131, 1746, 1752}.diff - removed, shipped with upstream tarball -- Sandro Tosi Mon, 02 Aug 2010 23:26:30 +0200 python-pygraphviz (0.99.1-2) unstable; urgency=low * debian/{control, source/format, rules} - switch to '3.0 (quilt)' source format * debian/{control, pyversions} - removed pyversions, now using XS-P-V * debian/watch - only report number-only versions * debian/patches/changeset_r{1131, 1746, 1752}.diff - added from upstream svn to support Python 2.6 (no string exceptions and not access to __dict__); Closes: #585317 -- Sandro Tosi Thu, 24 Jun 2010 16:37:25 +0200 python-pygraphviz (0.99.1-1) unstable; urgency=low * New upstream release; thanks to David Claughton for the report; Closes: #568031 * debian/control - take maintainership back under DPMT umbrella; thanks to Cyril Brulebois for his work - adjust Vcs-{Svn, Browser} to point to DPMT location - bump Standards-Version to 3.8.4 + added debian/README.source * debian/copyright - update copyright notice for packaging * debian/pycompat - removed, no more needed * debian/pyversions - minimum version set to 2.5 * debian/patches/10_ship_examples_miles.dat - updated for new upstream code - added description * debian/patches/20_add_python_shebang - removed, fixed upstream -- Sandro Tosi Mon, 22 Feb 2010 19:17:33 +0100 python-pygraphviz (0.99-3) unstable; urgency=low * Avoid installation in /usr/local by adding “--prefix=/usr” through the DEB_PYTHON_INSTALL_ARGS_ALL variable. Many thanks to Piotr Ożarowski for reporting, and to Kumar Appaiah for the patch. Good work on getting python2.6 rocking and rolling! (Closes: #556157). * Fix Homepage field since upstream's website got shuffled around, thanks to Denis Laxalde (Closes: #559059). -- Cyril Brulebois Sat, 05 Dec 2009 02:25:39 +0100 python-pygraphviz (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 now set tests/test.py executable in the install target (Closes: #517080). * Tidy up debian/rules some more. * Update Vcs-* fields: move from DPMT's svn to collab-maint's git. * Remote DPMT from Uploaders, following Piotr Ożarowski's request. * Add ${misc:Depends} to Depends. -- Cyril Brulebois Sat, 28 Feb 2009 13:53:32 +0100 python-pygraphviz (0.99-1) experimental; urgency=low [ Sandro Tosi ] * debian/control: - Switch Vcs-Browser field to viewsvn. [ Cyril Brulebois ] * New upstream release. * debian/docs: - Update for the renamed README.txt file. * debian/rules: - Clean the pygraphviz.egg-info directory in a “clean::” target since it gets generated again during the build, with different contents (which breaks double-build). - Update accordingly (keep shipping it as README). - No longer remove License.txt (no longer shipped). - Remove INSTALL.txt (not needed). * Refresh patch accordingly: - debian/patches/10_ship_examples_miles.dat * Include patch to add a python shebang for scripts missing it: - debian/patches/20_add_python_shebang * 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 Sat, 29 Nov 2008 22:57:14 +0100 python-pygraphviz (0.36-1) unstable; urgency=low [ Sandro Tosi ] * debian/control: - Uniformize Vcs-Browser field. [ Cyril Brulebois ] * New upstream release. * debian/copyright: - Update copyright years. - Add full licensing terms for doc/examples/miles_dat.txt.gz - Uniformize indentation, add some blank lines to ease reading. * No longer repack: - Not needed, since the license of miles.dat has been sorted out. - Drop README.Debian accordingly. - Drop version mangling in the watch file accordingly. - Drop no longer needed DEB_REAL_UPSTREAM_VERSION variable, and use DEB_UPSTREAM_VERSION instead. * Ship doc/examples/miles.dat.gz: - Add patch to ship it (upstream uses a wildcard on “*.dat” only, adding a wildcard on “*.txt.gz”): 10_ship_examples_miles.dat - Build-Depends: Add quilt accordingly. - debian/rules: Add quilt include accordingly. * Graphviz transition: - Build-Depends: Replace libgraphviz3-dev with libgraphviz-dev (the development package is no longer versioned). - Depends: Bump the versioned dependency from >= 2.12 to >= 2.16. -- Cyril Brulebois Tue, 15 Jan 2008 14:51:25 +0100 python-pygraphviz (0.35.dfsg-2) unstable; urgency=low [ Piotr Ożarowski ] * Add Homepage field, delete it from the long description. * Rename XS-Vcs-* fields to Vcs-*. * Add execute bit to test.py file instead of lintian override. [ Cyril Brulebois ] * Mention in README.Debian how to obtain miles.dat, as suggested by Kumar Appaiah (Closes: #449547). * Add a TODO about the missing get-orig-source target in debian/rules (in case upstream keeps on shipping miles.dat). * Bump Standards-Version to 3.7.3 (no change needed). [ Sandro Tosi ] * debian/watch: Mangle debian version to match upstream version (by stripping the “.dfsg” part). -- Cyril Brulebois Fri, 21 Dec 2007 01:19:09 +0100 python-pygraphviz (0.35.dfsg-1) unstable; urgency=low * New upstream release. * Repack since an example is not DFSG-free: freely distributable but no modifications are allowed. * Dropped patches (two backports and a patch included upstream): + 1_SEGV_backported_fix_r590.diff + 2_pkg-config_backported_fix_r605.diff + 3_setup.cfg_rpath.diff * debian/rules: + Commented out the simple-patchsys.mk include accordingly (left there until the next need for patches). + Dropped DEFAULT_PYTHON, which was used when python-support was still unable to handle eggs properly. + Replaced DEB_UPSTREAM_VERSION by DEB_REAL_UPSTREAM_VERSION, so as to handle the '.dfsg' suffix, due to the repack, since cdbs handles DEB_UPSTREAM_VERSION on its own. + Dropped DEB_COMPRESS_EXCLUDE since now pygraphviz can handle compressed data, and since the example file is the one being removed. * debian/watch: + Updated, with the addition pygraphviz/ directory. -- Cyril Brulebois Sat, 28 Jul 2007 11:46:24 +0200 python-pygraphviz (0.34-2) unstable; urgency=high * Backported fix (debian/patches/2_pkg-config_backported_fix_r605.diff) from r605 since 0.35 is late. Fixed FTBFS with graphviz 2.12, for which the output of `pkg-config' changed (no more `-L...'), which pygraphviz didn't support (Closes: #423821). * Rebuild against graphviz 2.12 (Closes: #425864). * Urgency set to `high' since 2 RC bugs are addressed. * Build-Depends on libgraphviz3-dev instead of graphviz-dev, and Depends on graphviz (>= 2.12) since now it is no longer automatically added to the Depends, and since commandline tools are used. * Deleted overrides about the rpath, since graphviz no longer uses it. * Deleted debian/TODO since this achieves the transition from graphviz 2.8 to 2.12. * Bumped B-D on python-support from 0.5.3 to 0.6.4, since the later is the first one to support an appropriate handling of egg directories. * Added 3_setup.cfg_rpath.diff to handle the removal of the default setup.cfg. -- Cyril Brulebois Tue, 10 Jul 2007 17:21:18 +0200 python-pygraphviz (0.34-1) unstable; 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 appropriate patch accordingly; - added a backported patch to fix a SEGV with python2.5 on 64-bit arch, from upstream revision r590: 1_SEGV_backported_fix_r590.diff; - 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; - hack a bit with a copy+removal of the egg dirs since python-support seems not to move them on its own; - added a build dependency on python-setuptools and pkg-config accordingly. * Add XS-Vcs-Svn and XS-Vcs-Browser fields in the control file. * Updated lintian override for python2.5. * Adjusted copyright years in debian/copyright. -- Cyril Brulebois Sat, 05 May 2007 17:04:57 +0200 python-pygraphviz (0.33-3) unstable; urgency=low * Moved .so file where it belongs (/usr/lib instead of /usr/share), that has nothing to do with byte-compilation. * Adjusted lintian-overrides file accordingly (the RPATH is needed due to #360968, #312533, and #343476). -- Cyril Brulebois Fri, 15 Dec 2006 00:40:08 +0100 python-pygraphviz (0.33-2) unstable; urgency=low * Fixed copyright: missing notice (thanks to Joerg Jaspert). -- Cyril Brulebois Sun, 10 Dec 2006 14:35:59 +0100 python-pygraphviz (0.33-1) unstable; urgency=low * Initial release (Closes: #397040). * New upstream fixes: - Updated swig interface files and regenerated source codes. There's no copyright issue any longer. - Better error handling. - Documentation updates. - Included the workaround for a broken nop. * Deleted nop workaround (backported patch) since it is now included upstream. * Updated 10_fix_doc_location_and_license_file (context change). * Added a debian/watch file. * Removed silly clean rule (pycompat is now kept). -- Cyril Brulebois Mon, 20 Nov 2006 23:36:43 +0100 python-pygraphviz (0.32-1) UNRELEASED; urgency=low * Prospective work, not released due to a licensing problem in a swig-generated file. * Thanks to Einar Ryeng for his initial work on the packaging, and to Piotr Ozarowski for his debugging skills. * Included a lintian override: - for the tests/test.py which is not set executable, which is not really a matter anyway; - about the rpath used to workaround the graphviz-dev issue reported in #360968, #312533, and #343476. * Added a patch to workaround the broken `nop' from the graphviz package, since #359870 is not fixed in Debian right now. Taken from the upstream changeset #428: https://networkx.lanl.gov/changeset/428 (thanks to Aric Hagberg). -- Cyril Brulebois Fri, 3 Nov 2006 02:15:11 +0100 debian/patches/0000755000000000000000000000000012200015351010602 5ustar debian/patches/series0000644000000000000000000000005711444723070012036 0ustar 10_ship_examples_miles.dat 20_doc_install_path debian/patches/20_doc_install_path0000644000000000000000000000125111444723070014351 0ustar Install the documentation in the expected Debian directory Index: python-pygraphviz-1.0/setup.py =================================================================== --- python-pygraphviz-1.0.orig/setup.py 2010-09-16 22:53:44.265277906 +0200 +++ python-pygraphviz-1.0/setup.py 2010-09-16 22:54:06.741278023 +0200 @@ -98,7 +98,7 @@ sys.path.pop(0) packages = ["pygraphviz","pygraphviz.tests"] -docdirbase = 'share/doc/pygraphviz-%s' % release.version +docdirbase = 'share/doc/python-pygraphviz' data = [(docdirbase, glob("*.txt")), (os.path.join(docdirbase, 'examples'),glob("examples/*.py")), (os.path.join(docdirbase, 'examples'),glob("examples/*.dat")), debian/patches/10_ship_examples_miles.dat0000644000000000000000000000076311340543773015656 0ustar Description: Install also *.txt.gz files --- a/setup.py +++ b/setup.py @@ -140,6 +140,7 @@ (os.path.join(docdirbase, 'examples'),glob("examples/*.py")), (os.path.join(docdirbase, 'examples'),glob("examples/*.dat")), (os.path.join(docdirbase, 'examples'),glob("examples/*.dat.gz")), + (os.path.join(docdirbase, 'examples'),glob("examples/*.txt.gz")), ] extension = [Extension("pygraphviz._graphviz", ["pygraphviz/graphviz_wrap.c"], debian/watch0000644000000000000000000000017312177452774010240 0ustar version=3 opts="uversionmangle=s/rc/~rc/" \ http://pypi.python.org/packages/source/p/pygraphviz/pygraphviz-(.*)\.tar.gz debian/TODO0000644000000000000000000000050111340544715007656 0ustar python-pygraphviz: ------------------ * See whether -Wl,--as-needed helps and/or whether changes on graphviz's side are needed. -- Cyril Brulebois Thu, 20 Dec 2007 02:21:49 +0100 * run test at build-time -- Sandro Tosi Mon, 22 Feb 2010 19:14:41 +0100 debian/compat0000644000000000000000000000000210613124162010360 0ustar 5