[Pkg-ocaml-maint-commits] [async-kernel] 01/01: Initial packaging effort

Hilko Bengen bengen at moszumanska.debian.org
Wed Jan 13 19:49:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository async-kernel.

commit bd36e36086354a85f26183ea997472e9a2620219
Author: Hilko Bengen <bengen at debian.org>
Date:   Wed Jan 13 20:48:36 2016 +0100

    Initial packaging effort
---
 debian/changelog                            |  5 +++
 debian/compat                               |  1 +
 debian/control                              | 56 +++++++++++++++++++++++++++++
 debian/copyright                            | 25 +++++++++++++
 debian/gbp.conf                             |  2 ++
 debian/libasync-kernel-ocaml-dev.install.in | 14 ++++++++
 debian/libasync-kernel-ocaml-dev.ocamldoc   | 18 ++++++++++
 debian/libasync-kernel-ocaml.install.in     |  1 +
 debian/rules                                | 33 +++++++++++++++++
 debian/source/format                        |  1 +
 debian/source/local-options                 |  2 ++
 debian/watch                                |  2 ++
 12 files changed, 160 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1035c01
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+async-kernel (113.00.00-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #718238)
+
+ -- Hilko Bengen <bengen at debian.org>  Wed, 13 Jan 2016 20:05:34 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4939c45
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,56 @@
+Source: async-kernel
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Lifeng Sun <lifongsun at gmail.com>, Hilko Bengen <bengen at debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-ocaml (>= 0.9~),
+ ocaml-nox (>= 4.00.1),
+ ocaml-findlib (>= 1.3.2),
+ camlp4,
+ camlp4-extra,
+ libbin-prot-camlp4-dev,
+ libcore-kernel-ocaml-dev,
+ libfields-camlp4-dev,
+ libhere-camlp4-dev,
+ libpa-bench-camlp4-dev,
+ libpa-ounit-camlp4-dev,
+ libpa-test-camlp4-dev,
+ libsexplib-camlp4-dev,
+ libvariants-camlp4-dev,
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/async-kernel.git
+Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/async-kernel.git
+Homepage: http://janestreet.github.io/
+
+Package: libasync-kernel-ocaml-dev
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ocaml-findlib,
+ camlp4,
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: Jane Street's asynchronous execution library for OCaml - kernel
+ Async is part Jane Street’s Core library, an industrial strength
+ alternative to OCaml's standard library that was developed by Jane
+ Street, the largest industrial user of OCaml.
+ .
+ This package contains the headers and the OCaml library.
+
+Package: libasync-kernel-ocaml
+Architecture: any
+Depends:
+ ocaml-findlib,
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: Jane Street's asynchronous execution library for OCaml - kernel (runtime)
+ Async is part Jane Street’s Core library, an industrial strength
+ alternative to OCaml's standard library that was developed by Jane
+ Street, the largest industrial user of OCaml.
+ .
+ This package contains the shared library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8cba031
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: core_kernel
+Upstream-Contact: Jane Street Capital LLC <opensource at janestreet.com>
+Source: https://github.com/janestreet/core_kernel
+
+Files: *
+Copyright: 2008-2013 Jane Street Group LLC <opensource at janestreet.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: Hilko Bengen <bengen at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ The full text of the Apache 2.0 License can be found in
+ `/usr/share/common-licenses/Apache-2.0'.
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/libasync-kernel-ocaml-dev.install.in b/debian/libasync-kernel-ocaml-dev.install.in
new file mode 100644
index 0000000..4d09926
--- /dev/null
+++ b/debian/libasync-kernel-ocaml-dev.install.in
@@ -0,0 +1,14 @@
+ at OCamlStdlibDir@/async_kernel/META
+ at OCamlStdlibDir@/async_kernel/*.a
+ at OCamlStdlibDir@/async_kernel/*.cma
+ at OCamlStdlibDir@/async_kernel/*.cmi
+ at OCamlStdlibDir@/async_kernel/*.ml
+ at OCamlStdlibDir@/async_kernel/*.mli
+OPT: @OCamlStdlibDir@/async_kernel/*.cmxa
+DYN: @OCamlStdlibDir@/async_kernel/*.cma
+OPT: @OCamlStdlibDir@/async_kernel/*.cmx
+DYN: @OCamlStdlibDir@/async_kernel/*.cmxs
+
+ at OCamlStdlibDir@/async_kernel/*.cmt
+ at OCamlStdlibDir@/async_kernel/*.cmti
+ at OCamlStdlibDir@/async_kernel/*.annot
\ No newline at end of file
diff --git a/debian/libasync-kernel-ocaml-dev.ocamldoc b/debian/libasync-kernel-ocaml-dev.ocamldoc
new file mode 100644
index 0000000..2a6810a
--- /dev/null
+++ b/debian/libasync-kernel-ocaml-dev.ocamldoc
@@ -0,0 +1,18 @@
+-I _build/src
+-ppopt -pa-ounit-lib
+-ppopt async_kernel
+-package sexplib.syntax
+-package sexplib
+-package pa_test.syntax
+-package pa_test
+-package pa_ounit.syntax
+-package pa_ounit
+-package pa_bench.syntax
+-package pa_bench
+-package herelib.syntax
+-package herelib
+-package fieldslib.syntax
+-package fieldslib
+-package core_kernel
+-package bin_prot.syntax
+-package bin_prot
diff --git a/debian/libasync-kernel-ocaml.install.in b/debian/libasync-kernel-ocaml.install.in
new file mode 100644
index 0000000..9d463b7
--- /dev/null
+++ b/debian/libasync-kernel-ocaml.install.in
@@ -0,0 +1 @@
+# @OCamlDllDir@/*.so
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e385a59
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+
+DESTDIR=$(CURDIR)/debian/tmp
+
+include /usr/share/ocaml/ocamlvars.mk
+
+export OCAML_DLL_DIR
+export OCAML_HAVE_OCAMLOPT
+export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+export OCAMLFIND_LDCONF=ignore
+
+%:
+	dh $@ --with ocaml
+
+override_dh_auto_configure:
+	ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' \
+		--enable-tests
+
+override_dh_auto_build:
+	ocaml setup.ml -build
+
+override_dh_auto_test:
+	ocaml setup.ml -test
+
+override_dh_auto_install:
+	mkdir -p '$(OCAMLFIND_DESTDIR)' '$(DESTDIR)$(OCAML_DLL_DIR)'
+	ocaml setup.ml -install
+
+override_dh_auto_clean:
+	ocaml setup.ml -distclean
+
+override_dh_install:
+	dh_install --fail-missing -X.so.owner
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)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..c4cf480
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+abort-on-upstream-changes
+unapply-patches
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..10d51c0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+opts=uversionmangle=s/-rc/~rc/ https://github.com/janestreet/async_kernel/tags /.*/archive/([\d\.\-rc]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/async-kernel.git



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