1 |
commit: 62419f9179e0d69dc513ac4e02e62e10ff3b98cd |
2 |
Author: Raymond Wong <infiwang <AT> pm <DOT> me> |
3 |
AuthorDate: Wed Apr 27 15:14:13 2022 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 15:54:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62419f91 |
7 |
|
8 |
dev-lisp/asdf: Fix "test-utilities.script" test |
9 |
|
10 |
Patch is already done upstream, drop on next version bump. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/841335 |
13 |
Signed-off-by: Raymond Wong <infiwang <AT> pm.me> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/25226 |
15 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
16 |
|
17 |
dev-lisp/asdf/asdf-3.3.5.ebuild | 5 ++++ |
18 |
.../asdf/files/asdf-3.3.5-test-utilities.patch | 27 ++++++++++++++++++++++ |
19 |
2 files changed, 32 insertions(+) |
20 |
|
21 |
diff --git a/dev-lisp/asdf/asdf-3.3.5.ebuild b/dev-lisp/asdf/asdf-3.3.5.ebuild |
22 |
index b1153ce7066e..f33fc8a4e2a2 100644 |
23 |
--- a/dev-lisp/asdf/asdf-3.3.5.ebuild |
24 |
+++ b/dev-lisp/asdf/asdf-3.3.5.ebuild |
25 |
@@ -22,6 +22,11 @@ DEPEND="!dev-lisp/cl-${PN} |
26 |
PDEPEND="virtual/commonlisp |
27 |
~dev-lisp/uiop-${PV}" |
28 |
|
29 |
+PATCHES=( |
30 |
+ # bug 841335, drop on next version bump |
31 |
+ "${FILESDIR}"/${PN}-3.3.5-test-utilities.patch |
32 |
+) |
33 |
+ |
34 |
install_docs() { |
35 |
( |
36 |
cd doc || die |
37 |
|
38 |
diff --git a/dev-lisp/asdf/files/asdf-3.3.5-test-utilities.patch b/dev-lisp/asdf/files/asdf-3.3.5-test-utilities.patch |
39 |
new file mode 100644 |
40 |
index 000000000000..d8529d16823d |
41 |
--- /dev/null |
42 |
+++ b/dev-lisp/asdf/files/asdf-3.3.5-test-utilities.patch |
43 |
@@ -0,0 +1,27 @@ |
44 |
+https://bugs.gentoo.org/841335 |
45 |
+Taken from https://github.com/roswell/asdf/commit/fd289d99d1c76601fb310f8ca26a48f807337c8d |
46 |
+ |
47 |
+From fd289d99d1c76601fb310f8ca26a48f807337c8d Mon Sep 17 00:00:00 2001 |
48 |
+From: "Robert P. Goldman" <rpgoldman@××××.net> |
49 |
+Date: Fri, 2 Jul 2021 15:57:34 -0500 |
50 |
+Subject: [PATCH] Fix garbled test. |
51 |
+ |
52 |
+By accident a bad test slipped into a commit: this was due to my not |
53 |
+understanding how `with-expected-failure` works. |
54 |
+--- |
55 |
+ test/test-utilities.script | 2 +- |
56 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
57 |
+ |
58 |
+diff --git a/test/test-utilities.script b/test/test-utilities.script |
59 |
+index 09a03347..b1e00fa5 100644 |
60 |
+--- a/test/test-utilities.script |
61 |
++++ b/test/test-utilities.script |
62 |
+@@ -342,7 +342,7 @@ |
63 |
+ ;; (assert (directory-exists-p oddball-pathname)) |
64 |
+ ;; (pathname oddball-namestring) |
65 |
+ ;; (assert-equal nil (uiop:subdirectories oddball-namestring)) |
66 |
+-(with-expected-failure ("UIOP:SUBDIRECTORIES does not handle non-standard pathnames.") |
67 |
++(with-expected-failure (#+(or sbcl cmucl) t) |
68 |
+ (assert-equal nil (uiop:subdirectories "/[foo"))) |
69 |
+ |
70 |
+ (DBG "check to make sure WITH-CURRENT-DIRECTORY checks its parameter for directory pathname") |