commit:     746b84b5e01658fd9939c1a11f9297d01ea8adda
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  6 21:28:48 2017 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Thu Jul  6 21:28:48 2017 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=746b84b5

dev-lisp/elephant: Updates to common-lisp-3 eclass

 dev-lisp/elephant/elephant-0.9.1.ebuild | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/dev-lisp/elephant/elephant-0.9.1.ebuild 
b/dev-lisp/elephant/elephant-0.9.1.ebuild
index ee82b1ff..5aaadbb7 100644
--- a/dev-lisp/elephant/elephant-0.9.1.ebuild
+++ b/dev-lisp/elephant/elephant-0.9.1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
-EAPI=2
+EAPI=6
 
-inherit common-lisp-2 eutils
+inherit common-lisp-3 eutils
 
 DESCRIPTION="Elephant is an object database for Common Lisp"
 HOMEPAGE="http://common-lisp.net/project/elephant/";
@@ -25,24 +24,27 @@ RDEPEND="!dev-lisp/cl-${PN}
                postgres? ( dev-lisp/clsql[postgres] )
                sqlite3? ( dev-lisp/clsql[sqlite3] )"
 
+CL_SYSTEMS="${PN} ${PN}-tests ele-bdb ele-clsql"
+
 src_unpack() {
        unpack ${A}
-       epatch "${FILESDIR}"/${PV}-config.sexp.patch
-       epatch "${FILESDIR}"/${PV}-fix-tests.patch
-       mv "${S}"/config.sexp "${S}"/my-config.sexp
+}
+
+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 {${PN},${PN}-tests,ele-bdb,ele-clsql}.asd \
-               tests src/{db-bdb,db-clsql,elephant,memutil,query,utils} 
my-config.sexp
-       common-lisp-symlink-asdf ${PN} ${PN}-tests ele-bdb ele-clsql
+       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 ele-postgresql.asd
-               common-lisp-symlink-asdf ele-postgresql
+               common-lisp-install-asdf ele-postgresql
        fi
        if use sqlite3 ; then
-               common-lisp-install ele-sqlite3.asd
-               common-lisp-symlink-asdf ele-sqlite3
+               common-lisp-install-asdf ele-sqlite3
        fi
 
        dodoc CREDITS README

Reply via email to