1 |
commit: ab3b3515fc174cbcaedb090bdedd120513c1f114 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 18 22:37:13 2021 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 18 22:48:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3b3515 |
7 |
|
8 |
dev-perl/X11-Protocol: Add missing test dependency |
9 |
|
10 |
Bug: https://bugs.gentoo.org/652148 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
12 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
13 |
|
14 |
.../X11-Protocol/X11-Protocol-0.560.0-r2.ebuild | 22 ++++++++++++++++------ |
15 |
1 file changed, 16 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/dev-perl/X11-Protocol/X11-Protocol-0.560.0-r2.ebuild b/dev-perl/X11-Protocol/X11-Protocol-0.560.0-r2.ebuild |
18 |
index e30c5913eeb..434bcf9ccf4 100644 |
19 |
--- a/dev-perl/X11-Protocol/X11-Protocol-0.560.0-r2.ebuild |
20 |
+++ b/dev-perl/X11-Protocol/X11-Protocol-0.560.0-r2.ebuild |
21 |
@@ -1,7 +1,7 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=6 |
27 |
+EAPI=7 |
28 |
|
29 |
DIST_AUTHOR=SMCCAM |
30 |
DIST_VERSION=0.56 |
31 |
@@ -13,16 +13,26 @@ DESCRIPTION="Client-side interface to the X11 Protocol" |
32 |
LICENSE="${LICENSE} MIT" |
33 |
SLOT="0" |
34 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" |
35 |
-IUSE="" |
36 |
+IUSE="test" |
37 |
+RESTRICT="!test? ( test )" |
38 |
|
39 |
-RDEPEND="x11-libs/libXrender |
40 |
- x11-libs/libXext" |
41 |
-DEPEND="${RDEPEND}" |
42 |
+RDEPEND=" |
43 |
+ x11-libs/libXrender |
44 |
+ x11-libs/libXext |
45 |
+" |
46 |
+DEPEND=" |
47 |
+ ${RDEPEND} |
48 |
+" |
49 |
+BDEPEND=" |
50 |
+ ${RDEPEND} |
51 |
+ test? ( media-fonts/font-misc-misc ) |
52 |
+" |
53 |
|
54 |
PATCHES=( |
55 |
"${FILESDIR}/${PN}-0.56-test-timeout.patch" |
56 |
"${FILESDIR}/${PN}-0.56-test-tap.patch" |
57 |
) |
58 |
+ |
59 |
src_test() { |
60 |
virtx perl-module_src_test |
61 |
} |