From 7872176b3cb6c7f29d9ee897a6ff6d7e8c012d42 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 13 Oct 2025 07:12:11 +0000 Subject: [PATCH] sys-apps/pv: Sync with Gentoo It's from Gentoo commit bb91b362a025616dc7f3d1d466b902f9f484d06c. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/pv/Manifest | 2 + .../portage-stable/sys-apps/pv/metadata.xml | 2 +- .../sys-apps/pv/pv-1.9.31.ebuild | 4 +- .../sys-apps/pv/pv-1.9.34.ebuild | 2 +- .../sys-apps/pv/pv-1.9.42.ebuild | 59 +++++++++++++++++++ .../portage-stable/sys-apps/pv/pv-9999.ebuild | 4 +- 6 files changed, 67 insertions(+), 6 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.42.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 a8fbec75a3..955617938e 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 @@ -2,3 +2,5 @@ DIST pv-1.9.31.tar.gz 417551 BLAKE2B 6018abe674834f45312faa5ce07b49e11258e29fffc 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 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 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pv/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-apps/pv/metadata.xml index 11cd72aff5..28c1111298 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/pv/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pv/metadata.xml @@ -6,6 +6,6 @@ Sam James - a-j-wood/pv + ivarch/pv diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.31.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.31.ebuild index 3aa589acc3..1e973ddc14 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.31.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.31.ebuild @@ -7,10 +7,10 @@ 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://www.ivarch.com/programs/pv.shtml https://codeberg.org/a-j-wood/pv" +HOMEPAGE="https://www.ivarch.com/programs/pv.shtml https://codeberg.org/ivarch/pv" if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://codeberg.org/a-j-wood/pv" + EGIT_REPO_URI="https://codeberg.org/ivarch/pv" inherit autotools git-r3 else SRC_URI=" diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.34.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.34.ebuild index f97acc81f9..a0768d49f3 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.34.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.34.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a p HOMEPAGE="https://ivarch.com/p/pv https://codeberg.org/ivarch/pv" if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://codeberg.org/a-j-wood/pv" + EGIT_REPO_URI="https://codeberg.org/ivarch/pv" inherit autotools git-r3 else SRC_URI=" diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.42.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.42.ebuild new file mode 100644 index 0000000000..718c9249a2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.9.42.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 +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-9999.ebuild index b66bc7a457..718c9249a2 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-9999.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a p HOMEPAGE="https://ivarch.com/p/pv https://codeberg.org/ivarch/pv" if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://codeberg.org/a-j-wood/pv" + EGIT_REPO_URI="https://codeberg.org/ivarch/pv" inherit autotools git-r3 else SRC_URI=" @@ -27,7 +27,7 @@ IUSE="debug ncurses nls" RDEPEND="ncurses? ( sys-libs/ncurses:= )" DEPEND="${RDEPEND}" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-pv )" +BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-pv-20251012 )" pkg_setup() { if use kernel_linux; then