[Python-modules-commits] r2148 - in /packages/python-pygraphviz/trunk/debian: ./ changelog compat control copyright docs patches/ patches/10_fix_doc_location_and_license_file.diff pycompat python-pygraphviz.lintian-overrides pyversions rules watch

kibi-guest at users.alioth.debian.org kibi-guest at users.alioth.debian.org
Mon Apr 23 12:37:06 UTC 2007


Author: kibi-guest
Date: Mon Apr 23 12:37:06 2007
New Revision: 2148

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2148
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/python-pygraphviz/trunk/debian/   (with props)
    packages/python-pygraphviz/trunk/debian/changelog
    packages/python-pygraphviz/trunk/debian/compat
    packages/python-pygraphviz/trunk/debian/control
    packages/python-pygraphviz/trunk/debian/copyright
    packages/python-pygraphviz/trunk/debian/docs
    packages/python-pygraphviz/trunk/debian/patches/
    packages/python-pygraphviz/trunk/debian/patches/10_fix_doc_location_and_license_file.diff
    packages/python-pygraphviz/trunk/debian/pycompat
    packages/python-pygraphviz/trunk/debian/python-pygraphviz.lintian-overrides
    packages/python-pygraphviz/trunk/debian/pyversions
    packages/python-pygraphviz/trunk/debian/rules   (with props)
    packages/python-pygraphviz/trunk/debian/watch

Propchange: packages/python-pygraphviz/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/python-pygraphviz/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/changelog?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/changelog (added)
+++ packages/python-pygraphviz/trunk/debian/changelog Mon Apr 23 12:37:06 2007
@@ -1,0 +1,50 @@
+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 <cyril.brulebois at enst-bretagne.fr>  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 <cyril.brulebois at enst-bretagne.fr>  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 <cyril.brulebois at enst-bretagne.fr>  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 <einarr at pvv.org> 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 <cyril.brulebois at enst-bretagne.fr>  Fri,  3 Nov 2006 02:15:11 +0100
+

Added: packages/python-pygraphviz/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/compat?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/compat (added)
+++ packages/python-pygraphviz/trunk/debian/compat Mon Apr 23 12:37:06 2007
@@ -1,0 +1,1 @@
+5

Added: packages/python-pygraphviz/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/control?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/control (added)
+++ packages/python-pygraphviz/trunk/debian/control Mon Apr 23 12:37:06 2007
@@ -1,0 +1,19 @@
+Source: python-pygraphviz
+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
+Standards-Version: 3.7.2
+
+Package: python-pygraphviz
+Architecture: any
+Depends: ${python:Depends}, graphviz
+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.
+ .
+  Homepage: https://networkx.lanl.gov/wiki/pygraphviz

Added: packages/python-pygraphviz/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/copyright?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/copyright (added)
+++ packages/python-pygraphviz/trunk/debian/copyright Mon Apr 23 12:37:06 2007
@@ -1,0 +1,61 @@
+This package was debianized by Cyril Brulebois
+<cyril.brulebois at enst-bretagne.fr> on Sat,  4 Nov 2006 21:26:26 +0100.
+
+It was downloaded from https://networkx.lanl.gov/wiki/pygraphviz
+
+Upstream Authors:
+    Aric Hagberg <hagberg at lanl.gov>
+    Dan Schult <dschult at colgate.edu>
+    Manos Renieris, http://www.cs.brown.edu/~er/
+
+Copyright:
+    Aric Hagberg, 2004-2006
+    Dan Schult, 2004-2006
+    Manos Renieris, 2004-2006
+
+License:
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted under the terms of the BSD License.
+
+    THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
+
+
+On Debian systems, the complete text of the BSD License can be 
+found in `/usr/share/common-licenses/BSD'.
+
+
+The Debian packaging is:
+  (C) 2006, Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+

Added: packages/python-pygraphviz/trunk/debian/docs
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/docs?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/docs (added)
+++ packages/python-pygraphviz/trunk/debian/docs Mon Apr 23 12:37:06 2007
@@ -1,0 +1,1 @@
+README

Added: packages/python-pygraphviz/trunk/debian/patches/10_fix_doc_location_and_license_file.diff
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/patches/10_fix_doc_location_and_license_file.diff?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/patches/10_fix_doc_location_and_license_file.diff (added)
+++ packages/python-pygraphviz/trunk/debian/patches/10_fix_doc_location_and_license_file.diff Mon Apr 23 12:37:06 2007
@@ -1,0 +1,19 @@
+--- python-pygraphviz-0.33~/setup.py	2006-11-20 23:59:04.000000000 +0100
++++ python-pygraphviz-0.33/setup.py	2006-11-21 00:00:24.000000000 +0100
+@@ -55,13 +55,15 @@
+ """
+ 
+ version="0.33"
+-docdirbase  = 'share/doc/pygraphviz-%s' % version
++docdirbase  = 'share/doc/python-pygraphviz'
+ data = [(docdirbase, glob("doc/*.txt")),
+         (docdirbase, glob("doc/*.py")),
+         (os.path.join(docdirbase, 'examples'),glob("doc/examples/*.py")),
+         (os.path.join(docdirbase, 'examples'),glob("doc/examples/*.dat")),
+         ]
+ 
++# Remove the License.txt file which is not needed on Debian systems
++data[0][1].remove("doc/License.txt")
+ 
+ setup(
+       name = "pygraphviz",

Added: packages/python-pygraphviz/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/pycompat?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/pycompat (added)
+++ packages/python-pygraphviz/trunk/debian/pycompat Mon Apr 23 12:37:06 2007
@@ -1,0 +1,1 @@
+2

Added: packages/python-pygraphviz/trunk/debian/python-pygraphviz.lintian-overrides
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/python-pygraphviz.lintian-overrides?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/python-pygraphviz.lintian-overrides (added)
+++ packages/python-pygraphviz/trunk/debian/python-pygraphviz.lintian-overrides Mon Apr 23 12:37:06 2007
@@ -1,0 +1,14 @@
+# It looks like python-support doesn't like shipping files with +x, so
+# we are ignoring that warning.
+
+# The user who wants to run this script shouldn't find hard to:
+# ``python /path/to/tests/test.py''
+
+python-pygraphviz: script-not-executable ./usr/share/python-support/python-pygraphviz/pygraphviz/tests/test.py
+
+
+
+# Since public libraries are stored in /usr/lib/graphviz without /etc/ld.so.conf
+# (see: #360968, #312533, #343476), I'm using a rpath at the moment.
+
+python-pygraphviz: binary-or-shlib-defines-rpath ./usr/lib/python-support/python-pygraphviz/python2.4/pygraphviz/_graphviz.so /usr/lib/graphviz

Added: packages/python-pygraphviz/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/pyversions?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/pyversions (added)
+++ packages/python-pygraphviz/trunk/debian/pyversions Mon Apr 23 12:37:06 2007
@@ -1,0 +1,1 @@
+2.4-

Added: packages/python-pygraphviz/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/rules?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/rules (added)
+++ packages/python-pygraphviz/trunk/debian/rules Mon Apr 23 12:37:06 2007
@@ -1,0 +1,38 @@
+#!/usr/bin/make -f
+
+
+# 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
+
+
+# Some variables 
+DEB_PYTHON_MODULE_PACKAGE   = pygraphviz
+DEB_PYTHON_CLEAN_ARGS       = --all
+DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile --force
+
+
+# Lintian override
+binary-install/python-pygraphviz::
+	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
+
+
+# BUILD_ARGS should contain --build-base but it's:
+#  - neither supported by the setup.py script
+#  - nor needed
+DEB_PYTHON_BUILD_ARGS =
+DEB_PYTHON_BUILD_EXTENSION_ARGS = --rpath /usr/lib/graphviz
+
+
+# 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 $@

Propchange: packages/python-pygraphviz/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/python-pygraphviz/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pygraphviz/trunk/debian/watch?rev=2148&op=file
==============================================================================
--- packages/python-pygraphviz/trunk/debian/watch (added)
+++ packages/python-pygraphviz/trunk/debian/watch Mon Apr 23 12:37:06 2007
@@ -1,0 +1,3 @@
+version=3
+
+http://sf.net/networkx/ pygraphviz-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list