[Pkg-ocaml-maint-commits] r1182 - in trunk/packages: . ounit ounit/trunk ounit/trunk/debian ounit/trunk/debian/patches
Sylvain LE GALL
gildor-guest@costa.debian.org
Sun, 03 Apr 2005 15:21:08 +0000
Author: gildor-guest
Date: 2005-04-03 15:21:07 +0000 (Sun, 03 Apr 2005)
New Revision: 1182
Added:
trunk/packages/ounit/
trunk/packages/ounit/trunk/
trunk/packages/ounit/trunk/debian/
trunk/packages/ounit/trunk/debian/README.Debian
trunk/packages/ounit/trunk/debian/changelog
trunk/packages/ounit/trunk/debian/compat
trunk/packages/ounit/trunk/debian/control
trunk/packages/ounit/trunk/debian/copyright
trunk/packages/ounit/trunk/debian/dirs
trunk/packages/ounit/trunk/debian/docs
trunk/packages/ounit/trunk/debian/libounit-ocaml-dev.doc-base.1
trunk/packages/ounit/trunk/debian/libounit-ocaml-dev.doc-base.2
trunk/packages/ounit/trunk/debian/patches/
trunk/packages/ounit/trunk/debian/patches/00list
trunk/packages/ounit/trunk/debian/patches/01_destdir.dpatch
trunk/packages/ounit/trunk/debian/rules
trunk/packages/ounit/trunk/debian/watch
trunk/packages/ounit/trunk/ounit_1.0.1.orig.tar.gz
Log:
Injection of ounit in the pkg-ocaml-maint repo -- SLG
Added: trunk/packages/ounit/trunk/debian/README.Debian
===================================================================
--- trunk/packages/ounit/trunk/debian/README.Debian 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/README.Debian 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,20 @@
+ounit for Debian
+----------------
+
+To build a module using OUnit, use a command like this:
+
+ocamlfind ocamlc -package oUnit -c -o foo.cmo foo.ml
+
+To link an application that uses OUnit:
+
+ocamlfind ocamlc -package oUnit unix.cma oUnit.cma -o app file.cmo
+
+For native code, the commands are:
+
+ocamlfind ocamlopt -package oUnit -c -o foo.cmx foo.ml
+
+and:
+
+ocamlfind ocamlopt -package oUnit unix.cmxa oUnit.cmxa -o app file.cmx
+
+ -- John Goerzen <jgoerzen@complete.org>, Thu, 11 Mar 2004 19:28:36 -0600
Added: trunk/packages/ounit/trunk/debian/changelog
===================================================================
--- trunk/packages/ounit/trunk/debian/changelog 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/changelog 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,52 @@
+ounit (1.0.1-3) unstable; urgency=low
+
+ * Transition to ocaml 3.08.3,
+ * The package is now maintained by Sylvain Le Gall <sylvain.le-gall@polytechnique.org>,
+ ( changes in control, copyright ),
+ * Correct the dependency of the package, according to the debian-ocaml-maintainer
+ policy : now depends on ocaml-nox-3.08.3 rather than ocaml (>=3.08.2),
+ * Clean the rules files,
+ * Use dpatch ( debian-ocaml-maintainer common rules ),
+ * Add a watch file,
+ * Change the site of download, since the upstream site has moved,
+ * Move to debian policy 3.6.1.0.
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org> Sun, 3 Apr 2005 16:19:29 +0200
+
+ounit (1.0.1-2) unstable; urgency=medium
+
+ * Tightened up deps in control file.
+
+ -- John Goerzen <jgoerzen@complete.org> Mon, 13 Dec 2004 08:23:54 -0600
+
+ounit (1.0.1-1) unstable; urgency=medium
+
+ * New upstream version.
+ * Urgency medium; needed rebuild for new OCaml.
+
+ -- John Goerzen <jgoerzen@complete.org> Mon, 13 Dec 2004 08:17:16 -0600
+
+ounit (1.0.0-4) unstable; urgency=medium
+
+ * Adjusted depends for ocaml 3.08. Closes: #264136.
+
+ -- John Goerzen <jgoerzen@complete.org> Sat, 7 Aug 2004 21:25:45 -0500
+
+ounit (1.0.0-3) unstable; urgency=low
+
+ * Rebuilt for OCaml 3.08
+
+ -- John Goerzen <jgoerzen@complete.org> Tue, 27 Jul 2004 08:46:38 -0500
+
+ounit (1.0.0-2) unstable; urgency=low
+
+ * Corrected mistake with uploading of orig.tar.gz.
+
+ -- John Goerzen <jgoerzen@complete.org> Fri, 12 Mar 2004 09:24:23 -0600
+
+ounit (1.0.0-1) unstable; urgency=low
+
+ * Initial Release. Closes: #237551.
+
+ -- John Goerzen <jgoerzen@complete.org> Thu, 11 Mar 2004 19:28:36 -0600
+
Added: trunk/packages/ounit/trunk/debian/compat
===================================================================
--- trunk/packages/ounit/trunk/debian/compat 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/compat 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1 @@
+4
Added: trunk/packages/ounit/trunk/debian/control
===================================================================
--- trunk/packages/ounit/trunk/debian/control 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/control 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,18 @@
+Source: ounit
+Section: devel
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+Build-Depends: debhelper (>= 4.0.0), ocaml-nox-3.08.3, ocaml-findlib (>= 1.0.4-1), dpatch
+Standards-Version: 3.6.1.0
+
+Package: libounit-ocaml-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ocaml-nox-3.08.3
+Description: Unit testing framework for Objective Caml
+ OUnit is a unit testing framework for Objective Caml, imspired
+ by the JUnit tool for JAva and the HUnit tool for Haskell.
+ .
+ OUnit is designed to provide a convenient way for you to write tests
+ for your OCaml code. Tests can be aggregated into test suites, making
+ it easy to both write tests close to the code being examined and
+ execute a comprehensive aggregate set of tests -- or any subset of it.
Added: trunk/packages/ounit/trunk/debian/copyright
===================================================================
--- trunk/packages/ounit/trunk/debian/copyright 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/copyright 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,33 @@
+This package was debianized by John Goerzen <jgoerzen@complete.org> on
+Thu, 11 Mar 2004 19:28:36 -0600.
+The debianization of this package is to be continued by Sylvain Le Gall
+<sylvain.le-gall@polytechnique.org> on Sun, 3 Apr 2005 16:19:29 +0200
+
+It was downloaded from http://home.wanadoo.nl/maas/ocaml/
+
+Upstream Author: Maas-Maarten Zeeman <maas@wanadoo.nl>
+
+Copyright:
+
+Copyright (c) 2002, 2003 by Maas-Maarten Zeeman
+
+The package OUnit is copyright by Maas-Maarten Zeeman.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this document and the OUnit software ("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 Maas-Maarten Zeeman 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.
Added: trunk/packages/ounit/trunk/debian/dirs
===================================================================
--- trunk/packages/ounit/trunk/debian/dirs 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/dirs 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1 @@
+usr/share/doc/libounit-ocaml-dev/html
Added: trunk/packages/ounit/trunk/debian/docs
===================================================================
--- trunk/packages/ounit/trunk/debian/docs 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/docs 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,4 @@
+README
+doc/*.html
+doc/*.css
+doc/manual/src/OUnit.xml
Added: trunk/packages/ounit/trunk/debian/libounit-ocaml-dev.doc-base.1
===================================================================
--- trunk/packages/ounit/trunk/debian/libounit-ocaml-dev.doc-base.1 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/libounit-ocaml-dev.doc-base.1 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,10 @@
+Document: ounit-api
+Title: OCaml OUnit API Reference
+Author: Maas-Maarten Zeeman
+Abstract: Reference to the API for OUnit,
+ a unit testing framework for OCaml.
+Section: devel
+
+Format: HTML
+Index: /usr/share/doc/libounit-ocaml-dev/html/index.html
+Files: /usr/share/doc/libounit-ocaml-dev/html/*.html
Added: trunk/packages/ounit/trunk/debian/libounit-ocaml-dev.doc-base.2
===================================================================
--- trunk/packages/ounit/trunk/debian/libounit-ocaml-dev.doc-base.2 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/libounit-ocaml-dev.doc-base.2 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,9 @@
+Document: ounit-manual
+Title: Basic manual for OUnit (OCaml)
+Author: Maas-Maarten Zeeman
+Abstract: Introductory manual for OUnit
+Section: devel
+
+Format: text
+Files: /usr/share/doc/libounit-ocaml-dev/OUnit.txt
+
Added: trunk/packages/ounit/trunk/debian/patches/00list
===================================================================
--- trunk/packages/ounit/trunk/debian/patches/00list 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/patches/00list 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,2 @@
+01_destdir
+
Added: trunk/packages/ounit/trunk/debian/patches/01_destdir.dpatch
===================================================================
--- trunk/packages/ounit/trunk/debian/patches/01_destdir.dpatch 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/patches/01_destdir.dpatch 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_destdir.dpatch by Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad ounit-1.0.1/Makefile /tmp/dpep.j6T4za/ounit-1.0.1/Makefile
+--- ounit-1.0.1/Makefile 2004-07-24 11:40:58.000000000 +0200
++++ /tmp/dpep.j6T4za/ounit-1.0.1/Makefile 2005-04-03 17:08:09.000000000 +0200
+@@ -52,12 +52,12 @@
+ .PHONY: install
+ install: all
+ { test ! -f $(XARCHIVE) || extra="$(XARCHIVE) $(NAME).a"; }; \
+- $(OCAMLFIND) install $(NAME) META $(NAME).mli $(NAME).cmi $(ARCHIVE) \
++ $(OCAMLFIND) install $(if $(DESTDIR),-destdir $(DESTDIR)) $(NAME) META $(NAME).mli $(NAME).cmi $(ARCHIVE) \
+ $$extra
+
+ .PHONY: uninstall
+ uninstall:
+- $(OCAMLFIND) remove $(NAME)
++ $(OCAMLFIND) remove $(if $(DESTDIR),-destdir $(DESTDIR)) $(NAME)
+
+ .PHONY: doc
+ doc: FORCE
Property changes on: trunk/packages/ounit/trunk/debian/patches/01_destdir.dpatch
___________________________________________________________________
Name: svn:executable
+
Added: trunk/packages/ounit/trunk/debian/rules
===================================================================
--- trunk/packages/ounit/trunk/debian/rules 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/rules 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,67 @@
+#!/usr/bin/make -f
+
+DD := debian/libounit-ocaml-dev
+OCAMLDIR := $(shell ocamlc -where)
+DDOCAMLDIR := $(DD)/$(OCAMLDIR)
+
+include /usr/share/dpatch/dpatch.make
+PACKAGE=ounit
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+ dh_testdir
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ $(MAKE) depend
+ $(MAKE) all
+ if [ -x /usr/bin/ocamlopt ]; then $(MAKE) allopt; fi
+ $(MAKE) doc
+ touch build-stamp
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ -$(MAKE) clean
+ -rm depend
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ mkdir -p $(DDOCAMLDIR)
+ $(MAKE) install DESTDIR=$(DDOCAMLDIR)
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs changelog
+ dh_installdocs
+ mv $(DD)/usr/share/doc/libounit-ocaml-dev/*.{css,html} \
+ $(DD)/usr/share/doc/libounit-ocaml-dev/html/
+ mv $(DD)/usr/share/doc/libounit-ocaml-dev/OUnit.xml \
+ $(DD)/usr/share/doc/libounit-ocaml-dev/OUnit.txt
+ dh_installexamples examples/*
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
Property changes on: trunk/packages/ounit/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+
Added: trunk/packages/ounit/trunk/debian/watch
===================================================================
--- trunk/packages/ounit/trunk/debian/watch 2005-04-03 14:11:52 UTC (rev 1181)
+++ trunk/packages/ounit/trunk/debian/watch 2005-04-03 15:21:07 UTC (rev 1182)
@@ -0,0 +1,2 @@
+version=3
+http://www.xs4all.nl/~mmzeeman/ocaml/index.html ounit-([0-9\.]*)\.tar\.gz
Added: trunk/packages/ounit/trunk/ounit_1.0.1.orig.tar.gz
===================================================================
(Binary files differ)
Property changes on: trunk/packages/ounit/trunk/ounit_1.0.1.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream