[Pkg-ocaml-maint-commits] r1941 - in trunk/packages/pcre-ocaml: trunk/debian upstream

Stefano Zacchiroli zack at costa.debian.org
Tue Nov 8 22:16:13 UTC 2005


Author: zack
Date: 2005-11-08 22:16:11 +0000 (Tue, 08 Nov 2005)
New Revision: 1941

Added:
   trunk/packages/pcre-ocaml/trunk/debian/control.in
   trunk/packages/pcre-ocaml/trunk/debian/libpcre-ocaml.install.in
   trunk/packages/pcre-ocaml/upstream/pcre-ocaml_5.10.1.orig.tar.gz
Removed:
   trunk/packages/pcre-ocaml/upstream/pcre-ocaml_5.10.0.orig.tar.gz
Modified:
   trunk/packages/pcre-ocaml/trunk/debian/changelog
   trunk/packages/pcre-ocaml/trunk/debian/control
   trunk/packages/pcre-ocaml/trunk/debian/libpcre-ocaml.install
   trunk/packages/pcre-ocaml/trunk/debian/rules
Log:
- new upstream release
- ocaml 3.09 transition
- removed hard coding of ocaml abi


Modified: trunk/packages/pcre-ocaml/trunk/debian/changelog
===================================================================
--- trunk/packages/pcre-ocaml/trunk/debian/changelog	2005-11-08 22:03:56 UTC (rev 1940)
+++ trunk/packages/pcre-ocaml/trunk/debian/changelog	2005-11-08 22:16:11 UTC (rev 1941)
@@ -1,9 +1,13 @@
-pcre-ocaml (5.10.0-4) UNRELEASED; urgency=low
+pcre-ocaml (5.10.1-1) UNRELEASED; urgency=low
 
+  * New upstream release
+  * rebuilt with ocaml 3.09
   * debian/control
     - bumped standards-version
+  * debian/*
+    - no more hardcoding of ocaml abi anywhere
 
- -- Stefano Zacchiroli <zack at debian.org>  Sun, 31 Jul 2005 22:04:36 +0200
+ -- Stefano Zacchiroli <zack at debian.org>  Tue,  8 Nov 2005 23:08:44 +0100
 
 pcre-ocaml (5.10.0-3) unstable; urgency=low
 

Modified: trunk/packages/pcre-ocaml/trunk/debian/control
===================================================================
--- trunk/packages/pcre-ocaml/trunk/debian/control	2005-11-08 22:03:56 UTC (rev 1940)
+++ trunk/packages/pcre-ocaml/trunk/debian/control	2005-11-08 22:16:11 UTC (rev 1941)
@@ -2,13 +2,13 @@
 Section: devel
 Priority: optional
 Maintainer: Stefano Zacchiroli <zack at debian.org>
-Build-Depends: debhelper (>= 4.1.0), libpcre3-dev (>= 4.5), ocaml-nox-3.08.3, ocaml-findlib, cdbs, dpatch
+Build-Depends: debhelper (>= 4.1.0), libpcre3-dev (>= 4.5), ocaml-nox (>= 3.09), ocaml-findlib, cdbs, dpatch
 Standards-Version: 3.6.2
 
 Package: libpcre-ocaml
 Architecture: any
 Section: libs
-Depends: ocaml-base-nox-3.08.3, ${shlibs:Depends}, ${misc:Depends}
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}, ${misc:Depends}
 Description: OCaml bindings for PCRE (Perl Compatible Regular Expression)
  This OCaml-library interfaces the PCRE (Perl-compatibility
  regular expressions) C library. it can be used for matching
@@ -28,7 +28,7 @@
 Package: libpcre-ocaml-dev
 Architecture: any
 Section: libdevel
-Depends: ocaml-nox-3.08.3, libpcre3-dev (>= 4.5), libpcre-ocaml (= ${Source-Version}), ocaml-findlib, ${misc:Depends}
+Depends: ocaml-nox-${F:OCamlABI}, libpcre3-dev (>= 4.5), libpcre-ocaml (= ${Source-Version}), ocaml-findlib, ${misc:Depends}
 Description: OCaml bindings for PCRE (Perl Compatible Regular Expression)
  This OCaml-library interfaces the PCRE (Perl-compatibility
  regular expressions) C library. it can be used for matching

Copied: trunk/packages/pcre-ocaml/trunk/debian/control.in (from rev 1940, trunk/packages/pcre-ocaml/trunk/debian/control)
===================================================================
--- trunk/packages/pcre-ocaml/trunk/debian/control	2005-11-08 22:03:56 UTC (rev 1940)
+++ trunk/packages/pcre-ocaml/trunk/debian/control.in	2005-11-08 22:16:11 UTC (rev 1941)
@@ -0,0 +1,48 @@
+Source: pcre-ocaml
+Section: devel
+Priority: optional
+Maintainer: Stefano Zacchiroli <zack at debian.org>
+Build-Depends: debhelper (>= 4.1.0), libpcre3-dev (>= 4.5), ocaml-nox (>= @OCamlABI@), ocaml-findlib, cdbs, dpatch
+Standards-Version: 3.6.2
+
+Package: libpcre-ocaml
+Architecture: any
+Section: libs
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}, ${misc:Depends}
+Description: OCaml bindings for PCRE (Perl Compatible Regular Expression)
+ This OCaml-library interfaces the PCRE (Perl-compatibility
+ regular expressions) C library. it can be used for matching
+ regular expressions which are written in Perl style.
+ .
+ Compared with the OCaml standard library "Str" module, this
+ library:
+  * uses Perl style rather than Emacs one
+  * is reentrant and thus thread safe
+  * is faster (when compiled to native code is even faster than
+    Perl regular expressions)
+  * returns data on which you can safely use destructive updates
+  * gives more "programming confort" through a better API
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libpcre-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, libpcre3-dev (>= 4.5), libpcre-ocaml (= ${Source-Version}), ocaml-findlib, ${misc:Depends}
+Description: OCaml bindings for PCRE (Perl Compatible Regular Expression)
+ This OCaml-library interfaces the PCRE (Perl-compatibility
+ regular expressions) C library. it can be used for matching
+ regular expressions which are written in Perl style.
+ .
+ Compared with the OCaml standard library "Str" module, this
+ library:
+  * uses Perl style rather than Emacs one
+  * is reentrant and thus thread safe
+  * is faster (when compiled to native code is even faster than
+    Perl regular expressions)
+  * returns data on which you can safely use destructive updates
+  * gives more "programming confort" through a better API
+ .
+ This package contains all the development stuff you need to use
+ OCaml PCRE in your programs.
+

Modified: trunk/packages/pcre-ocaml/trunk/debian/libpcre-ocaml.install
===================================================================
--- trunk/packages/pcre-ocaml/trunk/debian/libpcre-ocaml.install	2005-11-08 22:03:56 UTC (rev 1940)
+++ trunk/packages/pcre-ocaml/trunk/debian/libpcre-ocaml.install	2005-11-08 22:16:11 UTC (rev 1941)
@@ -1 +1 @@
-debian/tmp/usr/lib/ocaml/*/pcre/*.so	usr/lib/ocaml/3.08.3/stublibs/
+debian/tmp/usr/lib/ocaml/*/pcre/*.so	usr/lib/ocaml/3.09/stublibs/

Copied: trunk/packages/pcre-ocaml/trunk/debian/libpcre-ocaml.install.in (from rev 1940, trunk/packages/pcre-ocaml/trunk/debian/libpcre-ocaml.install)
===================================================================
--- trunk/packages/pcre-ocaml/trunk/debian/libpcre-ocaml.install	2005-11-08 22:03:56 UTC (rev 1940)
+++ trunk/packages/pcre-ocaml/trunk/debian/libpcre-ocaml.install.in	2005-11-08 22:16:11 UTC (rev 1941)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/ocaml/*/pcre/*.so	usr/lib/ocaml/@OCamlABI@/stublibs/

Modified: trunk/packages/pcre-ocaml/trunk/debian/rules
===================================================================
--- trunk/packages/pcre-ocaml/trunk/debian/rules	2005-11-08 22:03:56 UTC (rev 1940)
+++ trunk/packages/pcre-ocaml/trunk/debian/rules	2005-11-08 22:16:11 UTC (rev 1941)
@@ -4,6 +4,14 @@
 include /usr/share/cdbs/1/rules/dpatch.mk
 unpatch: deapply-dpatches	# work around cdbs' bug
 
+OCAMLABI := $(shell ocamlc -version)
+IN_FILES := $(shell ls debian/*.in)
+GEN_FILES := $(patsubst %.in,%,$(IN_FILES))
+
+init: $(GEN_FILES)
+%: %.in
+	sed -e 's/@OCamlABI@/$(OCAMLABI)/' $< > $@
+
 HAVE_OCAMLOPT = $(shell test -x /usr/bin/ocamlopt && echo "yes")
 DESTDIR = $(CURDIR)/debian/tmp$(shell ocamlc -where)
 DOCDIR = $(CURDIR)/debian/doc/html

Deleted: trunk/packages/pcre-ocaml/upstream/pcre-ocaml_5.10.0.orig.tar.gz
===================================================================
(Binary files differ)

Added: trunk/packages/pcre-ocaml/upstream/pcre-ocaml_5.10.1.orig.tar.gz
===================================================================
(Binary files differ)


Property changes on: trunk/packages/pcre-ocaml/upstream/pcre-ocaml_5.10.1.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream




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