*** empty log message ***
authorMatthew Kennedy <mkennedy@gentoo.org>
Mon, 8 Nov 2004 02:55:44 +0000 (02:55 +0000)
committerMatthew Kennedy <mkennedy@gentoo.org>
Mon, 8 Nov 2004 02:55:44 +0000 (02:55 +0000)
dev-lisp/cl-zebu/ChangeLog [new file with mode: 0644]
dev-lisp/cl-zebu/Manifest [new file with mode: 0644]
dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild [new file with mode: 0644]
dev-lisp/cl-zebu/files/3.5.5-zebu-compiler-gentoo.patch [new file with mode: 0644]
dev-lisp/cl-zebu/files/digest-cl-zebu-3.5.5 [new file with mode: 0644]
dev-lisp/cl-zebu/metadata.xml [new file with mode: 0644]

diff --git a/dev-lisp/cl-zebu/ChangeLog b/dev-lisp/cl-zebu/ChangeLog
new file mode 100644 (file)
index 0000000..85edaa1
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lisp/cl-zebu
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-zebu/ChangeLog,v 1.1 2004/11/08 02:55:44 mkennedy Exp $
+
+*cl-zebu-3.5.5 (07 Nov 2004)
+
+  07 Nov 2004; Matthew Kenendy <mkennedy@gentoo.org> +metadata.xml,
+  +files/3.5.5-zebu-compiler-gentoo.patch, +cl-zebu-3.5.5.ebuild:
+  Initial port.  Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>
+
diff --git a/dev-lisp/cl-zebu/Manifest b/dev-lisp/cl-zebu/Manifest
new file mode 100644 (file)
index 0000000..283b478
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 376b83d813fca2963bfefdd666e5b009 cl-zebu-3.5.5.ebuild 685
+MD5 7f9d39dc3bb7911772366096336332e3 metadata.xml 304
+MD5 fec076f0b90e4802a051d5f378a77649 files/digest-cl-zebu-3.5.5 64
diff --git a/dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild b/dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild
new file mode 100644 (file)
index 0000000..ff83528
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild,v 1.1 2004/11/08 02:55:44 mkennedy Exp $
+
+inherit common-lisp eutils
+
+DESCRIPTION="Zebu is a Library for LALR(1) parser generation."
+HOMEPAGE="http://www.cliki.net/Zebu"
+SRC_URI="http://constantly.at/lisp/zebu-${PV}-asdf.tgz"
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="-*"
+IUSE=""
+
+DEPEND="virtual/commonlisp
+       dev-lisp/cl-ppcre"
+
+CLPACKAGE='zebu zebu-rr zebu-compiler'
+
+S=${WORKDIR}/zebu-${PV}
+
+src_unpack() {
+       unpack ${A}
+       epatch ${FILESDIR}/${PV}-zebu-compiler-gentoo.patch
+       rm ${S}/{zebu-mg.tab,zmg-dom.lisp}
+}
+
+src_install() {
+       dodir ${CLSYSTEMROOT}
+       for system in ${CLPACKAGE}; do
+               insinto ${CLSOURCEROOT}/${system}/
+               doins *.{lisp,zb} ${system}.asd
+               dosym ${CLSOURCEROOT}/${system}/${system}.asd ${CLSYSTEMROOT}/
+       done
+       dohtml examples.html
+       dodoc COPYRIGHT ChangeLog README* doc/Zebu_intro.ps
+}
+
+# TODO: (see zebu-loader.lisp)
+#
+# Build error: error opening #P"/usr/share/common-lisp/source/zebu-compiler/zmg-dom.lisp":
+#                               Permission denied
+# Build failure
diff --git a/dev-lisp/cl-zebu/files/3.5.5-zebu-compiler-gentoo.patch b/dev-lisp/cl-zebu/files/3.5.5-zebu-compiler-gentoo.patch
new file mode 100644 (file)
index 0000000..f1d359c
--- /dev/null
@@ -0,0 +1,69 @@
+Common subdirectories: zebu-3.5.5.orig/doc and zebu-3.5.5/doc
+Common subdirectories: zebu-3.5.5.orig/test and zebu-3.5.5/test
+Only in zebu-3.5.5: zebra-debug.fasl
+Only in zebu-3.5.5: zebu-actions.fasl
+Only in zebu-3.5.5: zebu-asdf-setup.fasl
+Only in zebu-3.5.5: zebu-aux.fasl
+diff -u zebu-3.5.5.orig/zebu-aux.lisp zebu-3.5.5/zebu-aux.lisp
+--- zebu-3.5.5.orig/zebu-aux.lisp      1998-12-09 14:22:24.000000000 -0600
++++ zebu-3.5.5/zebu-aux.lisp   2004-11-07 17:15:37.400965600 -0600
+@@ -244,3 +244,9 @@
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+ ;;                           End of zebu-aux.lisp
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
++
++;; http://www.sbcl.org/manual/Defining-Constants.html#Defining%20Constants
++
++(defmacro define-constant (name value &optional doc)
++  `(defconstant ,name (if (boundp ',name) (symbol-value ',name) ,value)
++     ,@(when doc (list doc))))
+\ No newline at end of file
+Only in zebu-3.5.5: zebu-aux.lisp~
+Only in zebu-3.5.5: zebu-closure.fasl
+Only in zebu-3.5.5: zebu-compile-mg.fasl
+Only in zebu-3.5.5: zebu-compile.fasl
+Only in zebu-3.5.5: zebu-driver.fasl
+Only in zebu-3.5.5: zebu-dump.fasl
+Only in zebu-3.5.5: zebu-empty-st.fasl
+Only in zebu-3.5.5: zebu-first.fasl
+Only in zebu-3.5.5: zebu-follow.fasl
+Only in zebu-3.5.5: zebu-g-symbol.fasl
+Only in zebu-3.5.5: zebu-generator.fasl
+diff -u zebu-3.5.5.orig/zebu-generator.lisp zebu-3.5.5/zebu-generator.lisp
+--- zebu-3.5.5.orig/zebu-generator.lisp        1999-01-13 12:16:30.000000000 -0600
++++ zebu-3.5.5/zebu-generator.lisp     2004-11-07 17:20:28.192758528 -0600
+@@ -421,7 +421,7 @@
+ ; return: (1) ((<test for print-case> <format stmt derived from syntax>) ..)
+ ;         (2) a lambda-list binding the %u .. variables used to accessors
+ ;             derived from the paths.
+-(defconstant *vars-to-use* '("%R" "%S" "%T" "%U" "%V" "%W" "%X" "%Y" "%Z"))
++(define-constant *vars-to-use* '("%R" "%S" "%T" "%U" "%V" "%W" "%X" "%Y" "%Z"))
+ 
+ (defun gen-clauses (clauses KB-sequence-print-fn-AL
+                           &aux (vars-to-use (mapcar #'intern *vars-to-use*))
+Only in zebu-3.5.5: zebu-generator.lisp~
+Only in zebu-3.5.5: zebu-kb-domain.fasl
+Only in zebu-3.5.5: zebu-lalr1.fasl
+Only in zebu-3.5.5: zebu-loader.fasl
+Only in zebu-3.5.5: zebu-loadgram.fasl
+Only in zebu-3.5.5: zebu-lr0-sets.fasl
+Only in zebu-3.5.5: zebu-mg-hierarchy.fasl
+diff -u zebu-3.5.5.orig/zebu-mg.tab zebu-3.5.5/zebu-mg.tab
+--- zebu-3.5.5.orig/zebu-mg.tab        2002-05-24 14:01:41.000000000 -0500
++++ zebu-3.5.5/zebu-mg.tab     2004-11-07 17:15:49.062192824 -0600
+@@ -1,5 +1,5 @@
+ 
+-(:FILE "/home/rudi/lisp/zebu-3.5.5/zebu-mg.zb" :NAME "zebu-mg" :DOMAIN-FILE "zmg-dom" :PACKAGE "ZEBU" :GRAMMAR "null-grammar" :IDENTIFIER-START-CHARS "$-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" :IDENTIFIER-CONTINUE-CHARS "$-_.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890" :DOMAIN-FILE "/home/rudi/lisp/zebu-3.5.5/zmg-dom.lisp")
++(:FILE "/mnt/space/tmp/zebu-3.5.5/zebu-mg.zb" :NAME "zebu-mg" :DOMAIN-FILE "zmg-dom" :PACKAGE "ZEBU" :GRAMMAR "null-grammar" :IDENTIFIER-START-CHARS "$-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" :IDENTIFIER-CONTINUE-CHARS "$-_.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890" :DOMAIN-FILE "/mnt/space/tmp/zebu-3.5.5/zmg-dom.lisp")
+ #37(THE-EMPTY-STRING AUGMENTED-START THE-END-G-SYMBOL META-GRAMMAR DEF-TYPE ZB-RULE IDENTIFIER ":=" TYPED-CONJ PRINT-FUNCTION ";" CONJ "<<" "print-function:" ">>" ":" "[" LABEL-VALUE-PAIRS "]" FEAT-TERM NUMBER STRING "*" "+" LABEL-VALUE-PAIR "(" ")" NON-TERMINAL "-->" RHS RHS1 MORE-RHS CONSTITUENT-LIST "{" "}" CONSTITUENT "|" )
+ 
+ 
+Only in zebu-3.5.5: zebu-oset.fasl
+Only in zebu-3.5.5: zebu-package.fasl
+Only in zebu-3.5.5: zebu-printers.fasl
+Only in zebu-3.5.5: zebu-regex.fasl
+Only in zebu-3.5.5: zebu-slr.fasl
+Only in zebu-3.5.5: zebu-tables.fasl
+Only in zebu-3.5.5: zebu-tree-attributes.fasl
+Only in zebu-3.5.5: zmg-dom.fasl
+Only in zebu-3.5.5: zmg-dom.lisp
diff --git a/dev-lisp/cl-zebu/files/digest-cl-zebu-3.5.5 b/dev-lisp/cl-zebu/files/digest-cl-zebu-3.5.5
new file mode 100644 (file)
index 0000000..de05035
--- /dev/null
@@ -0,0 +1 @@
+MD5 0b6cc4132db75a72d9db129731e4b3c6 zebu-3.5.5-asdf.tgz 221765
diff --git a/dev-lisp/cl-zebu/metadata.xml b/dev-lisp/cl-zebu/metadata.xml
new file mode 100644 (file)
index 0000000..bd44481
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>common-lisp</herd>
+<longdescription>
+Zebu is a Library for LALR(1) parser generation -- similar to YACC,
+but it generates Common Lisp code.
+</longdescription>
+</pkgmetadata>