[Python-modules-commits] r7183 - in packages/python-graph/trunk (10 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri Dec 26 00:31:19 UTC 2008


    Date: Friday, December 26, 2008 @ 00:31:18
  Author: morph
Revision: 7183

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/python-graph/trunk/debian/
  packages/python-graph/trunk/debian/changelog
  packages/python-graph/trunk/debian/compat
  packages/python-graph/trunk/debian/control
  packages/python-graph/trunk/debian/copyright
  packages/python-graph/trunk/debian/patches/
  packages/python-graph/trunk/debian/patches/00list
  packages/python-graph/trunk/debian/patches/10_remove_doc_installation.dpatch
  packages/python-graph/trunk/debian/rules
  packages/python-graph/trunk/debian/watch


Property changes on: packages/python-graph/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/python-graph/trunk/debian/changelog
===================================================================
--- packages/python-graph/trunk/debian/changelog	                        (rev 0)
+++ packages/python-graph/trunk/debian/changelog	2008-12-26 00:31:18 UTC (rev 7183)
@@ -0,0 +1,5 @@
+python-graph (1.3.1-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #509722)
+
+ -- Sandro Tosi <morph at debian.org>  Fri, 26 Dec 2008 00:07:15 +0100

Added: packages/python-graph/trunk/debian/compat
===================================================================
--- packages/python-graph/trunk/debian/compat	                        (rev 0)
+++ packages/python-graph/trunk/debian/compat	2008-12-26 00:31:18 UTC (rev 7183)
@@ -0,0 +1 @@
+7

Added: packages/python-graph/trunk/debian/control
===================================================================
--- packages/python-graph/trunk/debian/control	                        (rev 0)
+++ packages/python-graph/trunk/debian/control	2008-12-26 00:31:18 UTC (rev 7183)
@@ -0,0 +1,40 @@
+Source: python-graph
+Section: python
+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 (>= 7), python, dpatch, python-epydoc
+Build-Depends-Indep: python-central
+Standards-Version: 3.8.0
+Homepage: http://code.google.com/p/python-graph/
+Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/python-graph/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-graph/trunk/
+XS-Python-Version: all
+
+Package: python-graph
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: libgv-python
+Description: library for working with graphs in Python
+ This software provides a suitable data structure for representing graphs and a
+ whole set of important algorithms.
+ .
+ Provided features and algorithms:
+ .
+  * Support for directed, undirected, weighted and non-weighted graphs
+  * Support for hypergraphs
+  * Canonical operations
+  * XML import and export
+  * DOT-Language output (for usage with Graphviz)
+  * Random graph generation
+ .
+  * Accessibility (transitive closure)
+  * Breadth-first search
+  * Cut-vertex and cut-edge identification
+  * Depth-first search
+  * Identification of connected components
+  * Minimum spanning tree (Prim's algorithm)
+  * Mutual-accessibility (strongly connected components)
+  * Shortest path (Dijkstra's algorithm)
+  * Topological sorting 

Added: packages/python-graph/trunk/debian/copyright
===================================================================
--- packages/python-graph/trunk/debian/copyright	                        (rev 0)
+++ packages/python-graph/trunk/debian/copyright	2008-12-26 00:31:18 UTC (rev 7183)
@@ -0,0 +1,53 @@
+This package was debianized by Sandro Tosi <morph at debian.org> on
+Fri, 26 Dec 2008 00:07:15 +0100.
+
+It was downloaded from http://code.google.com/p/python-graph/
+
+Upstream Author:
+
+    Pedro Matiello <pmatiello at gmail.com>
+
+Copyright:
+
+    Copyright (C) 2007-2008 Pedro Matiello <pmatiello at gmail.com>
+
+License:
+
+    Permission is hereby granted, free of charge, to any person
+    obtaining a copy of this software and associated documentation
+    files (the "Software"), to deal in the Software without
+    restriction, including without limitation the rights to use,
+    copy, modify, merge, publish, distribute, sublicense, and/or sell
+    copies of the Software, and to permit persons to whom the
+    Software is furnished to do so, subject to the following
+    conditions:
+
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+    HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+    OTHER DEALINGS IN THE SOFTWARE.
+
+The Debian packaging is copyright 2008, Sandro Tosi <morph at debian.org> and
+is licensed under the same term of the upstream code, see above.
+
+These files have difference copyright notices:
+
+graph/generators.py
+    Copyright (c) 2007-2008 Pedro Matiello <pmatiello at gmail.com>
+                            Zsolt Haraszti <zsolt at drawwell.net>
+graph/__init__.py
+    Copyright (c) 2007-2008 Pedro Matiello <pmatiello at gmail.com>
+                            Christian Muise <christian.muise at gmail.com>
+                            Nathan Davis <davisn90210 at gmail.com>
+                            Zsolt Haraszti <zsolt at drawwell.net>
+
+graph/minmax.py
+    Copyright (c) 2007-2008 Pedro Matiello <pmatiello at gmail.com>
+                            Rhys Ulerich <rhys.ulerich at gmail.com>

Added: packages/python-graph/trunk/debian/patches/00list
===================================================================
--- packages/python-graph/trunk/debian/patches/00list	                        (rev 0)
+++ packages/python-graph/trunk/debian/patches/00list	2008-12-26 00:31:18 UTC (rev 7183)
@@ -0,0 +1 @@
+10_remove_doc_installation

Added: packages/python-graph/trunk/debian/patches/10_remove_doc_installation.dpatch
===================================================================
--- packages/python-graph/trunk/debian/patches/10_remove_doc_installation.dpatch	                        (rev 0)
+++ packages/python-graph/trunk/debian/patches/10_remove_doc_installation.dpatch	2008-12-26 00:31:18 UTC (rev 7183)
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_remove_doc_installation.dpatch by Sandro Tosi <morph at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Remove upstream doc installation, we will do it with debhelper
+
+ at DPATCH@
+diff -urNad python-graph-1.3.1~/setup.py python-graph-1.3.1/setup.py
+--- python-graph-1.3.1~/setup.py	2008-10-01 05:07:17.000000000 +0200
++++ python-graph-1.3.1/setup.py	2008-12-26 01:22:30.106719710 +0100
+@@ -7,20 +7,11 @@
+ # Startup
+ appname = "python-graph"
+ appversion = "1.3.1"
+-docfolder = 'share/doc/' + appname + '-' + appversion + '/'
+-docfolder = os.path.normcase(docfolder)
+-docfiles = os.listdir('docs')
+-docs = os.path.normcase('docs/')
+-for i in xrange(len(docfiles)):
+-        docfiles[i] = docs + docfiles[i]
+ 
+ setup(
+         name = appname,
+         version = appversion,
+         packages = ['graph'],
+-        data_files = [(docfolder, ['README','Changelog','COPYING']),
+-                                (docfolder + docs, docfiles),
+-                                ],
+ 
+         # metadata
+         author = "Pedro Matiello",


Property changes on: packages/python-graph/trunk/debian/patches/10_remove_doc_installation.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/python-graph/trunk/debian/rules
===================================================================
--- packages/python-graph/trunk/debian/rules	                        (rev 0)
+++ packages/python-graph/trunk/debian/rules	2008-12-26 00:31:18 UTC (rev 7183)
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+build: patch-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	mkdir docs #they remove at clean time...
+	python setup.py build
+
+	$(MAKE) docs
+
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean build-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep  
+	dh_installdirs
+
+	# Add here commands to install the package into debian/python-graph.
+	python setup.py install --root=$(CURDIR)/debian/python-graph
+
+
+# Build architecture-dependent files here.
+binary-arch: install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs	Changelog
+	dh_installdocs		docs
+	dh_installexamples	examples/*
+	dh_pycentral
+	dh_installman
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/python-graph/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/python-graph/trunk/debian/watch
===================================================================
--- packages/python-graph/trunk/debian/watch	                        (rev 0)
+++ packages/python-graph/trunk/debian/watch	2008-12-26 00:31:18 UTC (rev 7183)
@@ -0,0 +1,3 @@
+version=3
+
+http://code.google.com/p/python-graph/downloads/list http://python-graph.googlecode.com/files/python-graph-(.*)\.tar\.bz2




More information about the Python-modules-commits mailing list