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 075B3158451 for ; Tue, 9 Jan 2024 12:03:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8702E2A76; Tue, 9 Jan 2024 12:03:36 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBD09E2A75 for ; Tue, 9 Jan 2024 12:03:36 +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 EB860343324 for ; Tue, 9 Jan 2024 12:03:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A928135D for ; Tue, 9 Jan 2024 12:03:34 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1704726685.e77e3095209dea601e69d9492b3f8773519a6455.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/xmake/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/xmake/Manifest dev-util/xmake/xmake-2.7.9.ebuild dev-util/xmake/xmake-2.8.6.ebuild X-VCS-Directories: dev-util/xmake/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: e77e3095209dea601e69d9492b3f8773519a6455 X-VCS-Branch: master Date: Tue, 9 Jan 2024 12:03:34 +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: 91d4abf4-6fff-47cb-9d6b-257c85afc049 X-Archives-Hash: d371dbdaac88b562a985aa0ea522dda4 commit: e77e3095209dea601e69d9492b3f8773519a6455 Author: Takuya Wakazono gmail com> AuthorDate: Mon Jan 8 15:11:25 2024 +0000 Commit: David Roman gmail com> CommitDate: Mon Jan 8 15:11:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e77e3095 dev-util/xmake: add 2.8.6, drop 2.7.9 Closes: https://bugs.gentoo.org/868744 Closes: https://bugs.gentoo.org/902883 Closes: https://bugs.gentoo.org/921286 Signed-off-by: Takuya Wakazono gmail.com> dev-util/xmake/Manifest | 2 +- .../{xmake-2.7.9.ebuild => xmake-2.8.6.ebuild} | 30 +++++++++++++++++++--- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/dev-util/xmake/Manifest b/dev-util/xmake/Manifest index 7e2ebea81d..95ed0fd4cf 100644 --- a/dev-util/xmake/Manifest +++ b/dev-util/xmake/Manifest @@ -1 +1 @@ -DIST xmake-v2.7.9.tar.gz 2742959 BLAKE2B 61b905b133e687e0f03a16f67e16d973dd098c3bd8987f807e59944633228b73b43426b22b422165df4a46ad4cb031b19cd10ef5300db10f64ee806b8e324d44 SHA512 e725f4c3ffb500d63cf6baa3fde2020b7110b44dfe8e39b3964e0761c120e0738e76dafc3808d243e47f3f202a9b9acfc6ab5a2cf06998e19f38ed8a740182cf +DIST xmake-v2.8.6.tar.gz 2792484 BLAKE2B eee06090c260576cff3fca50998f0e912a41786eb65e1a67119194e0eb20956795eeff092dfa59d92989ad9fe8fc190eb6ce2a35653c54582652a3cb2e1202bd SHA512 86808a38dc6e28a44b64f9598b26eadb8d6314dc2ff14929eb7cbcd0c01172240dd8475e1e88f874abff651436536c7391ad2294fd57b261529dd4560b8c563b diff --git a/dev-util/xmake/xmake-2.7.9.ebuild b/dev-util/xmake/xmake-2.8.6.ebuild similarity index 61% rename from dev-util/xmake/xmake-2.7.9.ebuild rename to dev-util/xmake/xmake-2.8.6.ebuild index e02d4fa7a5..28e4782756 100644 --- a/dev-util/xmake/xmake-2.7.9.ebuild +++ b/dev-util/xmake/xmake-2.8.6.ebuild @@ -1,9 +1,9 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit optfeature +inherit bash-completion-r1 optfeature DESCRIPTION="A cross-platform build utility based on Lua" HOMEPAGE="https://xmake.io" @@ -17,7 +17,7 @@ else fi # tarball doesn't provide tests -RESTRICT="test strip" +RESTRICT="test" LICENSE="Apache-2.0" SLOT="0" @@ -38,13 +38,35 @@ DOCS=( NOTICE.md README.md README_zh.md ) -src_configure(){ +src_prepare() { + default + + # Don't strip binaries + sed -i 's/"-s"/""/' configure || die +} + +src_configure() { econf --prefix="${EPREFIX}"/usr \ --plat=linux # --plat=linux is necessary, which enables correct directory: # build/linux/ARCH other than build/ARCH/ARCH } +src_install() { + default + + doman scripts/man/* + + newbashcomp xmake/scripts/completions/register-completions.bash xmake + bashcomp_alias xmake xrepo + + insinto /usr/share/zsh/site-functions + newins xmake/scripts/completions/register-completions.zsh xmake.zsh + + insinto /usr/share/fish/vendor_completions.d + newins xmake/scripts/completions/register-completions.fish xmake.fish +} + pkg_postinst() { optfeature "cached compilation for your xmake projects" dev-util/ccache }