[Pkg-ocaml-maint-commits] r2214 - trunk/packages/ocamlgraph/trunk/debian

Sylvain LE GALL gildor-guest at costa.debian.org
Fri Dec 2 22:03:33 UTC 2005


Author: gildor-guest
Date: 2005-12-02 22:03:32 +0000 (Fri, 02 Dec 2005)
New Revision: 2214

Added:
   trunk/packages/ocamlgraph/trunk/debian/control.in
Modified:
   trunk/packages/ocamlgraph/trunk/debian/changelog
   trunk/packages/ocamlgraph/trunk/debian/control
   trunk/packages/ocamlgraph/trunk/debian/rules
Log:
Prepare release -- SLG


Modified: trunk/packages/ocamlgraph/trunk/debian/changelog
===================================================================
--- trunk/packages/ocamlgraph/trunk/debian/changelog	2005-12-02 21:57:32 UTC (rev 2213)
+++ trunk/packages/ocamlgraph/trunk/debian/changelog	2005-12-02 22:03:32 UTC (rev 2214)
@@ -2,8 +2,9 @@
 
   * New upstream release
   * Remove direct reference to ocaml library dir
+  * Remove hardcoded OCaml ABI
 
- -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Wed,  9 Nov 2005 17:17:34 +0100
+ -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Fri,  2 Dec 2005 23:03:05 +0100
 
 ocamlgraph (0.94a-2) unstable; urgency=low
 

Modified: trunk/packages/ocamlgraph/trunk/debian/control
===================================================================
--- trunk/packages/ocamlgraph/trunk/debian/control	2005-12-02 21:57:32 UTC (rev 2213)
+++ trunk/packages/ocamlgraph/trunk/debian/control	2005-12-02 22:03:32 UTC (rev 2214)
@@ -2,13 +2,13 @@
 Section: libdevel
 Priority: optional
 Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org>
-Build-Depends: debhelper (>> 4.0.0), ocaml-nox-3.08.3, dpatch (>= 1.11), ocamlweb, ocaml-findlib
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= 3.09.0), dpatch (>= 1.11), ocamlweb, ocaml-findlib
 Standards-Version: 3.6.2.0
 
 Package: libocamlgraph-ocaml-dev
 Architecture: any
 Section: libdevel
-Depends: ocaml-nox-3.08.3
+Depends: ocaml-nox-${F:OCamlABI}
 Suggests: graphviz | springgraph
 Description: graph library for OCaml
  Ocamlgraph is a graph library for OCaml. Provides the following

Copied: trunk/packages/ocamlgraph/trunk/debian/control.in (from rev 2188, trunk/packages/ocamlgraph/trunk/debian/control)
===================================================================
--- trunk/packages/ocamlgraph/trunk/debian/control	2005-11-29 22:29:10 UTC (rev 2188)
+++ trunk/packages/ocamlgraph/trunk/debian/control.in	2005-12-02 22:03:32 UTC (rev 2214)
@@ -0,0 +1,29 @@
+Source: ocamlgraph
+Section: libdevel
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org>
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= #OCamlABI#), dpatch (>= 1.11), ocamlweb, ocaml-findlib
+Standards-Version: 3.6.2.0
+
+Package: libocamlgraph-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}
+Suggests: graphviz | springgraph
+Description: graph library for OCaml
+ Ocamlgraph is a graph library for OCaml. Provides the following
+ contribution :
+ - An easy-to-use graph data structure together with
+   several operations and algorithms over graphs. It also
+   provides more complex graph structures ( persistent, imperative,
+   with label for vertices, with label for edges... )
+ .
+ - Several classic operations and algorithms over
+   graphs. ( Graph traversal, Strongly connected components,
+   Ford-Fulkerson maximal flow algorithm, Delaunay triangulation,
+   Kruskal's algorithm, Goldberg maximal flow algorithm, mirror,
+   complement, transitive_closure ).
+ .
+ Each algorithm is made over functor, those allowing to create your
+ own graph, by only providing a small set of functionality.
+

Modified: trunk/packages/ocamlgraph/trunk/debian/rules
===================================================================
--- trunk/packages/ocamlgraph/trunk/debian/rules	2005-12-02 21:57:32 UTC (rev 2213)
+++ trunk/packages/ocamlgraph/trunk/debian/rules	2005-12-02 22:03:32 UTC (rev 2214)
@@ -8,7 +8,11 @@
 PACKAGE = ocamlgraph
 DESTDIR_DEV=$(CURDIR)/debian/libocamlgraph-ocaml-dev
 OCAMLIBDIR=`ocamlc -where`
+OCAMLABI=$(shell ocamlc -version)
 
+debian/control: debian/control.in
+	 sed -e 's%#OCamlABI#%$(OCAMLABI)%' $@.in >$@
+
 configure: configure-stamp
 configure-stamp: patch-stamp
 	dh_testdir
@@ -53,7 +57,7 @@
 	dh_fixperms -s
 	dh_installdeb -s
 	dh_shlibdeps -s 
-	dh_gencontrol -s
+	dh_gencontrol -s -- -VF:OCamlABI="$(OCAMLABI)"
 	dh_md5sums -s 
 	dh_builddeb -s
 




More information about the Pkg-ocaml-maint-commits mailing list