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 D3E2A158020 for ; Sat, 29 Oct 2022 11:03:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E7DAE07EF; Sat, 29 Oct 2022 11:03:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 2F36BE07E0 for ; Sat, 29 Oct 2022 11:03:07 +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 427E2340928 for ; Sat, 29 Oct 2022 11:03:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8759F692 for ; Sat, 29 Oct 2022 11:03:04 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1667041303.58620aa6f4a94072af5acf28c4b7fdb1581f1ec0.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/ncdu/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/ncdu/Manifest sys-fs/ncdu/ncdu-2.2.ebuild X-VCS-Directories: sys-fs/ncdu/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 58620aa6f4a94072af5acf28c4b7fdb1581f1ec0 X-VCS-Branch: master Date: Sat, 29 Oct 2022 11:03:04 +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: 1c3f4f17-85ad-4f4c-b85b-2203429523ae X-Archives-Hash: 13943cf0d0b2dcd7f944b16c83a9aa31 commit: 58620aa6f4a94072af5acf28c4b7fdb1581f1ec0 Author: Eric Joldasov getgoogleoff me> AuthorDate: Mon Oct 24 04:06:32 2022 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Sat Oct 29 11:01:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58620aa6 sys-fs/ncdu: add 2.2 Signed-off-by: Eric Joldasov getgoogleoff.me> Signed-off-by: Jakov Smolić gentoo.org> sys-fs/ncdu/Manifest | 1 + sys-fs/ncdu/ncdu-2.2.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/sys-fs/ncdu/Manifest b/sys-fs/ncdu/Manifest index d06211f34cc5..1515990d12c8 100644 --- a/sys-fs/ncdu/Manifest +++ b/sys-fs/ncdu/Manifest @@ -1,2 +1,3 @@ DIST ncdu-1.17.tar.gz 157187 BLAKE2B 7d36a648b8fb0a26d3b6bcc533ed8f510e7f37b3084cb585a0c785d73fd82f537e0f2f9493c3b56173eae1324255e7acf7617a1cd1614c92a3b7bf0d53b7d77f SHA512 aa2366797760f0c0b2bea866f0ae0446b8113e3ff6460192a4a42d4d888d473d7f37bc4acff6220fa86003bd96d71761168a2ae0ded36456072176a69564c775 DIST ncdu-2.1.2.tar.gz 52702 BLAKE2B fb64058bec2e8f286fa82e16986cddd9126e5c94d513740d48ff1c971e7ee95270fe6c1cfbbe240bb8e99fba4e3fd6d2624f99870422835da44447a2507f0b8b SHA512 ff48f2b9625e1aba29e5598051d16c4b5dc1a634fab897709226dd69d3b48031e6e62527c8514ec4753874d2d96800e538d6ad90b4a5f9851410d10579ccc67c +DIST ncdu-2.2.tar.gz 55903 BLAKE2B 568760748ec54b193f17e31fa285d95085389a4f8e1abfe8e5fe5e2d67b0ca221cb7ca94cba248206808d6369058384286de690338f67faee7ff18f09832ebd9 SHA512 d491976b5e19726afe856860e07974c9c70b161c96cd17960a9f36dbc6fc1a51fd3d84da2e22e21cd3d384ab004a7d248096212e762d1ad3849e2cf8a036fc19 diff --git a/sys-fs/ncdu/ncdu-2.2.ebuild b/sys-fs/ncdu/ncdu-2.2.ebuild new file mode 100644 index 000000000000..b1f2a22f2abc --- /dev/null +++ b/sys-fs/ncdu/ncdu-2.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="NCurses Disk Usage" +HOMEPAGE="https://dev.yorhel.nl/ncdu/" +SRC_URI="https://dev.yorhel.nl/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="sys-libs/ncurses:=[unicode(+)]" +RDEPEND="${DEPEND}" +BDEPEND=" + || ( ~dev-lang/zig-0.9.1 ~dev-lang/zig-bin-0.9.1 ) + virtual/pkgconfig +" + +# see https://github.com/ziglang/zig/issues/3382 +# For now, Zig doesn't support CFLAGS/LDFLAGS/etc. +QA_FLAGS_IGNORED="usr/bin/ncdu" + +src_test() { + zig build test || die "Tests failed" +} + +src_install() { + emake PREFIX="${ED}"/usr install + + dodoc README.md ChangeLog +}