1 |
commit: f0dfa10a1a3b94b7848c23062bccc8ead3011e67 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 8 06:14:00 2021 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 8 06:14:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0dfa10a |
7 |
|
8 |
dev-lisp/ecls: bump to 21.2.1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/768645 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
13 |
|
14 |
dev-lisp/ecls/Manifest | 1 + |
15 |
dev-lisp/ecls/ecls-21.2.1.ebuild | 87 ++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 88 insertions(+) |
17 |
|
18 |
diff --git a/dev-lisp/ecls/Manifest b/dev-lisp/ecls/Manifest |
19 |
index 25e997e4547..4212817fae8 100644 |
20 |
--- a/dev-lisp/ecls/Manifest |
21 |
+++ b/dev-lisp/ecls/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST ecl-16.1.3.tgz 7459212 BLAKE2B 4f9d6ad2bd92ede4b5b20857b95a48bad5002049e83611865d9cf13e7131adfaad147a31f22f9a3f6a2c06e46db1996aa98135c28b97bf5ef16e17b5eba0dc4b SHA512 5d743f422f6bc24671abf4c739cde8273d08f056906a1ef8aed5145c703b6d52c7fa4b5e0be8c125f32240c20ce053007786bb3ae81cc34d47791f6fae0819c1 |
24 |
DIST ecl-20.4.24.tgz 7815444 BLAKE2B 11b908b028beaaf9243dc0f2ceaa178918ae4763a907af4424ba21e6bdf3474aaa36c96e9a3ef1ce780e50649c2453b52b7c46b5e9dc1453281dc522417ad78c SHA512 4c127e0d6a99e38f3a926135ae92d92899058c5a5e99b90f28d4a47b58d94ee89a958cfb4bfd2b9e6ad7b3c57867cd13119b2a4dd6bb1aa3bb5ec42a96bfa788 |
25 |
+DIST ecl-21.2.1.tgz 7875088 BLAKE2B b8c05fab8ce5892ad9df830e3ad230e1c646bd30bc35243703ace18f1bf963057b132d980c74b364ff30a5b776a8f161e71bfd69d7908970811ab3dddbab1aac SHA512 0849bebe1a8073ea8027cfb172c1d7781d43adb6a8b80585bd08d5674b80422d1648b6fbf718cc17a51c5de6c696514523b4d13a82e8113bf9365c95d3c28648 |
26 |
|
27 |
diff --git a/dev-lisp/ecls/ecls-21.2.1.ebuild b/dev-lisp/ecls/ecls-21.2.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..976df8f8565 |
30 |
--- /dev/null |
31 |
+++ b/dev-lisp/ecls/ecls-21.2.1.ebuild |
32 |
@@ -0,0 +1,87 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit eutils multilib |
39 |
+ |
40 |
+# test phase only works if ecls already installed #516876 |
41 |
+RESTRICT="test" |
42 |
+ |
43 |
+MY_P=ecl-${PV} |
44 |
+ |
45 |
+DESCRIPTION="ECL is an embeddable Common Lisp implementation" |
46 |
+HOMEPAGE="https://common-lisp.net/project/ecl/" |
47 |
+SRC_URI="https://common-lisp.net/project/ecl/static/files/release/${MY_P}.tgz" |
48 |
+ |
49 |
+LICENSE="BSD-2 LGPL-2.1+" |
50 |
+SLOT="0/${PV}" |
51 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux" |
52 |
+IUSE="cxx debug emacs gengc precisegc cpu_flags_x86_sse +threads +unicode +libatomic X" |
53 |
+ |
54 |
+CDEPEND="dev-libs/gmp:0 |
55 |
+ dev-libs/libffi |
56 |
+ libatomic? ( dev-libs/libatomic_ops ) |
57 |
+ >=dev-libs/boehm-gc-7.1[threads?] |
58 |
+ >=dev-lisp/asdf-2.33-r3:=" |
59 |
+DEPEND="${CDEPEND} |
60 |
+ app-text/texi2html |
61 |
+ emacs? ( >=app-editors/emacs-23.1:* >=app-eselect/eselect-emacs-1.12 )" |
62 |
+RDEPEND="${CDEPEND}" |
63 |
+ |
64 |
+S="${WORKDIR}"/${MY_P} |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}/${PN}-16.1.3-headers-gentoo.patch" |
68 |
+ "${FILESDIR}/${PN}-16.1.3-build.patch" |
69 |
+) |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ default |
73 |
+ cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ econf \ |
78 |
+ --with-system-gmp \ |
79 |
+ --enable-boehm=system \ |
80 |
+ --enable-longdouble=yes \ |
81 |
+ --with-dffi \ |
82 |
+ $(use_with cxx) \ |
83 |
+ $(use_enable gengc) \ |
84 |
+ $(use_enable precisegc) \ |
85 |
+ $(use_with debug debug-cflags) \ |
86 |
+ $(use_enable libatomic libatomic system) \ |
87 |
+ $(use_with cpu_flags_x86_sse sse) \ |
88 |
+ $(use_enable threads) \ |
89 |
+ $(use_with threads __thread) \ |
90 |
+ $(use_enable unicode) \ |
91 |
+ $(use_with unicode unicode-names) \ |
92 |
+ $(use_with X x) |
93 |
+} |
94 |
+ |
95 |
+src_compile() { |
96 |
+ if use emacs; then |
97 |
+ local ETAGS=$(eselect --brief etags list | sed -ne '/emacs/{p;q}') |
98 |
+ [[ -n ${ETAGS} ]] || die "No etags implementation found" |
99 |
+ pushd build > /dev/null || die |
100 |
+ emake ETAGS=${ETAGS} TAGS |
101 |
+ popd > /dev/null |
102 |
+ else |
103 |
+ touch build/TAGS |
104 |
+ fi |
105 |
+ |
106 |
+ #parallel make fails |
107 |
+ emake -j1 |
108 |
+} |
109 |
+ |
110 |
+src_install() { |
111 |
+ emake DESTDIR="${D}" install |
112 |
+ |
113 |
+ dodoc README.md CHANGELOG |
114 |
+ dodoc "${FILESDIR}"/README.Gentoo |
115 |
+ pushd build/doc |
116 |
+ newman ecl.man ecl.1 |
117 |
+ newman ecl-config.man ecl-config.1 |
118 |
+ popd |
119 |
+} |