summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-11-16 05:07:28 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-11-16 05:07:28 +0000
commit69ad1416bc42008a943d49dbfb3a90df54110235 (patch)
tree561bee31ef89794a120ac77c5e879e7bbb64a9dd /dev-lisp
parentMarked ppc stable for bug #147570. (diff)
downloadgentoo-2-69ad1416bc42008a943d49dbfb3a90df54110235.tar.gz
gentoo-2-69ad1416bc42008a943d49dbfb3a90df54110235.tar.bz2
gentoo-2-69ad1416bc42008a943d49dbfb3a90df54110235.zip
Conditionally define constant regex::+special-class-names+.
(Portage version: 2.1.2_rc1-r7)
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/cl-regex/ChangeLog10
-rw-r--r--dev-lisp/cl-regex/cl-regex-1-r2.ebuild32
-rw-r--r--dev-lisp/cl-regex/files/defconstant-gentoo.patch12
-rw-r--r--dev-lisp/cl-regex/files/digest-cl-regex-1-r12
-rw-r--r--dev-lisp/cl-regex/files/digest-cl-regex-1-r23
-rw-r--r--dev-lisp/cl-regex/files/regex.asd3
6 files changed, 59 insertions, 3 deletions
diff --git a/dev-lisp/cl-regex/ChangeLog b/dev-lisp/cl-regex/ChangeLog
index d5f63aa01742..3bd391a94779 100644
--- a/dev-lisp/cl-regex/ChangeLog
+++ b/dev-lisp/cl-regex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lisp/cl-regex
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-regex/ChangeLog,v 1.7 2005/05/24 18:48:35 mkennedy Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-regex/ChangeLog,v 1.8 2006/11/16 05:07:28 mkennedy Exp $
+
+*cl-regex-1-r2 (16 Nov 2006)
+
+ 16 Nov 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/defconstant-gentoo.patch, files/regex.asd, +cl-regex-1-r2.ebuild:
+ Conditionally define constant regex::+special-class-names+.
24 May 2005; <mkennedy@gentoo.org> cl-regex-1-r1.ebuild:
Keywording ~sparc
diff --git a/dev-lisp/cl-regex/cl-regex-1-r2.ebuild b/dev-lisp/cl-regex/cl-regex-1-r2.ebuild
new file mode 100644
index 000000000000..3416d34ba632
--- /dev/null
+++ b/dev-lisp/cl-regex/cl-regex-1-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-regex/cl-regex-1-r2.ebuild,v 1.1 2006/11/16 05:07:28 mkennedy Exp $
+
+inherit common-lisp eutils
+
+DESCRIPTION="Common Lisp regular expression compiler/matcher"
+HOMEPAGE="http://www.geocities.com/mparker762/clawk.html http://packages.debian.org/unstable/devel/cl-regex.html"
+SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-regex/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-lisp/cl-plus"
+
+CLPACKAGE=regex
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/defconstant-gentoo.patch
+}
+
+src_install() {
+ common-lisp-install closure.lisp gen.lisp macs.lisp optimize.lisp \
+ packages.lisp parser.lisp regex.lisp ${FILESDIR}/regex.asd
+ common-lisp-system-symlink
+ dodoc license.txt
+ docinto examples
+ dodoc *test*.lisp
+}
diff --git a/dev-lisp/cl-regex/files/defconstant-gentoo.patch b/dev-lisp/cl-regex/files/defconstant-gentoo.patch
new file mode 100644
index 000000000000..bcb548189161
--- /dev/null
+++ b/dev-lisp/cl-regex/files/defconstant-gentoo.patch
@@ -0,0 +1,12 @@
+diff -ur 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 2006-11-15 23:02:58.000000000 -0600
+@@ -517,7 +517,7 @@
+ nil)
+
+
+-(defconstant +special-class-names+
++(cl+:defconst +special-class-names+
+ '((":alpha:" alpha) (":upper:" upper) (":lower:" lower) (":digit:" digit)
+ (":alnum:" alnum) (":xdigit:" xdigit) (":odigit:" odigit) (":punct:" punct)
+ (":space:" space) (":word:" wordchar)))
diff --git a/dev-lisp/cl-regex/files/digest-cl-regex-1-r1 b/dev-lisp/cl-regex/files/digest-cl-regex-1-r1
index e6011d49e8af..c6057ad62481 100644
--- a/dev-lisp/cl-regex/files/digest-cl-regex-1-r1
+++ b/dev-lisp/cl-regex/files/digest-cl-regex-1-r1
@@ -1 +1,3 @@
MD5 6c9ad70e6978279bbad93327426fd576 cl-regex_1.orig.tar.gz 33629
+RMD160 904e38d0353eec9a1b1d321c6f1bc96ccc82e9fe cl-regex_1.orig.tar.gz 33629
+SHA256 886920a281cf981b834c4314b56c0bfeed3c9438cec3ada9a93494ab7dade4b2 cl-regex_1.orig.tar.gz 33629
diff --git a/dev-lisp/cl-regex/files/digest-cl-regex-1-r2 b/dev-lisp/cl-regex/files/digest-cl-regex-1-r2
new file mode 100644
index 000000000000..c6057ad62481
--- /dev/null
+++ b/dev-lisp/cl-regex/files/digest-cl-regex-1-r2
@@ -0,0 +1,3 @@
+MD5 6c9ad70e6978279bbad93327426fd576 cl-regex_1.orig.tar.gz 33629
+RMD160 904e38d0353eec9a1b1d321c6f1bc96ccc82e9fe cl-regex_1.orig.tar.gz 33629
+SHA256 886920a281cf981b834c4314b56c0bfeed3c9438cec3ada9a93494ab7dade4b2 cl-regex_1.orig.tar.gz 33629
diff --git a/dev-lisp/cl-regex/files/regex.asd b/dev-lisp/cl-regex/files/regex.asd
index 0fecdddc4244..805936955aac 100644
--- a/dev-lisp/cl-regex/files/regex.asd
+++ b/dev-lisp/cl-regex/files/regex.asd
@@ -15,5 +15,6 @@
"parser"
"optimize"
"gen"
- "closure"))))
+ "closure")))
+ :depends-on (#:cl-plus))