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 B4B44158015 for ; Tue, 26 Dec 2023 19:20:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C50EC2BC014; Tue, 26 Dec 2023 19:20:01 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A5002BC014 for ; Tue, 26 Dec 2023 19:20:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id A63A1335DCC for ; Tue, 26 Dec 2023 19:20:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17CE7ED2 for ; Tue, 26 Dec 2023 19:19:59 +0000 (UTC) From: "Alexey Zapparov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Zapparov" Message-ID: <1703618111.cd5dbae6c2724eb154879f333cbf6f0009bf3e8f.alexey@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-vcs/lefthook/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-vcs/lefthook/lefthook-1.5.5-r1.ebuild dev-vcs/lefthook/lefthook-1.5.5.ebuild X-VCS-Directories: dev-vcs/lefthook/ X-VCS-Committer: alexey X-VCS-Committer-Name: Alexey Zapparov X-VCS-Revision: cd5dbae6c2724eb154879f333cbf6f0009bf3e8f X-VCS-Branch: dev Date: Tue, 26 Dec 2023 19:19:59 +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: 09982b25-e576-4950-a011-fc3f329608b4 X-Archives-Hash: 37532edc99ed0e4ef55761ea92963685 commit: cd5dbae6c2724eb154879f333cbf6f0009bf3e8f Author: Alexey Zapparov zapparov com> AuthorDate: Tue Dec 26 19:15:11 2023 +0000 Commit: Alexey Zapparov zapparov com> CommitDate: Tue Dec 26 19:15:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cd5dbae6 dev-vcs/lefthook: add 1.5.5-r1, drop 1.5.5 Override src_test function. `make test` has hardcoded `-race` option that conflicts with conditionally set `-buildmode=pie`. Closes: https://bugs.gentoo.org/920634 Signed-off-by: Alexey Zapparov zapparov.com> dev-vcs/lefthook/{lefthook-1.5.5.ebuild => lefthook-1.5.5-r1.ebuild} | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-vcs/lefthook/lefthook-1.5.5.ebuild b/dev-vcs/lefthook/lefthook-1.5.5-r1.ebuild similarity index 93% rename from dev-vcs/lefthook/lefthook-1.5.5.ebuild rename to dev-vcs/lefthook/lefthook-1.5.5-r1.ebuild index 560e22e627..8655b2a5bd 100644 --- a/dev-vcs/lefthook/lefthook-1.5.5.ebuild +++ b/dev-vcs/lefthook/lefthook-1.5.5-r1.ebuild @@ -28,6 +28,10 @@ src_compile() { ego build } +src_test() { + ego test -timeout=30s ./... +} + src_install() { dobin "${PN}" dodoc README.md CHANGELOG.md docs/configuration.md docs/usage.md