[Pkg-ocaml-maint-commits] [ppx-deriving-yojson] 01/01: initial package

Ralf Treinen treinen at moszumanska.debian.org
Wed Jun 7 09:02:36 UTC 2017


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

treinen pushed a commit to branch master
in repository ppx-deriving-yojson.

commit 08baceefe8c5744bc8412001c89d96496fa2a772
Author: Ralf Treinen <treinen at irif.fr>
Date:   Wed Jun 7 10:47:31 2017 +0200

    initial package
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 22 ++++++++++++++++++++++
 debian/copyright     | 32 ++++++++++++++++++++++++++++++++
 debian/rules         | 16 ++++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  4 ++++
 7 files changed, 81 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..136d910
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ppx-deriving-yojson (3.0-1) unstable; urgency=low
+
+  * Initial upload (closes: #?????)
+
+ -- Ralf Treinen <treinen at debian.org>  Wed, 07 Jun 2017 10:38:51 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ee10289
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: ppx-deriving-yojson
+Section: ocaml
+Priority: extra
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Ralf Treinen <treinen at debian.org>,
+Build-Depends: debhelper (>= 10), dh-ocaml (>= 0.9~),
+ ocaml-nox, libfindlib-ocaml, cppo,
+ libppx-deriving-ocaml-dev
+Standards-Version: 3.9.8
+Homepage: https://github.com/whitequark/ppx_deriving_yojson
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ocaml-maint/packages/ppx-deriving-yojson.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-ocaml-maint/packages/ppx-deriving-yojson.git
+
+Package: libppx-deriving-yojson-ocaml-dev
+Architecture: any
+Depends: ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml syntax extension for JSON serialization
+ Ppx-deriving-yojson is a syntax extension for the OCaml programming
+ language. It allows you to annotate your type definitions, such that
+ functions for serialization to JSON, and for deserialization from
+ JSON, are automatically derived.
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4828f5b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ppx_deriving_yojson
+Upstream-Contact: whitequark <whitequark at whitequark.org>
+Source: https://github.com/whitequark/ppx_deriving_yojson
+
+Files: *
+Copyright: © 2014-2016  whitequark <whitequark at whitequark.org>
+License: MIT
+
+Files: debian/*
+Copyright: © 2017 Ralf Treinen <treinen at debian.org>
+License: MIT
+
+License: MIT
+ 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/rules b/debian/rules
new file mode 100755
index 0000000..79e499f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+ODESTDIR = $(CURDIR)/debian/libppx-deriving-yojson-ocaml-dev/usr/lib/ocaml
+
+%:
+	dh $@ --with ocaml
+
+override_dh_auto_install:
+	mkdir -p $(ODESTDIR)
+	ocamlfind install -destdir $(ODESTDIR) \
+		ppx_deriving_yojson pkg/META _build/src/*
+
+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/watch b/debian/watch
new file mode 100644
index 0000000..98fd222
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="mode=git, pgpmode=none" \
+	 https://github.com/whitequark/ppx_deriving_yojson.git \
+         refs/tags/v([\d.]+)

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



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