[Pkg-ocaml-maint-commits] r1191 - in trunk/packages: . ocaml-benchmark ocaml-benchmark/trunk ocaml-benchmark/trunk/debian ocaml-benchmark/trunk/debian/patches ocaml-benchmark/trunk/debian/utils
Sylvain LE GALL
gildor-guest@costa.debian.org
Sun, 03 Apr 2005 22:30:28 +0000
Author: gildor-guest
Date: 2005-04-03 22:30:27 +0000 (Sun, 03 Apr 2005)
New Revision: 1191
Added:
trunk/packages/ocaml-benchmark/
trunk/packages/ocaml-benchmark/trunk/
trunk/packages/ocaml-benchmark/trunk/debian/
trunk/packages/ocaml-benchmark/trunk/debian/changelog
trunk/packages/ocaml-benchmark/trunk/debian/compat
trunk/packages/ocaml-benchmark/trunk/debian/control
trunk/packages/ocaml-benchmark/trunk/debian/copyright
trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.dirs
trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.doc-base
trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.docs
trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.examples
trunk/packages/ocaml-benchmark/trunk/debian/patches/
trunk/packages/ocaml-benchmark/trunk/debian/patches/00list
trunk/packages/ocaml-benchmark/trunk/debian/patches/01destdir.dpatch
trunk/packages/ocaml-benchmark/trunk/debian/rules
trunk/packages/ocaml-benchmark/trunk/debian/utils/
trunk/packages/ocaml-benchmark/trunk/debian/utils/purify_benchmark
trunk/packages/ocaml-benchmark/trunk/debian/watch
trunk/packages/ocaml-benchmark/trunk/ocaml-benchmark_0.6.orig.tar.gz
Log:
Injection of benchmark : waiting the upstream answer concerning it inclusion in debian before ITP -- SLG
Added: trunk/packages/ocaml-benchmark/trunk/debian/changelog
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/changelog 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/changelog 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1,6 @@
+ocaml-benchmark (0.6-1) unstable; urgency=high
+
+ * Initial Release.
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org> Wed, 16 Mar 2005 23:35:07 +0100
+
Added: trunk/packages/ocaml-benchmark/trunk/debian/compat
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/compat 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/compat 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1 @@
+4
Added: trunk/packages/ocaml-benchmark/trunk/debian/control
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/control 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/control 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1,18 @@
+Source: ocaml-benchmark
+Section: libdevel
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox-3.08.3, dpatch
+Standards-Version: 3.6.1
+
+Package: libbenchmark-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-3.08.3
+Description: ocaml benchmarking libraries
+ This library implements benchmarking functions for measuring the
+ run-time of one or many functions using latency (multiple
+ repetitions) or throughput (repeat until some time period has
+ passed) tests.
+ .
+ It is inspired by the Perl module of the same name ( benchmark ).
Added: trunk/packages/ocaml-benchmark/trunk/debian/copyright
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/copyright 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/copyright 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1,30 @@
+This package was debianized by Sylvain Le Gall <sylvain.le-gall@polytechnique.org> on
+Wed, 16 Mar 2005 23:35:07 +0100.
+
+It was downloaded from
+http://prdownloads.sourceforge.net/ocaml-benchmark/
+
+Upstream Authors:
+ Christophe Troestler <chris_77@users.sourceforge.net>
+ Doug Bagley http://www.bagley.org/
+
+Copyright:
+
+Benchmark is distributed under the terms of the LGPL v2.1 licence, which
+can be found in the /usr/share/common-licenses/LGPL-2.1 file on debian
+systems.
+
+As a special exception to the GNU Lesser General Public License, you
+may link, statically or dynamically, a "work that uses the Library"
+with a publicly distributed version of the Library to produce an
+executable file containing portions of the Library, and distribute
+that executable file under terms of your choice, without any of the
+additional requirements listed in clause 6 of the GNU Lesser General
+Public License. By "a publicly distributed version of the Library",
+we mean either the unmodified Library as distributed, or a modified
+version of the Library that is distributed under the conditions
+defined in clause 3 of the GNU Library General Public License. This
+exception does not however invalidate any other reasons why the
+executable file might be covered by the GNU Lesser General Public
+License.
+
Added: trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.dirs
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.dirs 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.dirs 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1 @@
+/usr/lib/ocaml/3.08.3/
Added: trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.doc-base
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.doc-base 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.doc-base 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1,10 @@
+Document: ocaml-benchmark
+Title: Ocaml-benchmark Manual
+Author: Christophe Troestler
+Abstract: This manual documents the API of ocaml-benchmark,
+ a library providing benchmarking functions for OCaml.
+Section: Devel
+
+Format: HTML
+Index: /usr/share/doc/libbenchmark-ocaml-dev/html/index.html
+Files: /usr/share/doc/libbenchmark-ocaml-dev/html/*.html
Added: trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.docs
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.docs 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.docs 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1,2 @@
+README
+doc
Added: trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.examples
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.examples 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/libbenchmark-ocaml-dev.examples 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1 @@
+examples/*
Added: trunk/packages/ocaml-benchmark/trunk/debian/patches/00list
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/patches/00list 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/patches/00list 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1 @@
+01destdir
Added: trunk/packages/ocaml-benchmark/trunk/debian/patches/01destdir.dpatch
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/patches/01destdir.dpatch 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/patches/01destdir.dpatch 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01destdir.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 benchmark-0.6/Makefile /tmp/dpep.cSBlid/benchmark-0.6/Makefile
+--- benchmark-0.6/Makefile 2004-09-07 18:22:05.000000000 +0200
++++ /tmp/dpep.cSBlid/benchmark-0.6/Makefile 2005-03-17 00:24:41.000000000 +0100
+@@ -89,7 +89,14 @@
+ ocamlfind remove $(PKGNAME); \
+ [ -f "$(XARCHIVE)" ] && \
+ extra="$(XARCHIVE) $(basename $(XARCHIVE)).a"; \
+- ocamlfind install $(PKGNAME) $(MLI_FILES) $(CMI_FILES) $(ARCHIVE) META $$extra $(C_OBJS)
++ ocamlfind install $(if $(DESTDIR),-destdir $(DESTDIR)) $(PKGNAME) \
++ $(MLI_FILES) $(CMI_FILES) $(ARCHIVE) META $$extra $(C_OBJS)
++
++installbyte:
++ ocamlfind remove $(PKGNAME); \
++ ocamlfind install $(if $(DESTDIR),-destdir $(DESTDIR)) $(PKGNAME) \
++ $(MLI_FILES) $(CMI_FILES) $(ARCHIVE) META $(C_OBJS)
++
+
+ uninstall:
+ ocamlfind remove $(PKGNAME)
Property changes on: trunk/packages/ocaml-benchmark/trunk/debian/patches/01destdir.dpatch
___________________________________________________________________
Name: svn:executable
+
Added: trunk/packages/ocaml-benchmark/trunk/debian/rules
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/rules 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/rules 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# We want to use dpatch.
+include /usr/share/dpatch/dpatch.make
+PACKAGE = benchmark
+
+OCAML_LIBDIR=`ocamlc -where`
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp: patch-stamp
+ dh_testdir
+ if [ -x /usr/bin/ocamlopt ]; then \
+ $(MAKE) opt; \
+ else \
+ $(MAKE) byte; \
+ fi
+ $(MAKE) doc
+ touch build-stamp
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ -$(MAKE) clean
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ if [ -x /usr/bin/ocamlopt ]; then \
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/libbenchmark-ocaml-dev/$(OCAML_LIBDIR); \
+ else \
+ $(MAKE) installbyte DESTDIR=$(CURDIR)/debian/libbenchmark-ocaml-dev/$(OCAML_LIBDIR); \
+ fi
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir -s
+ dh_testroot -s
+ dh_installdocs -s
+ mv $(CURDIR)/debian/libbenchmark-ocaml-dev/usr/share/doc/libbenchmark-ocaml-dev/doc \
+ $(CURDIR)/debian/libbenchmark-ocaml-dev/usr/share/doc/libbenchmark-ocaml-dev/html
+ dh_installexamples -s
+ dh_installchangelogs -s
+ dh_link -s
+ dh_strip -s
+ dh_compress -s
+ dh_fixperms -s
+ dh_installdeb -s
+ dh_shlibdeps -s
+ dh_gencontrol -s
+ dh_md5sums -s
+ dh_builddeb -s
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
Property changes on: trunk/packages/ocaml-benchmark/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+
Added: trunk/packages/ocaml-benchmark/trunk/debian/utils/purify_benchmark
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/utils/purify_benchmark 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/utils/purify_benchmark 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+SOURCE=$1
+
+case $SOURCE in
+ *.bz2)
+ bunzip2 $SOURCE
+ SOURCE=${SOURCE%%.bz2}
+ gzip $SOURCE
+ SOURCE=$SOURCE.gz
+ ;;
+esac
+
+DST=${SOURCE/.tar.gz/.orig.tar.gz}
+DST=${DST/-/_}
+DST=ocaml-$DST
+
+mv $SOURCE $DST
Property changes on: trunk/packages/ocaml-benchmark/trunk/debian/utils/purify_benchmark
___________________________________________________________________
Name: svn:executable
+
Added: trunk/packages/ocaml-benchmark/trunk/debian/watch
===================================================================
--- trunk/packages/ocaml-benchmark/trunk/debian/watch 2005-04-03 22:23:34 UTC (rev 1190)
+++ trunk/packages/ocaml-benchmark/trunk/debian/watch 2005-04-03 22:30:27 UTC (rev 1191)
@@ -0,0 +1,2 @@
+version=2
+http://prdownloads.sourceforge.net/ocaml-benchmark/benchmark-([0-9\.]*)\.tar\.bz2
Added: trunk/packages/ocaml-benchmark/trunk/ocaml-benchmark_0.6.orig.tar.gz
===================================================================
(Binary files differ)
Property changes on: trunk/packages/ocaml-benchmark/trunk/ocaml-benchmark_0.6.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream