commit: 65deeb1bc67fcbef6f481222a9bcdf7b4b6f6543 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Nov 9 04:43:25 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Nov 9 04:43:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65deeb1b
sys-apps/pv: add 1.10.0 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/pv/Manifest | 2 ++ sys-apps/pv/pv-1.10.0.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/sys-apps/pv/Manifest b/sys-apps/pv/Manifest index 20fc6a9e1bb6..8f3d76bbc518 100644 --- a/sys-apps/pv/Manifest +++ b/sys-apps/pv/Manifest @@ -1,3 +1,5 @@ +DIST pv-1.10.0.tar.gz 419674 BLAKE2B 64e27b693cfd9ec5186a0414f5e38a79958ce3cff0788b1af1209b3097bbb93ba7297a3686322d0a9d76041eca9a008a8e58502ef1068602f646ac83c487e13b SHA512 134dd070d25f3583f8852844148da886d7b4092f076dbeb1949e77237687fad0135a10249e9220ae9ab863f4eb7fbbe1c2ed96c42dec3b5c35b7b0d563a75e68 +DIST pv-1.10.0.tar.gz.asc 691 BLAKE2B 5e200ad6c7329bb59252d08485f65830875fe1fcbba85f89d35c4160e1f7f521153408f6bc425997e42ddde1c0d9fcb8c10ec0c6b22796145fa883a46f29063f SHA512 2eda30440a1f660c5827c3e206feda9f0213ea133a1061f89faac63d46a906926d810abd386d2c245dbfaf2340e8761310875bae3db1cc3d8530b8fdf38a6684 DIST pv-1.9.31.tar.gz 417551 BLAKE2B 6018abe674834f45312faa5ce07b49e11258e29fffc11d88ce73f50ae58c47e94defa3d5d819099a6909610e7423d9e42a8ce939fa39fe476cdbf35e89aa0112 SHA512 63cdc6223cde4f3f0daf47b5808a3f72a9cfaf2c05751e971a99d9dd3df2f36430958213c023931f428c87341a5f6c1f3772f30ca992123ea4c2a2e48000ff1d DIST pv-1.9.31.tar.gz.asc 691 BLAKE2B 7b5b998341db887b14c56fc080d87cb4abb186b4df2c8def638822889a734436fe0c4c132396415bbc0dcb0754f76d0456bb667533ef7ed92ed0c09a62522e8b SHA512 549a3bb3f4f404b3a6e407663ba335e3d4e14303185654771c974335ed5e7ac46dbba71bbf4f26e640217829e58a0da8d6fa139b02f426b60ab074ec97084374 DIST pv-1.9.34.tar.gz 416551 BLAKE2B aa2d56408a96de9b472a3ef5215a270c3c993543dc72b980948ffd2f6f6181bf69beaf911df284ea934c43d5053ada57a35e3dc43de08a184dca89fa75e945e5 SHA512 c590e376d33f49d8bb0d4463a54bb8c5a8dd25737f2d413f83c53c64cf6cb6d5ad977ff907fb6a8d8004ee371d35de08d3a5fb312b07a6c7237565e0bc55a104 diff --git a/sys-apps/pv/pv-1.10.0.ebuild b/sys-apps/pv/pv-1.10.0.ebuild new file mode 100644 index 000000000000..718c9249a223 --- /dev/null +++ b/sys-apps/pv/pv-1.10.0.ebuild @@ -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 +}
