[Pkg-ocaml-maint-commits] [SCM] ocaml-sqlexpr packaging branch, master, updated. debian/0.2.3-1

Sylvain Le Gall gildor at debian.org
Wed Dec 8 10:28:57 UTC 2010


The following commit has been merged in the master branch:
commit f111944273494d96c1ebb83a038c68444aece7a8
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Wed Dec 8 11:28:00 2010 +0100

    Initial packaging

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d47fbd0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ocaml-sqlexpr (0.2.3-1) unstable; urgency=low
+
+  * Initial release. (Closes: #605683)
+
+ -- Sylvain Le Gall <gildor at debian.org>  Wed, 08 Dec 2010 11:27:41 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5401d6e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,61 @@
+Source: ocaml-sqlexpr
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: 
+  Sylvain Le Gall <gildor at debian.org>
+Build-Depends:
+  ocaml-nox (>= 3.11.1-3~),
+  ocaml-findlib,
+  ocaml-base-nox,
+  libsqlite3-ocaml-dev,
+  liblwt-ocaml-dev,
+  libextlib-ocaml-dev,
+  libcsv-ocaml-dev,
+  libbatteries-ocaml-dev,
+  dh-ocaml (>= 0.9~),
+  debhelper (>= 7.0.50~),
+  camlp4
+Standards-Version: 3.9.1
+Homepage: http://github.com/mfp/ocaml-sqlexpr
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-sqlexpr.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-sqlexpr.git
+
+Package: libsqlexpr-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: Type-safe, convenient SQLite database access.
+ Minimalistic library and syntax extension for type-safe, convenient execution
+ of SQL statements. Currently compatible with Sqlite3.
+ .
+ Sqlexpr features:
+  * automated prepared statement caching, param binding, data extraction, error
+    checking (including automatic stmt reset to avoid BUSY/LOCKED errors in
+    subsequent queries), stmt finalization on db close, etc.
+  * HOFs like iter, fold, transaction
+  * support for different concurrency models: everything is functorized over a
+    THREAD monad, so you can for instance do concurrent folds/iters with Lwt
+  * support for SQL stmt syntax checks and some extra semantic checking (column
+    names, etc)
+
+Package: libsqlexpr-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: Type-safe, convenient SQLite database access.
+ Minimalistic library and syntax extension for type-safe, convenient execution
+ of SQL statements. Currently compatible with Sqlite3.
+ .
+ Sqlexpr features:
+  * automated prepared statement caching, param binding, data extraction, error
+    checking (including automatic stmt reset to avoid BUSY/LOCKED errors in
+    subsequent queries), stmt finalization on db close, etc.
+  * HOFs like iter, fold, transaction
+  * support for different concurrency models: everything is functorized over a
+    THREAD monad, so you can for instance do concurrent folds/iters with Lwt
+  * support for SQL stmt syntax checks and some extra semantic checking (column
+    names, etc)
+ .
+ This package contains the shared runtime libraries.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..757f149
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: ocaml-sqlexpr
+Maintainer: Sylvain Le Gall <gildor at debian.org>
+
+Files: *
+Copyright: TODO
+License: LGPL-2.1 with OCaml linking exception
+
+ See '/usr/share/common-licenses/LGPL-2.1' for full text.
+
+ As a special exception to the GNU Library General Public License, you may
+ link, statically or dynamically, a "work that uses the Library" with a
+ publicly distributed version of the Library to produce an executable file
+ containing portions of the Library, and distribute that executable file under
+ terms of your choice, without any of the additional requirements listed in
+ clause 6 of the GNU Library General Public License.  By "a publicly
+ distributed version of the Library", we mean either the unmodified Library as
+ distributed by upstream author, or a modified version of the Library that is
+ distributed under the conditions defined in clause 3 of the GNU Library
+ General Public License.  This exception does not however invalidate any other
+ reasons why the executable file might be covered by the GNU Library General
+ Public License.
+
+Files: debian/*
+Copyright: (C) 2010 Sylvain Le Gall <gildor at debian.org>
+License: GPL-3+
+                
+ See '/usr/share/common-licenses/GPL-3' for full text.
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/libsqlexpr-ocaml-dev.docs b/debian/libsqlexpr-ocaml-dev.docs
new file mode 100644
index 0000000..b1d69cd
--- /dev/null
+++ b/debian/libsqlexpr-ocaml-dev.docs
@@ -0,0 +1 @@
+_build/sqlexpr.docdir
diff --git a/debian/libsqlexpr-ocaml-dev.install.in b/debian/libsqlexpr-ocaml-dev.install.in
new file mode 100644
index 0000000..57f6b26
--- /dev/null
+++ b/debian/libsqlexpr-ocaml-dev.install.in
@@ -0,0 +1,4 @@
+ at OCamlStdlibDir@/sqlexpr/*.cmi
+ at OCamlStdlibDir@/sqlexpr/*.ml*
+OPT: @OCamlStdlibDir@/sqlexpr/*.cmx*
+OPT: @OCamlStdlibDir@/sqlexpr/*.a
diff --git a/debian/libsqlexpr-ocaml-dev.ocamldoc b/debian/libsqlexpr-ocaml-dev.ocamldoc
new file mode 100644
index 0000000..66aee0e
--- /dev/null
+++ b/debian/libsqlexpr-ocaml-dev.ocamldoc
@@ -0,0 +1,2 @@
+-d sqlexpr.docdir
+--doc-base-generate
diff --git a/debian/libsqlexpr-ocaml.install.in b/debian/libsqlexpr-ocaml.install.in
new file mode 100644
index 0000000..4252df1
--- /dev/null
+++ b/debian/libsqlexpr-ocaml.install.in
@@ -0,0 +1,2 @@
+ at OCamlStdlibDir@/sqlexpr/META
+ at OCamlStdlibDir@/sqlexpr/*.cm[ao]
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e6bc344
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DESTDIR=$(CURDIR)/debian/tmp
+
+include /usr/share/ocaml/ocamlvars.mk
+
+OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+export OCAMLFIND_DESTDIR
+OCAMLFIND_LDCONF=ignore
+export OCAMLFIND_LDCONF
+
+%:
+	dh --with ocaml $@
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+	ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --docdir '/usr/share/doc/libsqlexpr-ocaml-dev'
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+	ocaml setup.ml -build
+	ocaml setup.ml -doc
+
+.PHONY: override_dh_auto_test
+override_dh_auto_test:
+	ocaml setup.ml -test
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+	mkdir -p '$(OCAMLFIND_DESTDIR)'
+	ocaml setup.ml -install 
+
+.PHONY: override_dh_install
+override_dh_install:
+	dh_install --fail-missing
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+	ocaml setup.ml -distclean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
ocaml-sqlexpr packaging



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