1 |
commit: 363cfafa4c30a97c326da4e2b504fa358fedeac8 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 3 01:14:41 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 3 01:19:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363cfafa |
7 |
|
8 |
dev-lisp/asdf: update EAPI 6 -> 7 |
9 |
|
10 |
Notably fix tests too. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-lisp/asdf/asdf-3.3.5.ebuild | 34 +++++++++++++++++++++++++--------- |
15 |
1 file changed, 25 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/dev-lisp/asdf/asdf-3.3.5.ebuild b/dev-lisp/asdf/asdf-3.3.5.ebuild |
18 |
index 508d690b0fbf..31ecf4bf0366 100644 |
19 |
--- a/dev-lisp/asdf/asdf-3.3.5.ebuild |
20 |
+++ b/dev-lisp/asdf/asdf-3.3.5.ebuild |
21 |
@@ -1,7 +1,7 @@ |
22 |
# Copyright 1999-2022 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
+EAPI=7 |
27 |
|
28 |
inherit prefix common-lisp-3 |
29 |
|
30 |
@@ -16,37 +16,53 @@ IUSE="doc test" |
31 |
RESTRICT="!test? ( test )" |
32 |
|
33 |
DEPEND="!dev-lisp/cl-${PN} |
34 |
- !<dev-lisp/asdf-2.33-r3 |
35 |
- doc? ( virtual/texi2dvi ) |
36 |
- test? ( virtual/commonlisp )" |
37 |
+ !<dev-lisp/asdf-2.33-r3 |
38 |
+ doc? ( virtual/texi2dvi ) |
39 |
+ test? ( virtual/commonlisp )" |
40 |
PDEPEND="virtual/commonlisp |
41 |
- ~dev-lisp/uiop-${PV}" |
42 |
+ ~dev-lisp/uiop-${PV}" |
43 |
|
44 |
install_docs() { |
45 |
- (cd doc ; dodoc *.{html,css,ico,png} "${PN}.pdf" ; dodoc -r asdf ) |
46 |
+ ( |
47 |
+ cd doc || die |
48 |
+ dodoc *.{html,css,ico,png} ${PN}.pdf |
49 |
+ dodoc -r asdf |
50 |
+ ) |
51 |
+ |
52 |
if has_version ">=dev-lisp/sbcl-1.4.0" ; then |
53 |
- (cd doc ; doinfo "${PN}.info" ) |
54 |
+ ( |
55 |
+ cd doc || die |
56 |
+ doinfo ${PN}.info |
57 |
+ ) |
58 |
fi |
59 |
} |
60 |
|
61 |
src_compile() { |
62 |
emake |
63 |
+ |
64 |
use doc && emake -C doc |
65 |
} |
66 |
|
67 |
src_test() { |
68 |
common-lisp-export-impl-args "$(common-lisp-find-lisp-impl)" |
69 |
- test/run-tests.sh ${CL_BINARY} |
70 |
+ |
71 |
+ rm test/test-program.script || die |
72 |
+ |
73 |
+ # sbcl in common-lisp.eclass has --non-interactive in the binary name |
74 |
+ # which seems to break this? |
75 |
+ test/run-tests.sh ${CL_BINARY/--non-interactive/} || die |
76 |
} |
77 |
|
78 |
src_install() { |
79 |
insinto "${CLSOURCEROOT}/${PN}" |
80 |
doins -r build version.lisp-expr |
81 |
+ |
82 |
dodoc README.md TODO |
83 |
use doc && install_docs |
84 |
+ |
85 |
insinto /etc/common-lisp |
86 |
cd "${T}" || die |
87 |
- cp "${FILESDIR}/gentoo-init.lisp" "${FILESDIR}/source-registry.conf" . || die |
88 |
+ cp "${FILESDIR}"/gentoo-init.lisp "${FILESDIR}"/source-registry.conf . || die |
89 |
eprefixify gentoo-init.lisp source-registry.conf |
90 |
doins gentoo-init.lisp source-registry.conf |
91 |
} |