sys-apps/pv: add 1.10.3

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-12-16 09:55:02 +00:00
parent 91ae95a4f7
commit fd13e17830
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 61 additions and 0 deletions

View File

@ -1,4 +1,6 @@
DIST pv-1.10.2.tar.gz 427370 BLAKE2B bb139aef5de446515ffb563f6581eab6a6bc180e2ad50c42ddf43d60e308911603ec1d552e4ee4d091aa50a2803e9029fc897a76f30465eec57209b5f5477fb3 SHA512 383a63c0f4678ca70358abba78cb46fa229df56a17f32b2e85a1cbc6f5268d777b5187d654fdfdb585e3c44f015dd52dc7a083e86e6b4dfd49c1d276f59dfef4
DIST pv-1.10.2.tar.gz.asc 691 BLAKE2B 88e583b277e5e6d8dbcc2d741c4606244f4a8de8e61aa83b3f834fc11bcf1315c485c937559aff6ad2789c5fd6aae268fc0f619fd1feeade46352fa6d002d813 SHA512 8bc3bb21c5daa1adbdc8b04cb699e6cb62c47a9c3b4167485cf6f0f8b920dba5c3fdcb0cbf2fdfe59339927c4e1595b04a9271f4ddd585462cb3b859bf5f69c0
DIST pv-1.10.3.tar.gz 427463 BLAKE2B 29ccafa12fbed54cffc54b515794595f8efeb71f09524b431219e5050a052ffaa998ebbea19d4f7dd28556229b0246fc1e352bfbbbc7ab290185c3530a47ab43 SHA512 19d48f004cf06e36b1157c701afb4612a3a38997d74195cf9e79250cda085d4bf724d954504c4d88368a6af099a9eaa872da33e96848bbdce325f52ad40e6947
DIST pv-1.10.3.tar.gz.asc 691 BLAKE2B 11785a09dd2736ca738cd955bb9323ca4aeb975158f0e5d088796202e8ee55058fae3a47166f9be477b18722f41bd899273fec0befc47e1a0ce4cb909e2f402c SHA512 ab457e451c1e3c7ce26d5a5911202327170086d0fd909ff86a84a5c111f71bc3f098bd56f55840fa644df0c354554b03e338f50ed48d15543947f42028b958d6
DIST pv-1.9.42.tar.gz 425511 BLAKE2B f523605491faca77591d84c092663edcf5c3f7a3717676fb1ad282d0768553a444dc97a8adadd8ca32c264978471c3c60c44667679e733251bf7f9b59779de30 SHA512 be21370c7cb18cb68f5a63db6f0a4c5c36efd007675df29af06017f9dfd1e416270cbe733792015a3d3ae0f5165a27e1a6dfce6abebbf0581c50cbb66ef2d9c7
DIST pv-1.9.42.tar.gz.asc 691 BLAKE2B 2f107e4520554629ee6be60e6145f3219a34db7b0b73081d3c86080834458eae3f9a90d4cc364dab5f9218c403f65a7d42a419b1520269a7bb5cc0884f5affbb SHA512 a0ca0dcb383036c433c202dd7c9dbd24d60e00e7bbfe6945a5868f629bf856cebfb5564b51532d67e8c241646243354be9cc7e5a313714b9d9ea478ee5853719

View File

@ -0,0 +1,59 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/pv.asc
inherit linux-info toolchain-funcs verify-sig
DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe"
HOMEPAGE="https://ivarch.com/p/pv https://codeberg.org/ivarch/pv"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://codeberg.org/ivarch/pv"
inherit autotools git-r3
else
SRC_URI="
https://ivarch.com/s/${P}.tar.gz
verify-sig? ( https://ivarch.com/s/${P}.tar.gz.txt -> ${P}.tar.gz.asc )
"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
fi
LICENSE="GPL-3+"
SLOT="0"
IUSE="debug ncurses nls"
RDEPEND="ncurses? ( sys-libs/ncurses:= )"
DEPEND="${RDEPEND}"
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-pv-20251012 )"
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
[[ ${PV} == 9999 ]] && eautoreconf
}
src_configure() {
tc-export AR
econf \
$(use_enable debug debugging) \
$(use_with ncurses) \
$(use_enable nls)
}
src_test() {
# Valgrind is unreliable within sandbox
local -x SKIP_VALGRIND_TESTS=1
emake -Onone check
}