[Python-modules-commits] r9373 - in packages/python-graph/trunk/debian (3 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Mon Aug 17 19:55:36 UTC 2009


    Date: Monday, August 17, 2009 @ 19:55:36
  Author: morph
Revision: 9373

    + renamed bin pkg to python-pygraph due to module rename (python-graph is
      now a transitional pkg)
* debian/patches/10_remove_doc_installation.dpatch
  - adapted to new upstream code

Modified:
  packages/python-graph/trunk/debian/changelog
  packages/python-graph/trunk/debian/control
  packages/python-graph/trunk/debian/patches/10_remove_doc_installation.dpatch

Modified: packages/python-graph/trunk/debian/changelog
===================================================================
--- packages/python-graph/trunk/debian/changelog	2009-08-17 19:51:34 UTC (rev 9372)
+++ packages/python-graph/trunk/debian/changelog	2009-08-17 19:55:36 UTC (rev 9373)
@@ -2,11 +2,14 @@
 
   * New upstream release
     - debian/{control, rules}
-      + renamed bin pkg to python-pygraph due to module rename
+      + renamed bin pkg to python-pygraph due to module rename (python-graph is
+        now a transitional pkg)
   * debian/control
     - bump Standards-Version to 3.8.2 (no changes needed)
+  * debian/patches/10_remove_doc_installation.dpatch
+    - adapted to new upstream code
 
- -- Sandro Tosi <morph at debian.org>  Sat, 15 Aug 2009 19:53:57 +0200
+ -- Sandro Tosi <morph at debian.org>  Mon, 17 Aug 2009 21:49:36 +0200
 
 python-graph (1.5.0-1) unstable; urgency=low
 

Modified: packages/python-graph/trunk/debian/control
===================================================================
--- packages/python-graph/trunk/debian/control	2009-08-17 19:51:34 UTC (rev 9372)
+++ packages/python-graph/trunk/debian/control	2009-08-17 19:55:36 UTC (rev 9373)
@@ -16,6 +16,9 @@
 XB-Python-Version: ${python:Versions}
 Depends: ${python:Depends}, ${misc:Depends}, python-pydot
 Suggests: libgv-python
+Replaces: python-graph
+Provices: python-graph (<< 1.6.1-1)
+Conflicts: python-graph (<< 1.6.1-1)
 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.
@@ -38,3 +41,9 @@
   * Mutual-accessibility (strongly connected components)
   * Shortest path (Dijkstra's algorithm)
   * Topological sorting 
+
+Package: python-graph
+Architecture: all
+Depends: python-pygraph
+Description: transitional dummy package
+ Transitional package, you can safely remove it

Modified: packages/python-graph/trunk/debian/patches/10_remove_doc_installation.dpatch
===================================================================
--- packages/python-graph/trunk/debian/patches/10_remove_doc_installation.dpatch	2009-08-17 19:51:34 UTC (rev 9372)
+++ packages/python-graph/trunk/debian/patches/10_remove_doc_installation.dpatch	2009-08-17 19:55:36 UTC (rev 9373)
@@ -6,11 +6,11 @@
 
 @DPATCH@
 diff -urNad python-graph~/setup.py python-graph/setup.py
---- python-graph~/setup.py	2009-05-04 00:29:19.000000000 +0200
-+++ python-graph/setup.py	2009-05-18 20:30:47.991670348 +0200
-@@ -14,31 +14,10 @@
+--- python-graph~/setup.py	2009-06-09 15:36:37.000000000 +0200
++++ python-graph/setup.py	2009-08-15 19:59:12.166911751 +0200
+@@ -15,33 +15,10 @@
  appname = "python-graph"
- appversion = "1.5.0"
+ appversion = "1.6.1"
  
 -# Extra files
 -if (os.name == 'posix'):    # Files to be installed/packaged on Unix-like systems
@@ -19,6 +19,8 @@
 -    docsdir = datadir + '/docs'
 -    docsfiles = []
 -    try:
+-        # Uncomment the line bellow if you want bdist_rpm to include the docs
+-        # os.system('make docs')
 -        dirlisting = os.listdir('docs/')
 -    except:
 -        print "Documentation isn't present and will not be installed/packaged."
@@ -34,9 +36,9 @@
  setup(
          name = appname,
          version = appversion,
-         packages = ['graph', 'graph.algorithms', 'graph.algorithms.filters', 'graph.algorithms.heuristics', 'graph.classes'],
+         packages = ['pygraph', 'pygraph.algorithms', 'pygraph.algorithms.filters', 'pygraph.algorithms.heuristics', 'pygraph.classes', 'pygraph.readwrite'],
 -        data_files = [(docsdir,docsfiles),
 -                       (datadir,datafiles)],
+         install_requires = ['pydot'],
          author = "Pedro Matiello",
          author_email = "pmatiello at gmail.com",
-         description = "A library for working with graphs in Python",




More information about the Python-modules-commits mailing list