summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-01-10 05:58:59 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-01-10 05:58:59 +0000
commit9775b204426e4060c90b2f83982021eca1f1f47c (patch)
tree73c1c480e70bc3a47cac50f7083dca220ba7c039 /dev-lisp/cl-prevalence
parent*** empty log message *** (diff)
downloadhistorical-9775b204426e4060c90b2f83982021eca1f1f47c.tar.gz
historical-9775b204426e4060c90b2f83982021eca1f1f47c.tar.bz2
historical-9775b204426e4060c90b2f83982021eca1f1f47c.zip
*** empty log message ***
Diffstat (limited to 'dev-lisp/cl-prevalence')
-rw-r--r--dev-lisp/cl-prevalence/Manifest6
-rw-r--r--dev-lisp/cl-prevalence/cl-prevalence-1.ebuild41
-rw-r--r--dev-lisp/cl-prevalence/files/digest-cl-prevalence-11
-rw-r--r--dev-lisp/cl-prevalence/files/prevalence-1-close-shadow-gentoo.patch21
-rw-r--r--dev-lisp/cl-prevalence/files/prevalence.asd17
-rw-r--r--dev-lisp/cl-prevalence/metadata.xml5
6 files changed, 89 insertions, 2 deletions
diff --git a/dev-lisp/cl-prevalence/Manifest b/dev-lisp/cl-prevalence/Manifest
index 918606d79e63..94c18f5699cb 100644
--- a/dev-lisp/cl-prevalence/Manifest
+++ b/dev-lisp/cl-prevalence/Manifest
@@ -1,4 +1,6 @@
-MD5 d5eaccd1e93917ddab5cdcfb8a4d884b cl-prevalence-1.ebuild 891
+MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
+MD5 d8948add19d3ad02d9b32dfb81f8cba8 cl-prevalence-1.ebuild 1119
+MD5 e9872a6a1856fe96db56e6bc86d4e665 ChangeLog 488
MD5 9e297c42773f10afb972f83cbbd57c95 files/prevalence.asd 429
-MD5 35e0b5a6c9193fada83a1b69822b30ff files/prevalence.asd~ 671
MD5 840da10038fc87549f5962cd32cea9b7 files/digest-cl-prevalence-1 63
+MD5 9db13dc21fc169edf0514bc39d22bfa4 files/prevalence-1-close-shadow-gentoo.patch 833
diff --git a/dev-lisp/cl-prevalence/cl-prevalence-1.ebuild b/dev-lisp/cl-prevalence/cl-prevalence-1.ebuild
new file mode 100644
index 000000000000..c20d3c7f5379
--- /dev/null
+++ b/dev-lisp/cl-prevalence/cl-prevalence-1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-prevalence/cl-prevalence-1.ebuild,v 1.1 2004/01/10 05:58:51 mkennedy Exp $
+
+inherit common-lisp
+
+DESCRIPTION="Common Lisp Prevalence is a proof of concept implementation of Object Prevalence"
+HOMEPAGE="http://homepage.mac.com/svc/prevalence/readme.htm"
+SRC_URI="mirror://gentoo/prevalence-${PV}.tar.gz"
+LICENSE="LLGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="dev-lisp/cl-xml"
+
+S=${WORKDIR}/prevalence
+
+CLPACKAGE=prevalence
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/prevalence-${PV}-close-shadow-gentoo.patch
+}
+
+src_install() {
+ common-lisp-install ${FILESDIR}/prevalence.asd {serialization,prevalence}.lisp
+ common-lisp-system-symlink
+ dohtml *.html
+ insinto /usr/share/common-lisp/source/${CLPACKAGE}/test
+ doins test/*.lisp
+ insinto /usr/share/common-lisp/source/${CLPACKAGE}/demo
+ doins demo*.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-prevalence/files/digest-cl-prevalence-1 b/dev-lisp/cl-prevalence/files/digest-cl-prevalence-1
new file mode 100644
index 000000000000..b1277743200c
--- /dev/null
+++ b/dev-lisp/cl-prevalence/files/digest-cl-prevalence-1
@@ -0,0 +1 @@
+MD5 31f06eb82fccd32832d812299dc2941d prevalence-1.tar.gz 15495
diff --git a/dev-lisp/cl-prevalence/files/prevalence-1-close-shadow-gentoo.patch b/dev-lisp/cl-prevalence/files/prevalence-1-close-shadow-gentoo.patch
new file mode 100644
index 000000000000..9e7865cebe6d
--- /dev/null
+++ b/dev-lisp/cl-prevalence/files/prevalence-1-close-shadow-gentoo.patch
@@ -0,0 +1,21 @@
+diff -ur prevalence.orig/prevalence.lisp prevalence/prevalence.lisp
+--- prevalence.orig/prevalence.lisp 2003-06-10 05:53:58.000000000 -0500
++++ prevalence/prevalence.lisp 2004-01-09 23:30:42.118636816 -0600
+@@ -28,6 +28,7 @@
+ #:transaction
+ #:no-rollback-error
+ #:initiates-rollback)
++ #+cmu (:shadow #:close)
+ (:documentation "A proof of concept Common Lisp Prevalence system"))
+
+ (in-package :clp)
+@@ -146,7 +147,7 @@
+ (defmethod close ((system prevalence-system) &key abort)
+ (with-slots (transaction-log-stream) system
+ (when transaction-log-stream
+- (close transaction-log-stream :abort abort)
++ (cl:close transaction-log-stream :abort abort)
+ (setf transaction-log-stream nil))))
+
+ (defmethod serializable-slots append ((transaction transaction))
+Only in prevalence: prevalence.lisp.~1.15.~
diff --git a/dev-lisp/cl-prevalence/files/prevalence.asd b/dev-lisp/cl-prevalence/files/prevalence.asd
new file mode 100644
index 000000000000..b209c736f328
--- /dev/null
+++ b/dev-lisp/cl-prevalence/files/prevalence.asd
@@ -0,0 +1,17 @@
+;;; -*- mode: lisp; syntax: common-lisp; base: 10; package: common-lisp-user -*-
+
+(in-package #:common-lisp-user)
+
+(defpackage #:prevalence-system
+ (:use #:asdf #:common-lisp))
+
+(in-package #:prevalence-system)
+
+(defsystem #:prevalence
+ :author "Matthew Kennedy <mkennedy@gentoo.org>"
+ :licence "LLGPL-2.1"
+ :components
+ ((:file "serialization")
+ (:file "prevalence" :depends-on ("serialization")))
+ :depends-on (:xml))
+
diff --git a/dev-lisp/cl-prevalence/metadata.xml b/dev-lisp/cl-prevalence/metadata.xml
new file mode 100644
index 000000000000..f418045b09c8
--- /dev/null
+++ b/dev-lisp/cl-prevalence/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>