[Pkg-ocaml-maint-commits] r1185 - in trunk/packages/regexp-pp: . trunk trunk/debian

Samuel Mimram smimram-guest@costa.debian.org
Sun, 03 Apr 2005 17:46:50 +0000


Author: smimram-guest
Date: 2005-04-03 17:46:48 +0000 (Sun, 03 Apr 2005)
New Revision: 1185

Added:
   trunk/packages/regexp-pp/trunk/
   trunk/packages/regexp-pp/trunk/debian/
   trunk/packages/regexp-pp/trunk/debian/changelog
   trunk/packages/regexp-pp/trunk/debian/compat
   trunk/packages/regexp-pp/trunk/debian/control
   trunk/packages/regexp-pp/trunk/debian/copyright
   trunk/packages/regexp-pp/trunk/debian/docs
   trunk/packages/regexp-pp/trunk/debian/rules
   trunk/packages/regexp-pp/trunk/regexp-pp_0.9.5.1.orig.tar.gz
Log:
Importing John Goerzen's package.

Added: trunk/packages/regexp-pp/trunk/debian/changelog
===================================================================
--- trunk/packages/regexp-pp/trunk/debian/changelog	2005-04-03 17:28:40 UTC (rev 1184)
+++ trunk/packages/regexp-pp/trunk/debian/changelog	2005-04-03 17:46:48 UTC (rev 1185)
@@ -0,0 +1,42 @@
+regexp-pp (0.9.5.1-2) unstable; urgency=low
+
+  * Rebuilt for new ocaml version.
+
+ -- John Goerzen <jgoerzen@complete.org>  Wed,  8 Dec 2004 11:02:46 -0600
+
+regexp-pp (0.9.5.1-1) unstable; urgency=low
+
+  * New upstream release fixes compatibility issue with OCaml 3.08.1.
+    Closes: #273669.
+  * Added new QPL exception to debian/copyright.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon, 27 Sep 2004 11:07:58 -0500
+
+regexp-pp (0.9.5-1) unstable; urgency=low
+
+  * New upstream release (supposedly now works with Random.bits.)
+  * Rebuilt for OCaml 3.08.
+
+ -- John Goerzen <jgoerzen@complete.org>  Wed, 28 Jul 2004 13:31:22 -0500
+
+regexp-pp (0.9.3-3) unstable; urgency=low
+
+  * [upstream]: Hack common/version_filter.ml to use
+    Random.bits instead of Random.int max_int to work on
+    64-bit platforms.  Closes: #242575.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu, 22 Apr 2004 14:04:17 -0500
+
+regexp-pp (0.9.3-2) unstable; urgency=low
+
+  * Hack pa_regexp_match/Makefile to not try to build tests natively
+    if ocamlopt is not present natively.  Closes: #239837.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 30 Mar 2004 10:19:24 -0600
+
+regexp-pp (0.9.3-1) unstable; urgency=low
+
+  * Initial Release.  Closes: #236154.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu,  4 Mar 2004 09:55:19 -0600
+

Added: trunk/packages/regexp-pp/trunk/debian/compat
===================================================================
--- trunk/packages/regexp-pp/trunk/debian/compat	2005-04-03 17:28:40 UTC (rev 1184)
+++ trunk/packages/regexp-pp/trunk/debian/compat	2005-04-03 17:46:48 UTC (rev 1185)
@@ -0,0 +1 @@
+4

Added: trunk/packages/regexp-pp/trunk/debian/control
===================================================================
--- trunk/packages/regexp-pp/trunk/debian/control	2005-04-03 17:28:40 UTC (rev 1184)
+++ trunk/packages/regexp-pp/trunk/debian/control	2005-04-03 17:46:48 UTC (rev 1185)
@@ -0,0 +1,29 @@
+Source: regexp-pp
+Section: devel
+Priority: optional
+Maintainer: John Goerzen <jgoerzen@complete.org>
+Build-Depends: debhelper (>= 4.0.0), ocaml-nox (>= 3.08.2), ocaml-findlib (>= 1.0.4-2), libpcre-ocaml-dev (>= 5.08.1-1), ocaml-tools
+Standards-Version: 3.6.0
+
+Package: libregexp-pp-ocaml-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libpcre-ocaml-dev, ocaml-nox (>= 3.08.2), ocaml-findlib
+Description: Syntax extension for OCaml to make Regexp usage much easier
+ Regexp/OCaml provides convenient syntax sugar for regular expression
+ match for strings using PCRE/OCaml library. The features of this macro
+ package are the following: 
+ .
+  * Convenient syntax: similar to standard match-with expression 
+ .
+  * Binding matching substrings to variables: no more $1, $2, ... 
+ .
+  * Automagical easy-to-use type-coercion: no flood of int_of_string etc. 
+ .
+  * Support for optional-patterns: gives string option type etc. 
+ .
+  * Default values for optional-patterns 
+ .
+ A regular expression which appears in the source file will be evaluated
+ only once; it is pre-compiled before actual execution and then cached.
+ The package contains a small macro, called "once", makes any value to
+ be evaluated only once. 

Added: trunk/packages/regexp-pp/trunk/debian/copyright
===================================================================
--- trunk/packages/regexp-pp/trunk/debian/copyright	2005-04-03 17:28:40 UTC (rev 1184)
+++ trunk/packages/regexp-pp/trunk/debian/copyright	2005-04-03 17:46:48 UTC (rev 1185)
@@ -0,0 +1,147 @@
+This package was debianized by John Goerzen <jgoerzen@complete.org> on
+Thu,  4 Mar 2004 09:55:19 -0600.
+
+It was downloaded from http://web.yl.is.s.u-tokyo.ac.jp/~oiwa/caml/#regexp-pp
+
+Upstream Author(s): Yutaka Oiwa <oiwa@yl.is.s.u-tokyo.ac.jp>
+
+Copyright:
+
+In the following, "the Library" refers to the following files:
+
+  common/Makefile, common/declare_once.ml, common/declare_once.mli
+
+and "the Main Part" refers to all files marked "(c) Yutaka Oiwa",
+excluding "the Library".
+
+The Main Part is distributed under the terms of the Q Public License
+version 1.0 (included below).
+
+The Library is distributed under the terms of the GNU Library General
+Public License version 2 (available at /usr/share/common-licenses/LGPL-2).
+
+As a special exception to the Q Public Licence, you may develop
+application programs, reusable components and other software items
+that link with the original or modified versions of the Software
+and are not made available to the general public, without any of the
+additional requirements listed in clause 6c of the Q Public licence.
+
+As a special exception to the GNU Library 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 Library General
+Public License.  By "a publicly distributed version of the Library",
+we mean either the unmodified Library as distributed by Yutaka Oiwa,
+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 Library General
+Public License.
+
+The output code generated by the preprocessor can be used without any
+restriction.  Those are NOT treated as a part nor a derivative of this
+program.
+
+----------------------------------------------------------------------
+
+                   THE Q PUBLIC LICENSE version 1.0
+
+              Copyright (C) 1999 Troll Tech AS, Norway.
+                  Everyone is permitted to copy and
+                  distribute this license document.
+
+The intent of this license is to establish freedom to share and change
+the software regulated by this license under the open source model.
+
+This license applies to any software containing a notice placed by the
+copyright holder saying that it may be distributed under the terms of
+the Q Public License version 1.0. Such software is herein referred to
+as the Software. This license covers modification and distribution of
+the Software, use of third-party application programs based on the
+Software, and development of free software which uses the Software.
+
+                            Granted Rights
+
+1. You are granted the non-exclusive rights set forth in this license
+provided you agree to and comply with any and all conditions in this
+license. Whole or partial distribution of the Software, or software
+items that link with the Software, in any form signifies acceptance of
+this license.
+
+2. You may copy and distribute the Software in unmodified form
+provided that the entire package, including - but not restricted to -
+copyright, trademark notices and disclaimers, as released by the
+initial developer of the Software, is distributed.
+
+3. You may make modifications to the Software and distribute your
+modifications, in a form that is separate from the Software, such as
+patches. The following restrictions apply to modifications:
+
+      a. Modifications must not alter or remove any copyright notices
+      in the Software.
+
+      b. When modifications to the Software are released under this
+      license, a non-exclusive royalty-free right is granted to the
+      initial developer of the Software to distribute your
+      modification in future versions of the Software provided such
+      versions remain available under these terms in addition to any
+      other license(s) of the initial developer.
+
+4. You may distribute machine-executable forms of the Software or
+machine-executable forms of modified versions of the Software,
+provided that you meet these restrictions:
+
+      a. You must include this license document in the distribution.
+
+      b. You must ensure that all recipients of the machine-executable
+      forms are also able to receive the complete machine-readable
+      source code to the distributed Software, including all
+      modifications, without any charge beyond the costs of data
+      transfer, and place prominent notices in the distribution
+      explaining this.
+
+      c. You must ensure that all modifications included in the
+      machine-executable forms are available under the terms of this
+      license.
+
+5. You may use the original or modified versions of the Software to
+compile, link and run application programs legally developed by you or
+by others.
+
+6. You may develop application programs, reusable components and other
+software items that link with the original or modified versions of the
+Software. These items, when distributed, are subject to the following
+requirements:
+
+      a. You must ensure that all recipients of machine-executable
+      forms of these items are also able to receive and use the
+      complete machine-readable source code to the items without any
+      charge beyond the costs of data transfer.
+
+      b. You must explicitly license all recipients of your items to
+      use and re-distribute original and modified versions of the
+      items in both machine-executable and source code forms. The
+      recipients must be able to do so without any charges whatsoever,
+      and they must be able to re-distribute to anyone they choose.
+
+      c. If the items are not available to the general public, and the
+      initial developer of the Software requests a copy of the items,
+      then you must supply one.
+
+                       Limitations of Liability
+
+In no event shall the initial developers or copyright holders be
+liable for any damages whatsoever, including - but not restricted to -
+lost revenue or profits or other direct, indirect, special, incidental
+or consequential damages, even if they have been advised of the
+possibility of such damages, except to the extent invariable law, if
+any, provides otherwise.
+
+                             No Warranty
+
+The Software and this license document are provided AS IS with NO
+WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN,
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+

Added: trunk/packages/regexp-pp/trunk/debian/docs
===================================================================
--- trunk/packages/regexp-pp/trunk/debian/docs	2005-04-03 17:28:40 UTC (rev 1184)
+++ trunk/packages/regexp-pp/trunk/debian/docs	2005-04-03 17:46:48 UTC (rev 1185)
@@ -0,0 +1 @@
+README.match-regexp

Added: trunk/packages/regexp-pp/trunk/debian/rules
===================================================================
--- trunk/packages/regexp-pp/trunk/debian/rules	2005-04-03 17:28:40 UTC (rev 1184)
+++ trunk/packages/regexp-pp/trunk/debian/rules	2005-04-03 17:46:48 UTC (rev 1185)
@@ -0,0 +1,103 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) all
+	$(MAKE) test
+
+	#/usr/bin/docbook-to-man debian/regexp-pp.sgml > regexp-pp.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+	-rm pa_once/*.ppo
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	mkdir -p debian/libregexp-pp-ocaml-dev`ocamlc -where`
+
+	# Add here commands to install the package into debian/regexp-pp.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/libregexp-pp-ocaml-dev
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	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/regexp-pp/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/regexp-pp/trunk/regexp-pp_0.9.5.1.orig.tar.gz
===================================================================
(Binary files differ)


Property changes on: trunk/packages/regexp-pp/trunk/regexp-pp_0.9.5.1.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream