From f7d8c46f0abf3ab319cabc591fcfd39db3f2c2ec Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 3 Nov 2025 07:12:39 +0000 Subject: [PATCH] sys-apps/pv: Sync with Gentoo It's from Gentoo commit e450eba8f0a76e18d7eaf2914fc1971d34e9f2bc. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/pv/Manifest | 2 + .../sys-apps/pv/pv-1.9.44.ebuild | 59 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.44.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pv/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/pv/Manifest index 955617938e..20fc6a9e1b 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/pv/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pv/Manifest @@ -4,3 +4,5 @@ DIST pv-1.9.34.tar.gz 416551 BLAKE2B aa2d56408a96de9b472a3ef5215a270c3c993543dc7 DIST pv-1.9.34.tar.gz.asc 691 BLAKE2B 0bb824f3f8352ab3c32d9df273780039eb81b8bf40f4f90cede5a121cccdd5370a1769da0bfe09735b80a59a75bb4ac3cbd5008bc0fa99c40077cae2dd64cf14 SHA512 8f0b7989b3e8d00b5147fa5ad37e3823b99edd9586210f73fcf553b95c7d2114843ff1c7445ac757689c1eca4cc5920fb86417733fba722bc287c66885e98a33 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 +DIST pv-1.9.44.tar.gz 428337 BLAKE2B a628c80b837cfcb8e83ddb9107e881ea0dd7434f2d99c3051515896a68f900b967ca40ccca28c884cb2501b5829d79d05ed91c4bf632dea5b86e121a16cb4bf0 SHA512 dbd4ea362547419ede9035146e6d8dc890a605a991cf25509d73d7a67e2597a112d196298021e5923d0050735fdf743c7c99467914ec1a7af537f9ab1215e2df +DIST pv-1.9.44.tar.gz.asc 691 BLAKE2B f31cc7557527cc163efaa0b4df71e4163919551489e870a1618616eeee033cb5755053427547cefe6ad3477a079b8de6a83ea94af8220948ffca634ce85cfb2c SHA512 d5a9f44598f576c87fdc1ed6947a2b0c247f4b18961d673d045a28f214b6a8a2d6f5c17fd46d2e292b36d3acc0ff5e724d8473a90b494b9f8ad042d97d1f1aa1 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.44.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.44.ebuild new file mode 100644 index 0000000000..718c9249a2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.44.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 +}