summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Puydt <jpuydt@debian.org>2023-07-02 18:05:46 +0200
committerJulien Puydt <jpuydt@debian.org>2023-07-02 18:05:46 +0200
commit07656e3ee7b2119c6dd80af29ccefae0aca01cf5 (patch)
tree8db489c3da32990b427d6bb5bf6f19e6073e7039
parent0354d5e7b8c3dbd812feebfdf69307683d4cd421 (diff)
parentf23f129cb32f160c0d0842eef56b928c7fb8a150 (diff)
ppx-expect (0.16.0-2) unstable; urgency=medium
* Bump dep on ocaml-sexplib0 (Closes: #1039739). [dgit import unpatched ppx-expect 0.16.0-2]
-rw-r--r--debian/changelog11
-rw-r--r--debian/control47
-rw-r--r--debian/copyright30
-rw-r--r--debian/libppx-expect-ocaml-dev.docs1
-rw-r--r--debian/libppx-expect-ocaml-dev.install.in16
-rw-r--r--debian/libppx-expect-ocaml.install.in8
-rwxr-xr-xdebian/rules16
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch2
10 files changed, 137 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cead23f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+ppx-expect (0.16.0-2) unstable; urgency=medium
+
+ * Bump dep on ocaml-sexplib0 (Closes: #1039739).
+
+ -- Julien Puydt <jpuydt@debian.org> Sun, 02 Jul 2023 18:05:46 +0200
+
+ppx-expect (0.16.0-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #1038795)
+
+ -- Julien Puydt <jpuydt@debian.org> Wed, 21 Jun 2023 15:38:45 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..85c33e6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,47 @@
+Source: ppx-expect
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders: Julien Puydt <jpuydt@debian.org>
+Section: ocaml
+Priority: optional
+Standards-Version: 4.6.2
+Rules-Requires-Root: no
+Build-Depends: debhelper-compat (= 13),
+ dh-ocaml,
+ libbase-ocaml-dev,
+ libjane-street-headers-ocaml-dev,
+ libppx-enumerate-ocaml-dev,
+ libppx-hash-ocaml-dev,
+ libppx-here-ocaml-dev,
+ libppx-inline-test-ocaml-dev,
+ libppx-sexp-conv-ocaml-dev,
+ libppxlib-ocaml-dev,
+ libre-ocaml-dev,
+ libsexplib0-ocaml-dev (>= 0.16.0),
+ libstdio-ocaml-dev,
+ ocaml-dune,
+ ocaml-nox
+Vcs-Browser: https://salsa.debian.org/ocaml-team/ppx-expect
+Vcs-Git: https://salsa.debian.org/ocaml-team/ppx-expect.git
+Homepage: https://github.com/janestreet/ppx_expect
+
+Package: libppx-expect-ocaml
+Architecture: any
+Depends: ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: testing framework for OCaml (runtime files)
+ This package provides a testing framework similar
+ to Python's cram framework for OCaml programming.
+ .
+ This package contains runtime files.
+
+Package: libppx-expect-ocaml-dev
+Architecture: any
+Depends: ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: testing framework for OCaml (dev files)
+ This package provides a testing framework similar
+ to Python's cram framework for OCaml programming.
+ .
+ This package contains development files.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9c72b5e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright: 2015-2023 Jane Street Group, LLC
+License: expat
+
+Files: debian/*
+Copyright: 2023 Julien Puydt
+License: expat
+
+License: expat
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation files
+ (the "Software"), to deal in the Software without restriction,
+ including without limitation the rights to use, copy, modify, merge,
+ publish, distribute, sublicense, and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/libppx-expect-ocaml-dev.docs b/debian/libppx-expect-ocaml-dev.docs
new file mode 100644
index 0000000..ef08276
--- /dev/null
+++ b/debian/libppx-expect-ocaml-dev.docs
@@ -0,0 +1 @@
+usr/doc/ppx_expect/*
diff --git a/debian/libppx-expect-ocaml-dev.install.in b/debian/libppx-expect-ocaml-dev.install.in
new file mode 100644
index 0000000..4184cfb
--- /dev/null
+++ b/debian/libppx-expect-ocaml-dev.install.in
@@ -0,0 +1,16 @@
+@OCamlStdlibDir@/ppx_expect/*opam*
+@OCamlStdlibDir@/ppx_expect/*dune*
+@OCamlStdlibDir@/ppx_expect/*.a
+@OCamlStdlibDir@/ppx_expect/*.cmi
+@OCamlStdlibDir@/ppx_expect/*.cmt*
+@OCamlStdlibDir@/ppx_expect/*.ml
+@OCamlStdlibDir@/ppx_expect/*.mli
+@OCamlStdlibDir@/ppx_expect/*/*.a
+@OCamlStdlibDir@/ppx_expect/*/*.cmi
+@OCamlStdlibDir@/ppx_expect/*/*.cmt*
+@OCamlStdlibDir@/ppx_expect/*/*.ml
+@OCamlStdlibDir@/ppx_expect/*/*.mli
+OPT: @OCamlStdlibDir@/ppx_expect/*.cmx
+OPT: @OCamlStdlibDir@/ppx_expect/*.cmxa
+OPT: @OCamlStdlibDir@/ppx_expect/*/*.cmx
+OPT: @OCamlStdlibDir@/ppx_expect/*/*.cmxa
diff --git a/debian/libppx-expect-ocaml.install.in b/debian/libppx-expect-ocaml.install.in
new file mode 100644
index 0000000..2aab413
--- /dev/null
+++ b/debian/libppx-expect-ocaml.install.in
@@ -0,0 +1,8 @@
+@OCamlStdlibDir@/ppx_expect/META
+@OCamlStdlibDir@/ppx_expect/collector/runtime.js
+@OCamlStdlibDir@/ppx_expect/ppx.exe
+usr/lib/ocaml/stublibs/dllexpect_test_collector_stubs.so @OCamlDllDir@
+@OCamlStdlibDir@/ppx_expect/*.cma
+@OCamlStdlibDir@/ppx_expect/*/*.cma
+DYN: @OCamlStdlibDir@/ppx_expect/*.cmxs
+DYN: @OCamlStdlibDir@/ppx_expect/*/*.cmxs
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4d44a7c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/ocaml/ocamlvars.mk
+
+%:
+ dh $@ --with ocaml
+
+override_dh_auto_build:
+ dune build -p ppx_expect
+
+override_dh_auto_install:
+ dune install --destdir=$(CURDIR)/debian/tmp --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
+ find $(CURDIR)/debian/tmp -name LICENSE.md -delete
+
+override_dh_auto_test:
+ # do nothing!
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7966fe9
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Repository: https://github.com/janestreet/ppx_expect.git
+Repository-Browse: https://github.com/janestreet/ppx_expect
+Bug-Database: https://github.com/janestreet/ppx_expect/issues
+Bug-Submit: https://github.com/janestreet/ppx_expect/issues/new
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c4c5678
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://github.com/janestreet/ppx_expect/tags .*/v?([\d\.]+).tar.gz