[Pkg-ocaml-maint-commits] r2233 - trunk/packages/ocaml-ast-analyze/trunk/debian

Sylvain LE GALL gildor-guest at costa.debian.org
Sat Dec 3 00:54:17 UTC 2005


Author: gildor-guest
Date: 2005-12-03 00:54:16 +0000 (Sat, 03 Dec 2005)
New Revision: 2233

Added:
   trunk/packages/ocaml-ast-analyze/trunk/debian/control.in
Modified:
   trunk/packages/ocaml-ast-analyze/trunk/debian/changelog
   trunk/packages/ocaml-ast-analyze/trunk/debian/control
   trunk/packages/ocaml-ast-analyze/trunk/debian/rules
Log:
Remove hardcoded OCaml ABI -- SLG


Modified: trunk/packages/ocaml-ast-analyze/trunk/debian/changelog
===================================================================
--- trunk/packages/ocaml-ast-analyze/trunk/debian/changelog	2005-12-03 00:29:06 UTC (rev 2232)
+++ trunk/packages/ocaml-ast-analyze/trunk/debian/changelog	2005-12-03 00:54:16 UTC (rev 2233)
@@ -1,19 +1,5 @@
-ocaml-ast-analyze (0.1.1-3) unstable; urgency=low
-
-  * Remove direct reference to ocaml library dir
-  * Upgrade standards version to 3.6.2.0 (no change)
-  * Remove contents of unused target in debian/rules 
-
- -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Wed,  9 Nov 2005 16:35:42 +0100
-
-ocaml-ast-analyze (0.1.1-2) unstable; urgency=low
-
-  * Transition to svn-buildpackage
-
- -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Mon, 22 Aug 2005 23:50:54 +0200
-
 ocaml-ast-analyze (0.1.1-1) unstable; urgency=low
 
   * Initial upload ( Closes: #305742 )
 
- -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Mon, 13 Dec 2004 23:55:32 +0100
+ -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Sat,  3 Dec 2005 01:52:45 +0100

Modified: trunk/packages/ocaml-ast-analyze/trunk/debian/control
===================================================================
--- trunk/packages/ocaml-ast-analyze/trunk/debian/control	2005-12-03 00:29:06 UTC (rev 2232)
+++ trunk/packages/ocaml-ast-analyze/trunk/debian/control	2005-12-03 00:54:16 UTC (rev 2233)
@@ -2,12 +2,12 @@
 Section: libdevel
 Priority: optional
 Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org> 
-Build-Depends-Indep: ocaml-nox-3.08.3, debhelper (>> 4.0.0), ocaml-findlib, dpatch
+Build-Depends-Indep: ocaml-nox (>= 3.09.0), debhelper (>> 4.0.0), ocaml-findlib, dpatch
 Standards-Version: 3.6.2.0
 
 Package: libast-analyze-ocaml-dev
 Architecture: all
-Depends: ocaml-nox-3.08.3
+Depends: ocaml-nox-${F:OCamlABI}
 Description: Analyzer of OCaml abstract syntax tree
  This library provide a simple wrapper around camlp4
  for building simple AST of the OCaml language.

Copied: trunk/packages/ocaml-ast-analyze/trunk/debian/control.in (from rev 2188, trunk/packages/ocaml-ast-analyze/trunk/debian/control)
===================================================================
--- trunk/packages/ocaml-ast-analyze/trunk/debian/control	2005-11-29 22:29:10 UTC (rev 2188)
+++ trunk/packages/ocaml-ast-analyze/trunk/debian/control.in	2005-12-03 00:54:16 UTC (rev 2233)
@@ -0,0 +1,17 @@
+Source: ocaml-ast-analyze
+Section: libdevel
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org> 
+Build-Depends-Indep: ocaml-nox (>= #OCamlABI#), debhelper (>> 4.0.0), ocaml-findlib, dpatch
+Standards-Version: 3.6.2.0
+
+Package: libast-analyze-ocaml-dev
+Architecture: all
+Depends: ocaml-nox-${F:OCamlABI}
+Description: Analyzer of OCaml abstract syntax tree
+ This library provide a simple wrapper around camlp4
+ for building simple AST of the OCaml language.
+ .
+ The main goal is to be able to manipulate OCaml source
+ file as AST and building pr_*.cmo camlp4 module.
+

Modified: trunk/packages/ocaml-ast-analyze/trunk/debian/rules
===================================================================
--- trunk/packages/ocaml-ast-analyze/trunk/debian/rules	2005-12-03 00:29:06 UTC (rev 2232)
+++ trunk/packages/ocaml-ast-analyze/trunk/debian/rules	2005-12-03 00:54:16 UTC (rev 2233)
@@ -4,7 +4,11 @@
 DESTDIR_DEV=$(CURDIR)/debian/libast-analyze-ocaml-dev/
 
 include /usr/share/dpatch/dpatch.make 
+OCAMLABI=$(shell ocamlc -version)
 
+debian/control: debian/control.in
+	sed -e 's%#OCamlABI#%$(OCAMLABI)%' $@.in >$@
+
 configure: configure-stamp
 configure-stamp: patch-stamp
 	dh_testdir
@@ -50,7 +54,7 @@
 	dh_compress -i
 	dh_fixperms -i
 	dh_installdeb -i
-	dh_gencontrol -i
+	dh_gencontrol -i -- -VF:OCamlABI="$(OCAMLABI)"
 	dh_md5sums -i
 	dh_builddeb -i
 




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