[Pkg-ocaml-maint-commits] [SCM] ocaml-r packaging branch, master, updated. upstream/0.2-1-gabbc8bb

Guillaume Yziquel guillaume.yziquel at citycable.ch
Sat May 15 08:09:31 UTC 2010


The following commit has been merged in the master branch:
commit abbc8bb3bb4641b8dcfc26b9cc623752394a1f01
Author: Guillaume Yziquel <guillaume.yziquel at citycable.ch>
Date:   Sat May 15 10:10:31 2010 +0200

    Initial Debian packaging.

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..3c08d5d
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,16 @@
+OCaml-R Debian source package
+=============================
+
+Patching upstream sources
+-------------------------
+
+This source package uses quilt to apply and remove its patches. Please
+refer to `/usr/share/doc/quilt/README.source' for information about
+how to use quilt for source packages.
+
+The quilt series is generated from the Git repository, using
+dom-{apply,save}-patches, from the dh-ocaml (>= 0.5) package. Please
+refer to the appendix about Git in the Debian OCaml Packaging Policy
+(from the same package).
+
+ -- Guillaume Yziquel <guillaume.yziquel at citycable.ch>, Fri, 15 Oct 2009 00:41:28 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8e25ec5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+ocaml-r (0.2-2) UNRELEASED; urgency=low
+
+  * Fixing dangling cmx[a].
+
+ -- Guillaume Yziquel <guillaume.yziquel at citycable.ch>  Wed, 24 Feb 2010 00:45:51 +0100
+
+ocaml-r (0.2-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #542857)
+
+ -- Guillaume Yziquel <guillaume.yziquel at citycable.ch>  Tue, 23 Feb 2010 00:16:40 +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..7668ae8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,63 @@
+Source: ocaml-r
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Guillaume Yziquel <guillaume.yziquel at citycable.ch>
+Build-Depends: quilt,
+ cdbs       (>= 0.4.52),
+ debhelper  (>= 7),
+ dh-ocaml   (>= 0.9),
+ ocaml-nox  (>= 3.11),
+ camlp4     (>= 3.11),
+ ocaml-findlib,
+ camlp4-extra,
+ r-base-core (>= 2.3.1),
+ r-mathlib,
+ libcalendar-ocaml-dev
+Standards-Version: 3.8.4
+Homepage: http://home.gna.org/ocaml-r/
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-r.git
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-r.git
+
+Package: libr-ocaml-dev
+Architecture: any
+Depends: libr-ocaml (= ${binary:Version}),
+ r-base-core (>= 2.3.1),
+ r-mathlib,
+ libcalendar-ocaml-dev,
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: OCaml bindings for the R interpreter
+ OCaml-R provides OCaml bindings to the R math library and
+ the R library usable to embed R in your application.
+ .
+ OCaml-R is still in development. Most of the R math library
+ functions are available. With the embedded R, it is already
+ possible to evaluate R code, create R variables and exchange
+ basic data between embedded R and OCaml sides.
+ .
+ This package contains development files for OCaml-R.
+
+Package: libr-ocaml
+Architecture: any
+Depends: r-base-core (>= 2.3.1),
+ r-mathlib,
+ libcalendar-ocaml-dev,
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: OCaml bindings for the R interpreter (runtime)
+ OCaml-R provides OCaml bindings to the R math library and
+ the R library usable to embed R in your application.
+ .
+ OCaml-R is still in development. Most of the R math library
+ functions are available. With the embedded R, it is already
+ possible to evaluate R code, create R variables and exchange
+ basic data between embedded R and OCaml sides.
+ .
+ This package contains dynamically loadable plugins for OCaml-R.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..539bfca
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,18 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION
+Name: OCaml-R
+Maintainer: Maxence Guesdon <maxence.guesdon at inria.fr>
+            Guillaume Yziquel <guillaume.yziquel at citycable.ch>
+Source: http://home.gna.org/ocaml-r/
+        http://yziquel.homelinux.org/gitweb/?p=ocaml-r.git;a=summary
+
+Copyright: © 2008-2009 Institut National de Recherche en Informatique et en Automatique
+           © 2009-2010 Guillaume Yziquel <guillaume.yziquel at citycable.ch>
+License: GPL-3
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-3'.
+
+Files: debian/*
+Copyright: © 2009-2010 Guillaume Yziquel <guillaume.yziquel at citycable.ch>
+License: GPL-3+
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-3'.
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/libr-ocaml-dev.dirs.in b/debian/libr-ocaml-dev.dirs.in
new file mode 100644
index 0000000..ad86960
--- /dev/null
+++ b/debian/libr-ocaml-dev.dirs.in
@@ -0,0 +1 @@
+ at OCamlStdlibDir@/R/
diff --git a/debian/libr-ocaml-dev.install.in b/debian/libr-ocaml-dev.install.in
new file mode 100644
index 0000000..744f935
--- /dev/null
+++ b/debian/libr-ocaml-dev.install.in
@@ -0,0 +1,20 @@
+src/r.mli             @OCamlStdlibDir@/R
+src/r.cmi             @OCamlStdlibDir@/R
+OPT: src/r.o          @OCamlStdlibDir@/R
+OPT: src/r.cmx        @OCamlStdlibDir@/R
+OPT: src/*.a          @OCamlStdlibDir@/R
+OPT: src/*.cmxa       @OCamlStdlibDir@/R
+src/math/*.mli        @OCamlStdlibDir@/R
+src/math/*.cmi        @OCamlStdlibDir@/R
+OPT: src/math/*.o     @OCamlStdlibDir@/R
+OPT: src/math/*.cmx   @OCamlStdlibDir@/R
+OPT: src/math/*.a     @OCamlStdlibDir@/R
+OPT: src/math/*.cmxa  @OCamlStdlibDir@/R
+src/rbase.mli         @OCamlStdlibDir@/R
+src/rbase.cmi         @OCamlStdlibDir@/R
+OPT: src/rbase.o      @OCamlStdlibDir@/R
+OPT: src/rbase.cmx    @OCamlStdlibDir@/R
+src/rstats.mli        @OCamlStdlibDir@/R
+src/rstats.cmi        @OCamlStdlibDir@/R
+OPT: src/rstats.o     @OCamlStdlibDir@/R
+OPT: src/rstats.cmx   @OCamlStdlibDir@/R
diff --git a/debian/libr-ocaml-dev.ocamldoc b/debian/libr-ocaml-dev.ocamldoc
new file mode 100644
index 0000000..4da0072
--- /dev/null
+++ b/debian/libr-ocaml-dev.ocamldoc
@@ -0,0 +1 @@
+ -package calendar
diff --git a/debian/libr-ocaml.dirs.in b/debian/libr-ocaml.dirs.in
new file mode 100644
index 0000000..f741c7c
--- /dev/null
+++ b/debian/libr-ocaml.dirs.in
@@ -0,0 +1,2 @@
+ at OCamlStdlibDir@/R/
+ at OCamlDllDir@
diff --git a/debian/libr-ocaml.install.in b/debian/libr-ocaml.install.in
new file mode 100644
index 0000000..9027a61
--- /dev/null
+++ b/debian/libr-ocaml.install.in
@@ -0,0 +1,11 @@
+src/*.cma             @OCamlStdlibDir@/R
+src/*.so              @OCamlDllDir@
+OPT: src/*.a          @OCamlStdlibDir@/R
+OPT: src/*.cmxs       @OCamlStdlibDir@/R
+src/oCamlR.cmo        @OCamlStdlibDir@/R
+OPT: src/oCamlR.o     @OCamlStdlibDir@/R
+OPT: src/oCamlR.cmx   @OCamlStdlibDir@/R
+#src/math/*.cma        @OCamlStdlibDir@/R
+#src/math/*.so         @OCamlDllDir@
+#OPT: src/math/*.a     @OCamlStdlibDir@/R
+src/META              @OCamlStdlibDir@/R
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e69de29
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fb2ac40
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+# debian/rules for ocaml-r package
+# Copyright (C) 2009-2010 Guillaume Yziquel <guillaume.yziquel at citycable.ch>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 3, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+# MA 02110-1301, USA.
+
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/ocaml.mk
+#include /usr/share/cdbs/1/class/makefile.mk
+
+PACKAGE := ocaml-r
+DESTDIR := $(CURDIR)/debian/$(PACKAGE)
+
+PACKAGE_DEV := libr-ocaml-dev
+DESTDIR_DEV := $(CURDIR)/debian/$(PACKAGE_DEV)
+
+OCAMLDOC_PLUGINSDIR := $(DESTDIR)/$(shell ocamldoc -customdir)
+
+DEB_MAKE_CLEAN_TARGET    := clean
+DEB_MAKE_BUILD_TARGET    := all
+DEB_MAKE_INSTALL_TARGET  :=
+
+#OCAML_OCAMLDOC_PACKAGES = libr-ocaml-dev
+#OCAML_OCAMLDOC_OCAMLFIND_FLAGS = -package calendar
+
+# These cannot be erased by debian/clean mechanisms becore they are touched
+# by upstream `make clean'
+#clean::
+#	-$(RM) '$(CURDIR)/src/.depend'
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5d58d5f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://download.gna.org/ocaml-r/ocaml-r_([\d\.]*)\.tar.gz

-- 
ocaml-r packaging



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