commit:     4ad13734f6dac807ebfa35e2007e38512ef87ccb
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  2 07:29:17 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Apr  2 07:29:17 2022 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=4ad13734

dev-lisp/elephant: Remove package

SRC_URI is gone.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 dev-lisp/elephant/elephant-0.9.1.ebuild         |  54 --------
 dev-lisp/elephant/files/0.9.1-config.sexp.patch |  47 -------
 dev-lisp/elephant/files/0.9.1-fix-tests.patch   | 161 ------------------------
 3 files changed, 262 deletions(-)

diff --git a/dev-lisp/elephant/elephant-0.9.1.ebuild 
b/dev-lisp/elephant/elephant-0.9.1.ebuild
deleted file mode 100644
index 5aaadbb7..00000000
--- a/dev-lisp/elephant/elephant-0.9.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit common-lisp-3 eutils
-
-DESCRIPTION="Elephant is an object database for Common Lisp"
-HOMEPAGE="http://common-lisp.net/project/elephant/";
-SRC_URI="http://common-lisp.net/~sionescu/files/${P}.tar.bz2
-               doc? ( http://www.common-lisp.net/project/${PN}/doc/${PN}.pdf )"
-
-LICENSE="GPL-2 LLGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc postgres sqlite3"
-
-RDEPEND="!dev-lisp/cl-${PN}
-               sys-libs/db:4.5
-               dev-lisp/uffi
-               dev-lisp/clsql
-               dev-lisp/cl-base64
-               dev-lisp/fiveam
-               postgres? ( dev-lisp/clsql[postgres] )
-               sqlite3? ( dev-lisp/clsql[sqlite3] )"
-
-CL_SYSTEMS="${PN} ${PN}-tests ele-bdb ele-clsql"
-
-src_unpack() {
-       unpack ${A}
-}
-
-src_prepare() {
-       eapply "${FILESDIR}"/${PV}-config.sexp.patch
-       eapply "${FILESDIR}"/${PV}-fix-tests.patch
-       mv "${S}"/config.sexp "${S}"/my-config.sexp || die
-       eapply_user
-}
-
-src_install() {
-       common-lisp-install-sources tests 
src/{db-bdb,db-clsql,elephant,memutil,query,utils} my-config.sexp
-       common-lisp-install-asdf
-       if use postgres ; then
-               common-lisp-install-asdf ele-postgresql
-       fi
-       if use sqlite3 ; then
-               common-lisp-install-asdf ele-sqlite3
-       fi
-
-       dodoc CREDITS README
-       dohtml doc/html/*
-       use doc && dodoc "${DISTDIR}"/${PN}.pdf
-       docinto examples && dodoc examples/*
-}

diff --git a/dev-lisp/elephant/files/0.9.1-config.sexp.patch 
b/dev-lisp/elephant/files/0.9.1-config.sexp.patch
deleted file mode 100644
index b16d464f..00000000
--- a/dev-lisp/elephant/files/0.9.1-config.sexp.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff -ur elephant-0.9.1.orig/config.sexp elephant-0.9.1/config.sexp
---- elephant-0.9.1.orig/config.sexp    2008-01-05 11:48:51.000000000 +0100
-+++ elephant-0.9.1/config.sexp 2008-01-05 13:16:05.000000000 +0100
-@@ -1,18 +1,18 @@
- 
- ;; Linux defaults
--#+(and (or sbcl allegro openmcl lispworks) (not (or mswindows windows)) (not 
(or macosx darwin)))
-+#+(and (or sbcl allegro openmcl lispworks) (not (or macosx darwin)))
- ((:compiler . :gcc)
-- (:berkeley-db-include-dir . "/usr/local/BerkeleyDB.4.5/include/")
-- (:berkeley-db-lib-dir . "/usr/local/BerkeleyDB.4.5/lib/")
-- (:berkeley-db-lib . "/usr/local/BerkeleyDB.4.5/lib/libdb-4.5.so")
-- (:berkeley-db-deadlock . "/usr/local/BerkeleyDB.4.5/bin/db_deadlock")
-+ (:berkeley-db-include-dir . "/usr/include/db4.5/")
-+ (:berkeley-db-lib-dir . "/usr/lib/")
-+ (:berkeley-db-lib . "/usr/lib/libdb-4.5.so")
-+ (:berkeley-db-deadlock . "/usr/bin/db4.5_deadlock")
-  (:berkeley-db-cachesize . 20971520)
-  (:berkeley-db-map-degree2 . t)
-  (:clsql-lib-paths . nil)
-  (:prebuilt-libraries . nil))
- 
- ;; OSX Defaults 
--#+(and (or sbcl allegro openmcl lispworks) (not (or mswindows windows)) (or 
macosx darwin))
-+#+(and (or sbcl allegro openmcl lispworks) (or macosx darwin))
- ((:compiler . :gcc)
-  (:berkeley-db-include-dir . "/usr/local/BerkeleyDB.4.5/include/")
-  (:berkeley-db-lib-dir . "/usr/local/BerkeleyDB.4.5/lib/")
-@@ -23,18 +23,6 @@
-  (:clsql-lib-paths . nil)
-  (:prebuilt-libraries . nil))
- 
--;; Windows defaults (assumes prebuild libraries)
--#+(or mswindows windows)
--((:compiler . :cygwin)
-- (:berkeley-db-include-dir . "C:/Program Files/Oracle/Berkeley DB 
4.5.20/include/")
-- (:berkeley-db-lib-dir . "C:/Program Files/Oracle/Berkeley DB 4.5.20/bin/")
-- (:berkeley-db-lib . "C:/Program Files/Oracle/Berkeley DB 
4.5.20/bin/libdb45.dll")
-- (:berkeley-db-deadlock . "C:/Program Files/Oracle/Berkeley DB 
4.5.20/bin/db_deadlock.exe")
-- (:berkeley-db-cachesize . 20971520)
-- (:berkeley-db-map-degree2 . t)
-- (:clsql-lib-paths . nil)
-- (:prebuilt-libraries . t))
--
- ;; Berkeley 4.5 is required, each system will have different settings for
- ;; these directories, use this as an indication of what each key means
- ;;

diff --git a/dev-lisp/elephant/files/0.9.1-fix-tests.patch 
b/dev-lisp/elephant/files/0.9.1-fix-tests.patch
deleted file mode 100644
index 1f9dab7c..00000000
--- a/dev-lisp/elephant/files/0.9.1-fix-tests.patch
+++ /dev/null
@@ -1,161 +0,0 @@
-diff -ur elephant-0.9.1.orig/elephant-tests.asd 
elephant-0.9.1/elephant-tests.asd
---- elephant-0.9.1.orig/elephant-tests.asd     2008-01-05 11:48:51.000000000 
+0100
-+++ elephant-0.9.1/elephant-tests.asd  2008-01-05 13:51:36.000000000 +0100
-@@ -51,24 +51,21 @@
-   :description "Object database for Common Lisp"
-   :long-description "An object-oriented database based on Berkeley DB, for 
CMUCL/SBCL, OpenMCL, Lispworks, and Allegro."
-   
--  :depends-on #-use-fiveam (:elephant :rt)
--              #+use-fiveam (:elephant :fiveam)
-+  :depends-on (:elephant :fiveam)
-   :components
-   ((:module :tests
--          :components
--          ((:file "elet-package")
--             #+use-fiveam
--             (:file "fiveam-rt")
--             (:file "elephant-tests")
--             (:file "testperformance")
--           (:file "testserializer")
--           (:file "testconditions")
--           (:file "mop-tests")
--           (:file "testcollections")
--           (:file "testindexing")
--           (:file "testmigration")
--           )
--          :serial t)))
-+      :components
-+    ((:file "elet-package")
-+     (:file "fiveam-rt")
-+     (:file "elephant-tests")
-+     (:file "testperformance")
-+     (:file "testserializer")
-+     (:file "testconditions")
-+     (:file "mop-tests")
-+     (:file "testcollections")
-+     (:file "testindexing")
-+     (:file "testmigration"))
-+    :serial t)))
- 
- (defsystem elephant-tests-bdb
-   :name "elephant"
-diff -ur elephant-0.9.1.orig/tests/elephant-tests.lisp 
elephant-0.9.1/tests/elephant-tests.lisp
---- elephant-0.9.1.orig/tests/elephant-tests.lisp      2008-01-05 
11:48:51.000000000 +0100
-+++ elephant-0.9.1/tests/elephant-tests.lisp   2008-01-05 14:06:11.000000000 
+0100
-@@ -95,6 +95,10 @@
- ;; COMPREHENSIVE TESTING
- ;;
- 
-+(defvar *test-spec-primary*)
-+(defvar *test-spec-secondary*)
-+(defvar *store-controller*)
-+
- (defun run-regression-tests (type)
-   (let (sc1 sc2 oid)
-     (case type
-@@ -110,8 +114,7 @@
-            sc2 *testpg-spec*))
-       (t (error "Unrecognized data store type: ~A" type)))
-     (let ((*test-spec-primary* sc1)
--        (*test-spec-secondary* sc2))
--      (declare (special *test-spec-secondary* *test-spec-primary*))
-+          (*test-spec-secondary* sc2))
-       (do-backend-tests sc1))))
- 
- ;;
-@@ -150,7 +153,6 @@
-   "Interface to do explicit migration tests between backends"
-   (let ((*test-spec-primary* spec1)
-       (*test-spec-secondary* spec2))
--    (declare (special *test-spec-primary* *test-spec-secondary*))
-     (if oid-spec
-       (set-oid-spec oid-spec)
-       (set-oid-spec nil))
-@@ -161,7 +163,6 @@
- (defun do-migration-test-spec (test spec1 spec2)
-   (let ((*test-spec-primary* spec1)
-       (*test-spec-secondary* spec2))
--    (declare (special *test-spec-primary* *test-spec-secondary*))
-     (print (do-test test))))
- 
- 
-diff -ur elephant-0.9.1.orig/tests/elet-package.lisp 
elephant-0.9.1/tests/elet-package.lisp
---- elephant-0.9.1.orig/tests/elet-package.lisp        2008-01-05 
11:48:51.000000000 +0100
-+++ elephant-0.9.1/tests/elet-package.lisp     2008-01-05 14:00:08.000000000 
+0100
-@@ -18,10 +18,7 @@
- 
- (defpackage elephant-tests
-   (:nicknames :ele-tests)
--  #+use-fiveam
-   (:use :common-lisp :elephant :5am)
--  #-use-fiveam
--  (:use :common-lisp :elephant :regression-test)
-   (:import-from :elephant
-               with-buffer-streams
-               serialize
-@@ -56,4 +53,4 @@
-               slot-definition-name
-               slot-makunbound-using-class
-               class-slots)
--  )
-\ No newline at end of file
-+  )
-diff -ur elephant-0.9.1.orig/tests/testindexing.lisp 
elephant-0.9.1/tests/testindexing.lisp
---- elephant-0.9.1.orig/tests/testindexing.lisp        2008-01-05 
11:48:52.000000000 +0100
-+++ elephant-0.9.1/tests/testindexing.lisp     2008-01-05 13:59:41.000000000 
+0100
-@@ -4,10 +4,6 @@
- (in-suite* testindexing :in elephant-tests)
- 
- (defun setup-testing ()
--  #-use-fiveam
--  (progn
--    (setf regression-test::*debug* t)
--    (setf regression-test::*catch-errors* nil))
- ;;  (trace elephant::indexed-slot-writer)
-   (trace ((method initialize-instance :before (persistent))))
-   (trace ((method initialize-instance (persistent-object))))
-@@ -27,6 +23,9 @@
- (defvar inst1)
- (defvar inst2)
- (defvar inst3)
-+(defvar inst4)
-+(defvar inst5)
-+(defvar inst6)
- 
- (test disable-class-indexing-test 
-   (5am:finishes
-diff -ur elephant-0.9.1.orig/tests/testmigration.lisp 
elephant-0.9.1/tests/testmigration.lisp
---- elephant-0.9.1.orig/tests/testmigration.lisp       2008-01-05 
11:48:51.000000000 +0100
-+++ elephant-0.9.1/tests/testmigration.lisp    2008-01-05 14:05:11.000000000 
+0100
-@@ -62,7 +62,6 @@
-       (let ((*store-controller* nil)
-             (sc1 (open-store *test-spec-primary* :recover t))
-             (sc2 (open-store *test-spec-secondary* :recover t)))
--        (declare (special *store-controller*))
-         (unwind-protect 
-              (progn
-                (elephant::initialize-migrate-duplicate-detection)
-@@ -130,7 +129,6 @@
-       (let ((*store-controller* nil)
-             (sc1 (open-store *test-spec-primary* :recover t))
-             (sc2 (open-store *test-spec-secondary* :recover t)))
--        (declare (special *store-controller*))
-         (unwind-protect
-              (progn
-                (elephant::initialize-migrate-duplicate-detection)
-@@ -172,7 +170,6 @@
-       (let* ((sc1 (open-store *test-spec-primary* :recover t :deadlock-detect 
t))
-            (sc2 (open-store *test-spec-secondary* :recover t :deadlock-detect 
t))
-            (*store-controller* nil))
--      (declare (special *store-controller*))
-       (unwind-protect
-            (progn (elephant::initialize-migrate-duplicate-detection)
-                   (let* ((simplesrc (make-instance 'pfoo :slot1 0 :sc sc1))
-@@ -238,7 +235,6 @@
-         (let ((sc2 (open-store *test-spec-secondary* :recover t))
-               (sc1 (open-store *test-spec-primary* :recover t))
-               (*store-controller* nil))
--          (declare (special *store-controller*))
-           (unwind-protect
-                ;; ensure class index is initialized in sc1
-                (progn

Reply via email to