commit: 7ffd148782df089052763367d883f5b721aafa1d
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 15 21:57:43 2015 +0000
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sun Nov 15 21:57:43 2015 +0000
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=7ffd1487
dev-lisp/cl-unicode: bump to version 0.1.5
dev-lisp/cl-unicode/cl-unicode-0.1.5.ebuild | 47 +++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/dev-lisp/cl-unicode/cl-unicode-0.1.5.ebuild
b/dev-lisp/cl-unicode/cl-unicode-0.1.5.ebuild
new file mode 100644
index 0000000..acc5def
--- /dev/null
+++ b/dev-lisp/cl-unicode/cl-unicode-0.1.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit common-lisp-3
+
+MY_P="v${PV}"
+
+DESCRIPTION="A library which provides Common Lisp implementations with
knowledge about Unicode characters."
+HOMEPAGE="http://weitz.de/cl-unicode/"
+SRC_URI="https://github.com/edicl/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-lisp/flexi-streams"
+RDEPEND="dev-lisp/cl-ppcre"
+
+COMMONLISPS="sbcl clisp clozurecl cmucl ecls openmcl"
+
+find-lisp-impl() {
+ for lisp in ${COMMONLISPS} ; do
+ [[ "$(best_version dev-lisp/${lisp})" ]] && echo "${lisp}" &&
return
+ done
+ die "No CommonLisp implementation found"
+}
+
+src_compile() {
+ # cl-unicode builds parts of its source code automatically the first
time it
+ # is compiled, so we compile it here.
+ local lispimpl=$(find-lisp-impl)
+ local initclunicode="(progn (push \"${S}/\" asdf:*central-registry*)
(require :${PN}))"
+ common-lisp-export-impl-args "${lispimpl}"
+ ${lispimpl} ${CL_EVAL} "${initclunicode}"
+}
+
+src_install() {
+ common-lisp-install-sources *.lisp test/
+ common-lisp-install-sources -t all build/
+ common-lisp-install-asdf
+ dodoc CHANGELOG
+ dohtml doc/index.html
+}