[Pkg-ocaml-maint-commits] [SCM] cppo packaging branch, master, updated. debian/0.9.0-1

Sylvain Le Gall gildor at debian.org
Sat Dec 4 22:07:03 UTC 2010


The following commit has been merged in the master branch:
commit f84ee528e9b735e5a1645c7ac257a5da9a2028dc
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Sat Dec 4 23:04:17 2010 +0100

    Initial packaging

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..33b3b9f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+cppo (0.9.0-1) unstable; urgency=low
+
+  * Initial release. (Closes: #605677)
+
+ -- Sylvain Le Gall <gildor at debian.org>  Sat, 04 Dec 2010 23:03:03 +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..38f61a6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: cppo
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders:
+  Sylvain Le Gall <gildor at debian.org>
+Build-Depends:
+  ocaml-nox (>= 3.11.1-3~),
+  ocaml-findlib,
+  dh-ocaml (>= 0.9~),
+  debhelper (>= 7.0.50~)
+Standards-Version: 3.9.1
+Homepage: http://martin.jambon.free.fr/cppo.html
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/cppo.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/cppo.git
+
+Package: cppo
+Architecture: all
+Depends: ${ocaml:Depends}, ${misc:Depends}
+Description: cpp for OCaml 
+ Cppo is an OCaml-friendly implementation of cpp, the C preprocessor.
+ It can replace camlp4 for preprocessing OCaml files, using cpp style and
+ syntax. It allows defining simple macros and file inclusion.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3fca8ac
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: cppo
+Maintainer: Sylvain Le Gall <gildor at debian.org>
+
+Files: *
+Copyright: Copyright (c) 2009 Martin Jambon
+License: BSD3
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+ 
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: (C) 2010 Sylvain Le Gall <gildor at debian.org>
+License: GPL-3+
+
+ See '/usr/share/common-licenses/GPL-3' for the full text.
diff --git a/debian/cppo.1 b/debian/cppo.1
new file mode 100644
index 0000000..a96cd36
--- /dev/null
+++ b/debian/cppo.1
@@ -0,0 +1,69 @@
+.TH CPPO 1 "December 4, 2010" "cppo User Manual"
+.SH NAME
+.PP
+cppo - cpp for OCaml.
+.SH SYNOPSIS
+.PP
+cppo [options] file*
+.SH DESCRIPTION
+.PP
+Cppo is an OCaml-friendly implementation of cpp, the C
+preprocessor.
+It can replace camlp4 for preprocessing OCaml files, using cpp
+style and syntax.
+It allows defining simple macros and file inclusion.
+.SH OPTIONS
+.TP
+.B -D \f[I]DEF\f[]
+Equivalent of interpreting `#define DEF' before processing the
+input
+.RS
+.RE
+.TP
+.B -U \f[I]IDENT\f[]
+Equivalent of interpreting `#undef IDENT' before processing the
+input
+.RS
+.RE
+.TP
+.B -I \f[B]DIR\f[]
+Add directory DIR to the search path for included files
+.RS
+.RE
+.TP
+.B -o \f[B]FILE\f[]
+Output file
+.RS
+.RE
+.TP
+.B -q
+Identify and preserve camlp4 quotations
+.RS
+.RE
+.TP
+.B -s
+Output line directives pointing to the exact source location of
+each token, including those coming from the body of macro
+definitions.
+This behavior is off by default.
+.RS
+.RE
+.TP
+.B -n
+Do not output any line directive other than those found in the
+input (overrides -s).
+.RS
+.RE
+.TP
+.B -version
+Print the version of the program and exit.
+.RS
+.RE
+.TP
+.B -help|--help
+Display this list of options
+.RS
+.RE
+.SH AUTHORS
+Sylvain Le Gall.
+
diff --git a/debian/cppo.dirs b/debian/cppo.dirs
new file mode 100644
index 0000000..415f082
--- /dev/null
+++ b/debian/cppo.dirs
@@ -0,0 +1 @@
+/usr/bin
diff --git a/debian/cppo.docs b/debian/cppo.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/cppo.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/cppo.examples b/debian/cppo.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/cppo.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/cppo.manpages b/debian/cppo.manpages
new file mode 100644
index 0000000..e0a5c7b
--- /dev/null
+++ b/debian/cppo.manpages
@@ -0,0 +1 @@
+debian/cppo.1
diff --git a/debian/cppo.mkd b/debian/cppo.mkd
new file mode 100644
index 0000000..741d68c
--- /dev/null
+++ b/debian/cppo.mkd
@@ -0,0 +1,51 @@
+% CPPO(1) cppo User Manual
+% Sylvain Le Gall 
+% December 4, 2010
+
+# NAME
+
+cppo - cpp for OCaml.
+
+# SYNOPSIS
+
+cppo [options] file\*
+
+# DESCRIPTION
+
+Cppo is an OCaml-friendly implementation of cpp, the C preprocessor.
+It can replace camlp4 for preprocessing OCaml files, using cpp style and
+syntax. It allows defining simple macros and file inclusion.
+
+# OPTIONS
+
+-D *DEF*
+:   Equivalent of interpreting '#define DEF' before processing the
+    input
+
+-U *IDENT*
+:   Equivalent of interpreting '#undef IDENT' before processing the
+    input
+
+-I `DIR`
+:   Add directory DIR to the search path for included files
+
+-o `FILE`
+:   Output file
+
+-q 
+:   Identify and preserve camlp4 quotations
+
+-s 
+:   Output line directives pointing to the exact source location of 
+    each token, including those coming from the body of macro 
+    definitions. This behavior is off by default.
+
+-n 
+:   Do not output any line directive other than those found in the 
+    input (overrides -s).
+
+-version 
+:   Print the version of the program and exit.
+
+-help|\--help
+:   Display this list of options
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/rules b/debian/rules
new file mode 100755
index 0000000..51747a5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DESTDIR=$(CURDIR)/debian/cppo
+
+include /usr/share/ocaml/ocamlvars.mk
+
+%:
+	dh --with ocaml $@
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+	$(MAKE) all
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+	make install 'BINDIR=$(DESTDIR)/usr/bin'
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+	$(MAKE) clean
+
+debian/cppo.1: debian/cppo.mkd
+	  pandoc -s -w man $^ -o $@
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..4f1c80d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://martin.jambon.free.fr/cppo.html cppo-([\d\.]*)\.tar\.gz

-- 
cppo packaging



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