From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1538353-garchives=archives.gentoo.org@lists.gentoo.org> 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 66AFA15801B for <garchives@archives.gentoo.org>; Mon, 17 Jul 2023 21:56:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65D0FE08AD; Mon, 17 Jul 2023 21:56:05 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4FE6EE08AE for <gentoo-commits@lists.gentoo.org>; Mon, 17 Jul 2023 21:56:05 +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 7AC1E335CF4 for <gentoo-commits@lists.gentoo.org>; Mon, 17 Jul 2023 21:56:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5167FB89 for <gentoo-commits@lists.gentoo.org>; Mon, 17 Jul 2023 21:56:02 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1689630926.9e35749eaf007ed8543c6c3eb8eb7ac11e207a7d.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.0.ebuild X-VCS-Directories: sys-apps/pv/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9e35749eaf007ed8543c6c3eb8eb7ac11e207a7d X-VCS-Branch: master Date: Mon, 17 Jul 2023 21:56:02 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 52d7507e-c911-4ac2-8c4a-f2a8a6a207f5 X-Archives-Hash: a15f3a0b9d7ce9538a0ca4e16074d1ac commit: 9e35749eaf007ed8543c6c3eb8eb7ac11e207a7d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Jul 17 21:55:26 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jul 17 21:55:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e35749e sys-apps/pv: add 1.7.0 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/pv/Manifest | 1 + sys-apps/pv/pv-1.7.0.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/sys-apps/pv/Manifest b/sys-apps/pv/Manifest index 57d6f41631aa..1e63935c250e 100644 --- a/sys-apps/pv/Manifest +++ b/sys-apps/pv/Manifest @@ -1 +1,2 @@ DIST pv-1.6.20.tar.bz2 115310 BLAKE2B b50623f623231e8e8615f960bad83d10e12d5274c57d23ea843d16fce30b3e690284b2d9b01f82a16b9790e2bf26f80f560e226589a62ca677a2cf90ea007691 SHA512 e445f91b298ed285ddab54a3f8a6b5d5297e2e2eb8ad7b2ee2cbacca4adda9c6ca2bf3c77bf2a93373d3875c5b3b0b345d3945cbd91fc2647c6c25f1661a6752 +DIST pv-1.7.0.tar.bz2 115665 BLAKE2B efdd0434d23fe1ed008224fe0fe5182684010a78650284e920b2cd93134f08e63172df0279b8a4b2c2c4dceb9dbdaa209e402394fb1c4c431d991225f579f718 SHA512 b90ddaa1f950b1b300f1721e5ab8bc2c7a0c46491e439ce33c7b74fd4525e730a99c218a874b3dae2dc3a8a5e0eb5c5add51f7c8be48d0c3d8f135df44779af8 diff --git a/sys-apps/pv/pv-1.7.0.ebuild b/sys-apps/pv/pv-1.7.0.ebuild new file mode 100644 index 000000000000..d13550cbb754 --- /dev/null +++ b/sys-apps/pv/pv-1.7.0.ebuild @@ -0,0 +1,64 @@ +# 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 flag-o-matic 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 ) + +QA_CONFIG_IMPL_DECL_SKIP=( + stat64 # See https://github.com/a-j-wood/pv/issues/69 +) + +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 + + sed -i -e 's:usleep 200000 || ::g' tests/019-remote-cksum || 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 + + # Workaround for https://github.com/a-j-wood/pv/issues/69 + append-lfs-flags + + econf \ + --enable-lfs \ + $(use_enable debug debugging) \ + $(use_enable nls) +}