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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5CFDB158086 for ; Sun, 12 Dec 2021 09:38:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9724CE07C7; Sun, 12 Dec 2021 09:38:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A4ADE07C7 for ; Sun, 12 Dec 2021 09:38:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8AA0C343072 for ; Sun, 12 Dec 2021 09:38:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47D96206 for ; Sun, 12 Dec 2021 09:38:03 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1639301866.e9ce1d49e66bcdbc3265dbc7f1e2b6fe05c2730f.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/tk/, dev-lang/tk/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/tk/files/tk-8.6.12-test.patch dev-lang/tk/tk-8.6.12.ebuild X-VCS-Directories: dev-lang/tk/files/ dev-lang/tk/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: e9ce1d49e66bcdbc3265dbc7f1e2b6fe05c2730f X-VCS-Branch: master Date: Sun, 12 Dec 2021 09:38:03 +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: 700db907-9b80-478e-9640-bce10b2c8751 X-Archives-Hash: 49923e41c60b199cbc0c4cdbed2e87ec commit: e9ce1d49e66bcdbc3265dbc7f1e2b6fe05c2730f Author: Alfredo Tupone gentoo org> AuthorDate: Sun Dec 12 09:37:46 2021 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Sun Dec 12 09:37:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ce1d49 dev-lang/tk: some tests do no work Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone gentoo.org> dev-lang/tk/files/tk-8.6.12-test.patch | 31 +++++++++++++++++++++++++++++++ dev-lang/tk/tk-8.6.12.ebuild | 1 + 2 files changed, 32 insertions(+) diff --git a/dev-lang/tk/files/tk-8.6.12-test.patch b/dev-lang/tk/files/tk-8.6.12-test.patch new file mode 100644 index 000000000000..231265f464e4 --- /dev/null +++ b/dev-lang/tk/files/tk-8.6.12-test.patch @@ -0,0 +1,31 @@ +--- a/tests/font.test 2020-12-26 19:15:55.199228774 +0100 ++++ b/tests/font.test 2020-12-26 19:18:05.414951407 +0100 +@@ -399,7 +399,7 @@ + # (tkfont == NULL) + font measure "\{xyz" abc + } -returnCodes error -result "font \"{xyz\" doesn't exist" +-test font-9.5 {font command: measure} -body { ++test font-9.5 {font command: measure} -constraints knownBug -body { + # Tk_TextWidth() + expr {[font measure $fixed "abcdefg"] == [font measure $fixed "a"]*7 } + } -result 1 +@@ -450,7 +450,7 @@ + # (Tcl_GetIndexFromObj() != TCL_OK) + font metrics $fixed -xyz + } -returnCodes error -result {bad metric "-xyz": must be -ascent, -descent, -linespace, or -fixed} +-test font-10.9 {font command: metrics: get individual metrics} -body { ++test font-10.9 {font command: metrics: get individual metrics} -constraints knownBug -body { + font metrics $fixed -ascent + font metrics $fixed -descent + font metrics $fixed -linespace +--- a/tests/scrollbar.test 2021-12-12 10:20:06.460611347 +0100 ++++ b/tests/scrollbar.test 2021-12-12 10:21:12.204503285 +0100 +@@ -717,7 +717,7 @@ + destroy .t .s + } -result {5.0} + +-test scrollbar-10.2.1 { event on scrollbar} -constraints {notAqua} -setup { ++test scrollbar-10.2.1 { event on scrollbar} -constraints knownBug -setup { + destroy .t .s + } -body { + pack [text .t -xscrollcommand {.s set} -wrap none] -side top diff --git a/dev-lang/tk/tk-8.6.12.ebuild b/dev-lang/tk/tk-8.6.12.ebuild index bbf26ad4fba4..1a56e674c79b 100644 --- a/dev-lang/tk/tk-8.6.12.ebuild +++ b/dev-lang/tk/tk-8.6.12.ebuild @@ -39,6 +39,7 @@ PATCHES=( "${FILESDIR}"/${PN}-8.6.10-multilib.patch "${FILESDIR}"/${PN}-8.4.15-aqua.patch "${FILESDIR}"/${PN}-8.6.9-conf.patch # Bug 125971 + "${FILESDIR}"/${PN}-8.6.12-test.patch ) src_prepare() {