diff options
author | Sam James <sam@gentoo.org> | 2024-12-13 11:44:53 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-13 11:45:10 +0000 |
commit | 833ee76e59bfdb3698ea20a736e38803087eb0ff (patch) | |
tree | 705c01cd419922783aea16f7853223380a62e7a4 | |
parent | app-misc/fastfetch: metadata: complete upstream tag (diff) | |
download | gentoo-833ee76e59bfdb3698ea20a736e38803087eb0ff.tar.gz gentoo-833ee76e59bfdb3698ea20a736e38803087eb0ff.tar.bz2 gentoo-833ee76e59bfdb3698ea20a736e38803087eb0ff.zip |
sys-apps/pv: add 1.9.15
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-apps/pv/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/pv/pv-1.9.15.ebuild | 56 | ||||
-rw-r--r-- | sys-apps/pv/pv-9999.ebuild | 9 |
3 files changed, 60 insertions, 7 deletions
diff --git a/sys-apps/pv/Manifest b/sys-apps/pv/Manifest index b86c5c3a7e4f..4ac5edd2efd0 100644 --- a/sys-apps/pv/Manifest +++ b/sys-apps/pv/Manifest @@ -2,5 +2,7 @@ DIST pv-1.8.12.tar.gz 328897 BLAKE2B 0de9376b6fd07e81229d281f7f1b7d64de27d4ed71d DIST pv-1.8.12.tar.gz.asc 691 BLAKE2B eef421c6ed950e6330f341d3b9c6f5223d9f7ea2030bccf8d41c48f4a11ea49dda5ba67ec2d7b7abed0dba79720ba26b3360aab57132e9e100af8700fe6f13f1 SHA512 453fedbaf70b1e2d837096427832c15d504c63fc67f3214bb263d7069d756ccf45f933cccdd7309f50a05493b84a7ca7bdeb8c03bcafd1c412a4889b98a11d10 DIST pv-1.9.0.tar.gz 369918 BLAKE2B 802dafdd2e354887d8ca73f42787e86941081aaf62cafc7032ee2fdd299683c1e8a764c4262c5ec7596bd6221d59435ce7b340614783cc72f241735a460e5013 SHA512 1085387fdf645ab14b4b83b006dbc09018e2e3cb89a585cc6b9d5c03e947ffd84d300fb0698bb8e4dfc918aa25f9453897a394791a6aa9caefa278e21b9acf35 DIST pv-1.9.0.tar.gz.asc 691 BLAKE2B 86b99c718935afdbbf2419b1363a385d1ca8afe81bc7fabea8b4b48dbe1c439a7cd4bb93a106608cb6916f9503fc0f32253867771f9b78feb24f5218d2f49f8f SHA512 d8fe557b690aa828a3a2af9b74397d00ab1b00b444890220b79991aa5161ec8cc5ca3701b37950ec07bc3382f6cbc1578bf6b2be1966c34313827c1eeaa79fc7 +DIST pv-1.9.15.tar.gz 401271 BLAKE2B 062bc326eae9b3f8a17eb3a453f5b5e5081eece1b7d7601aabe7ea6ffb6d4fff62ad1896b66990a54b7c6cd6baf080d0efefa4039947d88386c779e6e9ec7a90 SHA512 9a5174b3523e20f186689553e5004df35e38da9462a8f7376b6efce186e854ed8ef139c9e2d10944c20e478e5cfe80a7b67786d5e909ed1a9e40c9ca9fde474c +DIST pv-1.9.15.tar.gz.asc 691 BLAKE2B e29a55fc7a78b39135d1c53decdeb6ec553443dcceedb5886522e6c4914aa354d05754cc7ddbefc4a5b930a9d75d82b33827fd7ef070fcb45dcd512d882b4d98 SHA512 571302a27539e5cfd5179827f1a1881499febba99207461d750c3934f3dad21e5c396fd8db7179e170ce5ab2239f5332517c63e2c43160428a86f875ae29a34a DIST pv-1.9.7.tar.gz 381407 BLAKE2B 2f026d187264900ac24c644c66e0a6ed14b097e76eab8795f6549bce9362e13ebeef476e2dbd0e4ddcfaf4fed251ad8fee74de199807b4bd0b1251b7e8cee7dd SHA512 3a5fcc18ea2fb1566cb68b6b6b8638a489d42f7f38fd1ddcf60898809ade5dbe618ba3ef91b2dd246b2bfcbbc0b5b088f3c5a1b384741e88336fe55c514fb396 DIST pv-1.9.7.tar.gz.asc 691 BLAKE2B 46cdbb0a3357727476d57bfc9394f1ddfdcae46bcc92c0d6f87050543a8fcf23664b24b562f5d847cb3c69d73d35435fc9b16ddfce0c026ae67822ff6fc74307 SHA512 f27e0eba60292a7171d11e3cdc35dc7a10d7088223f3ed216fa2659093ce8552e9a301172af23c8845cd3e284e21c036557a8cd565c1efc46bfef70acdc85259 diff --git a/sys-apps/pv/pv-1.9.15.ebuild b/sys-apps/pv/pv-1.9.15.ebuild new file mode 100644 index 000000000000..a97a3f9665b7 --- /dev/null +++ b/sys-apps/pv/pv-1.9.15.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 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://www.ivarch.com/programs/pv.shtml https://codeberg.org/a-j-wood/pv" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://codeberg.org/a-j-wood/pv" + inherit autotools git-r3 +else + SRC_URI=" + https://www.ivarch.com/programs/sources/${P}.tar.gz + verify-sig? ( https://www.ivarch.com/programs/sources/${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 nls" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-pv )" + +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_enable nls) +} + +src_test() { + # Valgrind is unreliable within sandbox + local -x SKIP_VALGRIND_TESTS=1 + emake -Onone check +} diff --git a/sys-apps/pv/pv-9999.ebuild b/sys-apps/pv/pv-9999.ebuild index 89cf567ffe13..a97a3f9665b7 100644 --- a/sys-apps/pv/pv-9999.ebuild +++ b/sys-apps/pv/pv-9999.ebuild @@ -38,13 +38,6 @@ pkg_setup() { src_prepare() { default - # Valgrind isn't reliable within sandbox. - cat <<-EOF > tests/run-valgrind.sh || die - #!/bin/sh - exit 77 - EOF - chmod +x tests/run-valgrind.sh || Die - [[ ${PV} == 9999 ]] && eautoreconf } @@ -57,5 +50,7 @@ src_configure() { } src_test() { + # Valgrind is unreliable within sandbox + local -x SKIP_VALGRIND_TESTS=1 emake -Onone check } |