[Pkg-ocaml-maint-commits] r1977 - trunk/packages/extlib/trunk/debian

Stefano Zacchiroli zack at costa.debian.org
Thu Nov 10 09:24:20 UTC 2005


Author: zack
Date: 2005-11-10 09:24:19 +0000 (Thu, 10 Nov 2005)
New Revision: 1977

Added:
   trunk/packages/extlib/trunk/debian/control.in
Modified:
   trunk/packages/extlib/trunk/debian/changelog
   trunk/packages/extlib/trunk/debian/control
   trunk/packages/extlib/trunk/debian/rules
Log:
ocaml 3.09 transition


Modified: trunk/packages/extlib/trunk/debian/changelog
===================================================================
--- trunk/packages/extlib/trunk/debian/changelog	2005-11-10 09:16:51 UTC (rev 1976)
+++ trunk/packages/extlib/trunk/debian/changelog	2005-11-10 09:24:19 UTC (rev 1977)
@@ -1,3 +1,13 @@
+extlib (1.4-3) unstable; urgency=low
+
+  * Rebuilt with ocaml 3.09 (closes: #338098)
+  * debian/control
+    - bumped standards version
+  * debian/*
+    - no longer hardcoding of ocaml abi
+
+ -- Stefano Zacchiroli <zack at debian.org>  Thu, 10 Nov 2005 09:19:59 +0000
+
 extlib (1.4-2) unstable; urgency=low
 
   * Changed doc-base section to Apps/Programming (closes: #310760).

Modified: trunk/packages/extlib/trunk/debian/control
===================================================================
--- trunk/packages/extlib/trunk/debian/control	2005-11-10 09:16:51 UTC (rev 1976)
+++ trunk/packages/extlib/trunk/debian/control	2005-11-10 09:24:19 UTC (rev 1977)
@@ -2,12 +2,12 @@
 Section: libdevel
 Priority: optional
 Maintainer: Stefano Zacchiroli <zack at debian.org>
-Build-Depends: ocaml-nox-3.08.3, ocaml-findlib (>= 0.8-5), debhelper (>> 4.0.0), dpatch
-Standards-Version: 3.6.1.1
+Build-Depends: ocaml-nox (>= 3.09.0), ocaml-findlib (>= 1.1), debhelper (>> 4.0.0), dpatch
+Standards-Version: 3.6.2
 
 Package: libextlib-ocaml-dev
 Architecture: any
-Depends: ocaml-nox-3.08.3, ocaml-findlib (>= 0.8-5), ${misc:Depends}
+Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib (>= 1.1), ${misc:Depends}
 Description: extended standard library for OCaml
  ExtLib is a project aiming at providing a complete - yet small -
  standard library for the OCaml programming language.

Copied: trunk/packages/extlib/trunk/debian/control.in (from rev 1940, trunk/packages/extlib/trunk/debian/control)
===================================================================
--- trunk/packages/extlib/trunk/debian/control	2005-11-08 22:03:56 UTC (rev 1940)
+++ trunk/packages/extlib/trunk/debian/control.in	2005-11-10 09:24:19 UTC (rev 1977)
@@ -0,0 +1,25 @@
+Source: extlib
+Section: libdevel
+Priority: optional
+Maintainer: Stefano Zacchiroli <zack at debian.org>
+Build-Depends: ocaml-nox (>= @OCamlABI@), ocaml-findlib (>= 1.1), debhelper (>> 4.0.0), dpatch
+Standards-Version: 3.6.2
+
+Package: libextlib-ocaml-dev
+Architecture: any
+Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib (>= 1.1), ${misc:Depends}
+Description: extended standard library for OCaml
+ ExtLib is a project aiming at providing a complete - yet small -
+ standard library for the OCaml programming language.
+ .
+ The purpose of this library is to add new functions to OCaml
+ Standard Library modules, to modify some functions in order to
+ get better performances or more safety (tail-recursive) but also
+ to provide new modules which should be useful for the average
+ OCaml programmer.
+ .
+ ExtLib contains modules implementing: enumeration over abstract
+ collection of elements, efficient bit sets, dynamic arrays,
+ references on lists, Unicode characters and UTF-8 encoded
+ strings, additional and improved functions for hashtables,
+ strings, lists and option types.

Modified: trunk/packages/extlib/trunk/debian/rules
===================================================================
--- trunk/packages/extlib/trunk/debian/rules	2005-11-10 09:16:51 UTC (rev 1976)
+++ trunk/packages/extlib/trunk/debian/rules	2005-11-10 09:24:19 UTC (rev 1977)
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
 #export DH_VERBOSE=1
+OCAMLABI := $(shell ocamlc -version)
+OFILES := $(patsubst %.in,%,$(shell ls debian/*.in))
+
 OCAML_STDLIB_DIR := $(shell ocamlc -where)
 PKGNAME = libextlib-ocaml-dev
 PKGDIR = $(CURDIR)/debian/$(PKGNAME)
@@ -9,6 +12,9 @@
 
 include /usr/share/dpatch/dpatch.make
 
+ocamlinit:
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/' $$f.in > $$f; done
+
 build:
 clean: patch clean1 unpatch
 




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