commit: ab3b3515fc174cbcaedb090bdedd120513c1f114 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Tue May 18 22:37:13 2021 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Tue May 18 22:48:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3b3515
dev-perl/X11-Protocol: Add missing test dependency Bug: https://bugs.gentoo.org/652148 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> .../X11-Protocol/X11-Protocol-0.560.0-r2.ebuild | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) 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 index e30c5913eeb..434bcf9ccf4 100644 --- a/dev-perl/X11-Protocol/X11-Protocol-0.560.0-r2.ebuild +++ b/dev-perl/X11-Protocol/X11-Protocol-0.560.0-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DIST_AUTHOR=SMCCAM DIST_VERSION=0.56 @@ -13,16 +13,26 @@ DESCRIPTION="Client-side interface to the X11 Protocol" LICENSE="${LICENSE} MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" -IUSE="" +IUSE="test" +RESTRICT="!test? ( test )" -RDEPEND="x11-libs/libXrender - x11-libs/libXext" -DEPEND="${RDEPEND}" +RDEPEND=" + x11-libs/libXrender + x11-libs/libXext +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${RDEPEND} + test? ( media-fonts/font-misc-misc ) +" PATCHES=( "${FILESDIR}/${PN}-0.56-test-timeout.patch" "${FILESDIR}/${PN}-0.56-test-tap.patch" ) + src_test() { virtx perl-module_src_test }