From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2F9C1138239 for ; Wed, 31 Mar 2021 19:59:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A960E0A9E; Wed, 31 Mar 2021 19:59:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 232B9E0A9E for ; Wed, 31 Mar 2021 19:59:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11E1C340562 for ; Wed, 31 Mar 2021 19:59:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5AAC639 for ; Wed, 31 Mar 2021 19:59:42 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1617220774.6fe8bf9da54c13357bfa31345dcd41cb62be63b2.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tktray/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/tktray/tktray-1.3.9.ebuild X-VCS-Directories: dev-tcltk/tktray/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 6fe8bf9da54c13357bfa31345dcd41cb62be63b2 X-VCS-Branch: master Date: Wed, 31 Mar 2021 19:59:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a475c8e4-71f8-4ea0-8868-dc2adb0337d1 X-Archives-Hash: 2692c682c5393f812936a1b8bd090e40 commit: 6fe8bf9da54c13357bfa31345dcd41cb62be63b2 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Mar 30 18:11:50 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Mar 31 19:59:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fe8bf9d dev-tcltk/tktray: EAPI-7 bump, drop useless virtualx and src_test() Xemake did nothing at all in this case and by that hid the fact that tests are indeed (still) impossible to run for us, see also the ancient bug. Bug: https://bugs.gentoo.org/284919 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-tcltk/tktray/tktray-1.3.9.ebuild | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/dev-tcltk/tktray/tktray-1.3.9.ebuild b/dev-tcltk/tktray/tktray-1.3.9.ebuild index 3cb9eb4b38a..cdfa53b8e12 100644 --- a/dev-tcltk/tktray/tktray-1.3.9.ebuild +++ b/dev-tcltk/tktray/tktray-1.3.9.ebuild @@ -1,21 +1,20 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit eutils virtualx - -MY_P="${PN}${PV}" +EAPI=7 DESCRIPTION="System Tray Icon Support for Tk on X11" HOMEPAGE="https://code.google.com/p/tktray/" -SRC_URI="https://tktray.googlecode.com/files/${MY_P}.tar.gz" +SRC_URI="https://tktray.googlecode.com/files/${PN}${PV}.tar.gz" +S="${WORKDIR}/${PN}${PV}" LICENSE="tcltk" SLOT="0" KEYWORDS="amd64 ~ppc ~sparc x86" -IUSE="debug threads test" -RESTRICT="!test? ( test )" +IUSE="debug threads" + +# tests need actual X server with user interaction, bug #284919 +RESTRICT="test" DEPEND=" >=dev-lang/tcl-8.4:0= @@ -23,11 +22,7 @@ DEPEND=" x11-libs/libXext" RDEPEND="${DEPEND}" -S="${WORKDIR}/${MY_P}" - -src_prepare() { - epatch "${FILESDIR}"/1.1-ldflags.patch -} +PATCHES=( "${FILESDIR}"/1.1-ldflags.patch ) src_configure() { source /usr/lib/tclConfig.sh @@ -36,7 +31,3 @@ src_configure() { $(use_enable debug symbols) \ $(use_enable threads) } - -src_test() { - Xemake -}