diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-10-15 18:30:08 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-10-15 18:30:08 +0000 |
commit | 5c4d87729b0f4129ceaf20caa4889cf78d9cd2f2 (patch) | |
tree | 8094d514a25e596ac375da7f67be6731f4f06c5c /dev-lisp/cl-regex | |
parent | *** empty log message *** (diff) | |
download | historical-5c4d87729b0f4129ceaf20caa4889cf78d9cd2f2.tar.gz historical-5c4d87729b0f4129ceaf20caa4889cf78d9cd2f2.tar.bz2 historical-5c4d87729b0f4129ceaf20caa4889cf78d9cd2f2.zip |
*** empty log message ***
Diffstat (limited to 'dev-lisp/cl-regex')
-rw-r--r-- | dev-lisp/cl-regex/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lisp/cl-regex/Manifest | 8 | ||||
-rw-r--r-- | dev-lisp/cl-regex/cl-regex-1.ebuild | 15 | ||||
-rw-r--r-- | dev-lisp/cl-regex/files/1-macs.lisp-gentoo.patch | 23 | ||||
-rw-r--r-- | dev-lisp/cl-regex/metadata.xml | 5 |
5 files changed, 52 insertions, 5 deletions
diff --git a/dev-lisp/cl-regex/ChangeLog b/dev-lisp/cl-regex/ChangeLog index d007eb4b988c..916f3959d620 100644 --- a/dev-lisp/cl-regex/ChangeLog +++ b/dev-lisp/cl-regex/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lisp/cl-regex # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-regex/ChangeLog,v 1.1 2003/06/10 04:53:04 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-regex/ChangeLog,v 1.2 2003/10/15 18:30:06 mkennedy Exp $ + + 15 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org> cl-regex-1.ebuild, + metadata.xml, files/1-macs.lisp-gentoo.patch: + postrm, preinst, sbcl patch *cl-regex-1 (07 Jul 2003) diff --git a/dev-lisp/cl-regex/Manifest b/dev-lisp/cl-regex/Manifest index 1c714998d8b2..f0e434b34fe7 100644 --- a/dev-lisp/cl-regex/Manifest +++ b/dev-lisp/cl-regex/Manifest @@ -1,4 +1,6 @@ -MD5 a4d258d6c58469496d93e9bf9d39ee9e ChangeLog 317 -MD5 1bc945c89579cc0ff6c206e095e0c1e6 cl-regex-1.ebuild 888 -MD5 47bae7c3e79929f06cf61b0e673bc756 files/digest-cl-regex-1 66 +MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 +MD5 8b2f96349d143d60e8026143dccf15c0 cl-regex-1.ebuild 1109 +MD5 33446ab931d385c1e62f0eed5c3a61f4 ChangeLog 468 +MD5 39d0e291421accded6fc3d9689985e6f files/1-macs.lisp-gentoo.patch 892 MD5 775ce5bda500fe5a8d71d0956d6044ee files/regex.asd 830 +MD5 47bae7c3e79929f06cf61b0e673bc756 files/digest-cl-regex-1 66 diff --git a/dev-lisp/cl-regex/cl-regex-1.ebuild b/dev-lisp/cl-regex/cl-regex-1.ebuild index 7a25286dae1f..095f12b17874 100644 --- a/dev-lisp/cl-regex/cl-regex-1.ebuild +++ b/dev-lisp/cl-regex/cl-regex-1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-regex/cl-regex-1.ebuild,v 1.2 2003/09/06 22:35:54 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-regex/cl-regex-1.ebuild,v 1.3 2003/10/15 18:30:06 mkennedy Exp $ inherit common-lisp @@ -19,6 +19,11 @@ CLPACKAGE=regex S=${WORKDIR}/${P} +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}-macs.lisp-gentoo.patch +} + src_install() { common-lisp-install closure.lisp gen.lisp macs.lisp optimize.lisp \ packages.lisp parser.lisp regex.lisp ${FILESDIR}/regex.asd @@ -27,3 +32,11 @@ src_install() { docinto examples dodoc *test*.lisp } + +pkg_preinst() { + rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true +} + +pkg_postrm() { + rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true +} diff --git a/dev-lisp/cl-regex/files/1-macs.lisp-gentoo.patch b/dev-lisp/cl-regex/files/1-macs.lisp-gentoo.patch new file mode 100644 index 000000000000..31e85706b56b --- /dev/null +++ b/dev-lisp/cl-regex/files/1-macs.lisp-gentoo.patch @@ -0,0 +1,23 @@ +diff -u cl-regex-1.orig/macs.lisp cl-regex-1/macs.lisp +--- cl-regex-1.orig/macs.lisp 2002-10-06 13:30:14.000000000 -0500 ++++ cl-regex-1/macs.lisp 2003-10-15 13:20:18.790073928 -0500 +@@ -516,14 +516,11 @@ + (clrhash *pattern-cache*)
+ nil)
+
+-
+-(defconstant +special-class-names+
+- '((":alpha:" alpha) (":upper:" upper) (":lower:" lower) (":digit:" digit)
+- (":alnum:" alnum) (":xdigit:" xdigit) (":odigit:" odigit) (":punct:" punct)
+- (":space:" space) (":word:" wordchar)))
+-
+-
+-
++(eval-when (:compile-toplevel)
++ (defconstant +special-class-names+
++ '((":alpha:" alpha) (":upper:" upper) (":lower:" lower) (":digit:" digit)
++ (":alnum:" alnum) (":xdigit:" xdigit) (":odigit:" odigit) (":punct:" punct)
++ (":space:" space) (":word:" wordchar))))
+
+ (defun expand-char-class (chars)
+ "Expand an encoded char class into an explicit enumeration of all
diff --git a/dev-lisp/cl-regex/metadata.xml b/dev-lisp/cl-regex/metadata.xml new file mode 100644 index 000000000000..f418045b09c8 --- /dev/null +++ b/dev-lisp/cl-regex/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>common-lisp</herd> +</pkgmetadata> |