diff options
author | Stéphane Glondu <glondu@debian.org> | 2021-11-24 08:21:35 +0100 |
---|---|---|
committer | Stéphane Glondu <glondu@debian.org> | 2021-11-24 08:21:35 +0100 |
commit | ca863eb087fc065d3cb7ebc929f543a96626d237 (patch) | |
tree | b983c8c31f0c16f14a8b5549601f5b8b89c89a66 |
Import ocaml-mtime_1.3.0-1.debian.tar.xz
[dgit import tarball ocaml-mtime 1.3.0-1 ocaml-mtime_1.3.0-1.debian.tar.xz]
-rw-r--r-- | changelog | 5 | ||||
-rw-r--r-- | control | 52 | ||||
-rw-r--r-- | copyright | 22 | ||||
-rw-r--r-- | gbp.conf | 2 | ||||
-rw-r--r-- | libmtime-ocaml-dev.docs | 1 | ||||
-rw-r--r-- | libmtime-ocaml-dev.install.in | 14 | ||||
-rw-r--r-- | libmtime-ocaml.install.in | 6 | ||||
-rwxr-xr-x | rules | 23 | ||||
-rw-r--r-- | source/format | 1 | ||||
-rw-r--r-- | watch | 2 |
10 files changed, 128 insertions, 0 deletions
diff --git a/changelog b/changelog new file mode 100644 index 0000000..4068674 --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +ocaml-mtime (1.3.0-1) unstable; urgency=medium + + * Initial release (Closes: #1000394) + + -- Stéphane Glondu <glondu@debian.org> Wed, 24 Nov 2021 08:21:35 +0100 @@ -0,0 +1,52 @@ +Source: ocaml-mtime +Section: ocaml +Priority: optional +Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org> +Uploaders: + Stéphane Glondu <glondu@debian.org> +Build-Depends: + debhelper-compat (= 13), + ocaml-nox, + ocaml-findlib, + ocamlbuild, + libjs-of-ocaml-dev, + libtopkg-ocaml-dev, + opam-installer, + dh-ocaml +Standards-Version: 4.6.0 +Rules-Requires-Root: no +Homepage: http://erratique.ch/software/mtime +Vcs-Git: https://salsa.debian.org/ocaml-team/ocaml-mtime.git +Vcs-Browser: https://salsa.debian.org/ocaml-team/ocaml-mtime + +Package: libmtime-ocaml-dev +Architecture: any +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${ocaml:Provides} +Suggests: ocaml-findlib +Description: monotonic wall-clock time for OCaml (development) + Mtime has platform independent support for monotonic wall-clock time + in pure OCaml. This time increases monotonically and is not subject + to operating system calendar time adjustments. The library has types + to represent nanosecond precision timestamps and time spans. + . + This package contains development files. + +Package: libmtime-ocaml +Architecture: any +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${ocaml:Provides} +Suggests: ocaml-findlib +Description: monotonic wall-clock time for OCaml (runtime) + Mtime has platform independent support for monotonic wall-clock time + in pure OCaml. This time increases monotonically and is not subject + to operating system calendar time adjustments. The library has types + to represent nanosecond precision timestamps and time spans. + . + This package contains runtime files. diff --git a/copyright b/copyright new file mode 100644 index 0000000..93d3ae6 --- /dev/null +++ b/copyright @@ -0,0 +1,22 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: 2015, The mtime programmers +License: ISC + +Files: debian/* +Copyright: 2021, Stéphane Glondu <glondu@debian.org> +License: ISC + +License: ISC + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..cec628c --- /dev/null +++ b/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/libmtime-ocaml-dev.docs b/libmtime-ocaml-dev.docs new file mode 100644 index 0000000..c38174f --- /dev/null +++ b/libmtime-ocaml-dev.docs @@ -0,0 +1 @@ +doc/*/* diff --git a/libmtime-ocaml-dev.install.in b/libmtime-ocaml-dev.install.in new file mode 100644 index 0000000..6ff6b2e --- /dev/null +++ b/libmtime-ocaml-dev.install.in @@ -0,0 +1,14 @@ +@OCamlStdlibDir@/*/opam +@OCamlStdlibDir@/*/*.mli +@OCamlStdlibDir@/*/*.cmi +@OCamlStdlibDir@/*/*.cmt* +@OCamlStdlibDir@/*/*top*.ml +OPT: @OCamlStdlibDir@/*/*.cmx +OPT: @OCamlStdlibDir@/*/*.cmxa +OPT: @OCamlStdlibDir@/*/*.a +@OCamlStdlibDir@/*/*/*.mli +@OCamlStdlibDir@/*/*/*.cmi +@OCamlStdlibDir@/*/*/*.cmt* +OPT: @OCamlStdlibDir@/*/*/*.cmx +OPT: @OCamlStdlibDir@/*/*/*.cmxa +OPT: @OCamlStdlibDir@/*/*/*.a diff --git a/libmtime-ocaml.install.in b/libmtime-ocaml.install.in new file mode 100644 index 0000000..833a888 --- /dev/null +++ b/libmtime-ocaml.install.in @@ -0,0 +1,6 @@ +@OCamlDllDir@/dll*.so +@OCamlStdlibDir@/*/META +@OCamlStdlibDir@/*/*.cma +OPT: @OCamlStdlibDir@/*/*.cmxs +@OCamlStdlibDir@/*/*/*.cma +OPT: @OCamlStdlibDir@/*/*/*.cmxs @@ -0,0 +1,23 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +DESTDIR=$(CURDIR)/debian/tmp +include /usr/share/ocaml/ocamlvars.mk + +%: + dh $@ --with ocaml + +override_dh_auto_clean: + ocaml pkg/pkg.ml clean + +override_dh_auto_build: + ocaml pkg/pkg.ml build --tests true + +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + ocaml pkg/pkg.ml test +endif + +override_dh_auto_install: + opam-installer --prefix=$(DESTDIR) --libdir=.$(OCAML_STDLIB_DIR) mtime.install + rm -f $(DESTDIR)/doc/*/LICENSE* diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) @@ -0,0 +1,2 @@ +version=4 +https://erratique.ch/software/mtime/releases/mtime-([0-9\.]*).tbz |