Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lisp/cl-unicode/
Date: Thu, 17 Dec 2015 22:14:15
Message-Id: 1450390615.ec1ac2389a1a20ff79b91f712f00d5fa21074011.nimiux@gentoo
1 commit: ec1ac2389a1a20ff79b91f712f00d5fa21074011
2 Author: José María Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 17 22:16:55 2015 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 17 22:16:55 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec1ac238
7
8 dev-lisp/cl-unicode: add from lisp overlay
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-lisp/cl-unicode/Manifest | 1 +
13 dev-lisp/cl-unicode/cl-unicode-0.1.5.ebuild | 47 +++++++++++++++++++++++++++++
14 dev-lisp/cl-unicode/metadata.xml | 14 +++++++++
15 3 files changed, 62 insertions(+)
16
17 diff --git a/dev-lisp/cl-unicode/Manifest b/dev-lisp/cl-unicode/Manifest
18 new file mode 100644
19 index 0000000..ca8b513
20 --- /dev/null
21 +++ b/dev-lisp/cl-unicode/Manifest
22 @@ -0,0 +1 @@
23 +DIST cl-unicode-0.1.5.tar.gz 485666 SHA256 9e9f1dda5133c3c94e09f638fec01410254c0020b89cc7342416d8ed1d377ee3 SHA512 0b66c0e711f7e37423aa638b43017adff648189a32032702b082dff140b2255847a15572a20f21e6f82a2e8cbd547f7f99bf9176e4fa464aa1d938575d8a2390 WHIRLPOOL e0b973416ff76f4e66b203ea5545c782a4bf59dccbbc7f1d26c6a78870efa31a4fe0b2e7eae17be25f49efc06272201ce9472fbb9e22d5332de8014aea1bc14c
24
25 diff --git a/dev-lisp/cl-unicode/cl-unicode-0.1.5.ebuild b/dev-lisp/cl-unicode/cl-unicode-0.1.5.ebuild
26 new file mode 100644
27 index 0000000..acc5def
28 --- /dev/null
29 +++ b/dev-lisp/cl-unicode/cl-unicode-0.1.5.ebuild
30 @@ -0,0 +1,47 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +inherit common-lisp-3
38 +
39 +MY_P="v${PV}"
40 +
41 +DESCRIPTION="A library which provides Common Lisp implementations with knowledge about Unicode characters."
42 +HOMEPAGE="http://weitz.de/cl-unicode/"
43 +SRC_URI="https://github.com/edicl/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="BSD-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
48 +IUSE=""
49 +
50 +DEPEND="dev-lisp/flexi-streams"
51 +RDEPEND="dev-lisp/cl-ppcre"
52 +
53 +COMMONLISPS="sbcl clisp clozurecl cmucl ecls openmcl"
54 +
55 +find-lisp-impl() {
56 + for lisp in ${COMMONLISPS} ; do
57 + [[ "$(best_version dev-lisp/${lisp})" ]] && echo "${lisp}" && return
58 + done
59 + die "No CommonLisp implementation found"
60 +}
61 +
62 +src_compile() {
63 + # cl-unicode builds parts of its source code automatically the first time it
64 + # is compiled, so we compile it here.
65 + local lispimpl=$(find-lisp-impl)
66 + local initclunicode="(progn (push \"${S}/\" asdf:*central-registry*) (require :${PN}))"
67 + common-lisp-export-impl-args "${lispimpl}"
68 + ${lispimpl} ${CL_EVAL} "${initclunicode}"
69 +}
70 +
71 +src_install() {
72 + common-lisp-install-sources *.lisp test/
73 + common-lisp-install-sources -t all build/
74 + common-lisp-install-asdf
75 + dodoc CHANGELOG
76 + dohtml doc/index.html
77 +}
78
79 diff --git a/dev-lisp/cl-unicode/metadata.xml b/dev-lisp/cl-unicode/metadata.xml
80 new file mode 100644
81 index 0000000..433fe2c
82 --- /dev/null
83 +++ b/dev-lisp/cl-unicode/metadata.xml
84 @@ -0,0 +1,14 @@
85 +<?xml version="1.0" encoding="UTF-8"?>
86 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
87 +<pkgmetadata>
88 + <herd>common-lisp</herd>
89 + <longdescription>
90 + CL-UNICODE is a library which provides Common Lisp implementations
91 + with knowledge about Unicode characters including their name, their
92 + general category, the scripts and blocks they belong to, their
93 + numerical value, and several other properties. It also provides the
94 + ability to replace the standard syntax for reading Lisp characters
95 + with one that is Unicode-aware and is used to enhance CL-PPCRE with
96 + Unicode properties.
97 + </longdescription>
98 +</pkgmetadata>