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 4A6E715800A for ; Fri, 28 Jul 2023 01:35:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5935CE09F0; Fri, 28 Jul 2023 01:35:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 390F5E09F0 for ; Fri, 28 Jul 2023 01:35:50 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31D76341377 for ; Fri, 28 Jul 2023 01:35:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2026BE70 for ; Fri, 28 Jul 2023 01:35:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1690508115.1851a3dad29e89bf8bbfd8fbdae261aeb43259fd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pv/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/pv/Manifest sys-apps/pv/pv-1.7.17.ebuild X-VCS-Directories: sys-apps/pv/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1851a3dad29e89bf8bbfd8fbdae261aeb43259fd X-VCS-Branch: master Date: Fri, 28 Jul 2023 01:35:46 +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: c3db8abe-cf04-421a-a1b8-8598eb978ed0 X-Archives-Hash: a3ae1e7ca1372ed65aecc3e9c3b6fcdd commit: 1851a3dad29e89bf8bbfd8fbdae261aeb43259fd Author: Sam James gentoo org> AuthorDate: Fri Jul 28 01:34:17 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jul 28 01:35:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1851a3da sys-apps/pv: add 1.7.17 Signed-off-by: Sam James gentoo.org> sys-apps/pv/Manifest | 1 + sys-apps/pv/pv-1.7.17.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/sys-apps/pv/Manifest b/sys-apps/pv/Manifest index 1e63935c250e..5479ab411eeb 100644 --- a/sys-apps/pv/Manifest +++ b/sys-apps/pv/Manifest @@ -1,2 +1,3 @@ DIST pv-1.6.20.tar.bz2 115310 BLAKE2B b50623f623231e8e8615f960bad83d10e12d5274c57d23ea843d16fce30b3e690284b2d9b01f82a16b9790e2bf26f80f560e226589a62ca677a2cf90ea007691 SHA512 e445f91b298ed285ddab54a3f8a6b5d5297e2e2eb8ad7b2ee2cbacca4adda9c6ca2bf3c77bf2a93373d3875c5b3b0b345d3945cbd91fc2647c6c25f1661a6752 DIST pv-1.7.0.tar.bz2 115665 BLAKE2B efdd0434d23fe1ed008224fe0fe5182684010a78650284e920b2cd93134f08e63172df0279b8a4b2c2c4dceb9dbdaa209e402394fb1c4c431d991225f579f718 SHA512 b90ddaa1f950b1b300f1721e5ab8bc2c7a0c46491e439ce33c7b74fd4525e730a99c218a874b3dae2dc3a8a5e0eb5c5add51f7c8be48d0c3d8f135df44779af8 +DIST pv-1.7.17.tar.bz2 133398 BLAKE2B e0167af81988225418c2647c7051910fd41ef1e631eb26ab56fa44449064f99f5cc90bf08143a9e1158d656d9cee234a9ca4924ff5d95fd1f4814d340499af47 SHA512 b6c347681d937492d575007df35a7b90cb9283537df2e2258742787626c7041f942322a3140c8976793b6ddcd9cb2ecdaa7bf6e02914f394ebf748e3f97b2f64 diff --git a/sys-apps/pv/pv-1.7.17.ebuild b/sys-apps/pv/pv-1.7.17.ebuild new file mode 100644 index 000000000000..e42a3b03fad0 --- /dev/null +++ b/sys-apps/pv/pv-1.7.17.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PLOCALES="de fr pl pt" +PLOCALE_BACKUP="en" +inherit linux-info toolchain-funcs plocale + +DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" +HOMEPAGE="https://www.ivarch.com/programs/pv.shtml" +SRC_URI="https://www.ivarch.com/programs/sources/${P}.tar.bz2" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="debug nls" + +DOCS=( README.md doc/NEWS.md doc/TODO.md ) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~SYSVIPC" + ERROR_SYSVIPC="You will need to enable CONFIG_SYSVIPC in your kernel to use the --remote option." + linux-info_pkg_setup + fi +} + +src_prepare() { + default + + sed -i configure -e 's|CFLAGS="-g -Wall"|:|g' || die + + # These should produce the same end result (working `pv`). + sed -i \ + -e 's:$(LD) $(LDFLAGS) -o:$(AR) rc:' \ + autoconf/make/modules.mk~ || die + + disable_locale() { + local locale=${1} + sed -i configure -e "/ALL_LINGUAS=/s:${locale}::g" || die + } + + plocale_find_changes src/nls '' '.po' + plocale_for_each_disabled_locale disable_locale +} + +src_configure() { + tc-export AR + + econf \ + $(use_enable debug debugging) \ + $(use_enable nls) +} + +src_test() { + emake -Onone check +}