diff options
Diffstat (limited to 'sys-apps/pv')
-rw-r--r-- | sys-apps/pv/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/pv/pv-1.9.0.ebuild | 61 |
2 files changed, 64 insertions, 0 deletions
diff --git a/sys-apps/pv/Manifest b/sys-apps/pv/Manifest index 615c952c0ad3..2c745b68a5a8 100644 --- a/sys-apps/pv/Manifest +++ b/sys-apps/pv/Manifest @@ -4,8 +4,11 @@ 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.8.9.tar.gz 330129 BLAKE2B a8e8b567a0e9eed9fa9b938b5ef52623adda8907b26d6dc3664fb0e3c8bee193e615ad0f357f688a53fa0014d978bf98a157a072d0159e9aaded447d3e4b16e0 SHA512 d6e483d2cb5ef3def1df9c72774ab70a5210e7a45f165d3d1527f11366e7bbab57320f1987d460783eda94605a17c5ef2a027fa4a7e9d58b529f4b1b05ec07a8 DIST pv-1.8.9.tar.gz.asc 691 BLAKE2B 24640b3ba4d3306175f6e63d5efe86bc4a29da3b822417098f66892c0c59ddab713b202ebcc6e8fbe97de104b0583221ee12b4ef72adb2402912e3f799403e92 SHA512 ad4791b094caacc05485ee817c3162c65110c46bd7feaf06617fcf7d42c0d407e5696cf35ff881aa19340a13d02e04183c5e4db51cc68bb443fa524d9573ce57 +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 EBUILD pv-1.8.10.ebuild 1444 BLAKE2B 4bb7ee33330eebaf686740cd3f758c0cca05cb25a24189423c0407108067e450414551a9ee613892795f459b9bbd0c94edf6b05a92e2df32fe50685890bc0df3 SHA512 5c216a518312fb5134443a72c88195db67bfadf9a27f91ccf93343ffd834888105b7fad173efc1d1875d6ec29eb4a16a43f8deea4cf9ea5ffa162bc52d915cb6 EBUILD pv-1.8.12.ebuild 1436 BLAKE2B 9140edf0e52ee056673c1e656e238aefbc84a8369725f71eb580474c1ef4dd45d961838267b72e07cdb0dcc1c403165d387d43e7c31104d83dab77cedd15ac20 SHA512 ffc945675effac07424e01cd388160e39b97762015314df0e61de12ae7df5c854e451415e55c91bdd6e12001df24c6f4a13a76b126b901b3965dc87c95d57eba EBUILD pv-1.8.9.ebuild 1436 BLAKE2B 9140edf0e52ee056673c1e656e238aefbc84a8369725f71eb580474c1ef4dd45d961838267b72e07cdb0dcc1c403165d387d43e7c31104d83dab77cedd15ac20 SHA512 ffc945675effac07424e01cd388160e39b97762015314df0e61de12ae7df5c854e451415e55c91bdd6e12001df24c6f4a13a76b126b901b3965dc87c95d57eba +EBUILD pv-1.9.0.ebuild 1444 BLAKE2B 4bb7ee33330eebaf686740cd3f758c0cca05cb25a24189423c0407108067e450414551a9ee613892795f459b9bbd0c94edf6b05a92e2df32fe50685890bc0df3 SHA512 5c216a518312fb5134443a72c88195db67bfadf9a27f91ccf93343ffd834888105b7fad173efc1d1875d6ec29eb4a16a43f8deea4cf9ea5ffa162bc52d915cb6 EBUILD pv-9999.ebuild 1444 BLAKE2B 4bb7ee33330eebaf686740cd3f758c0cca05cb25a24189423c0407108067e450414551a9ee613892795f459b9bbd0c94edf6b05a92e2df32fe50685890bc0df3 SHA512 5c216a518312fb5134443a72c88195db67bfadf9a27f91ccf93343ffd834888105b7fad173efc1d1875d6ec29eb4a16a43f8deea4cf9ea5ffa162bc52d915cb6 MISC metadata.xml 318 BLAKE2B 784fb52623d9590f78551ca793501497ee0838584119a606a34c6ecd92b872b583e05a9da7ca979e30bba983dd4d5c8b499c1b764f23bf6fb22062b2a0b96200 SHA512 a8e06d0f2f20359e4a45c42a6db544c7efd08adc69843eaf2b1004003c4c03d1bf484214283016db560f1f6952104574287747f14bc42cfe4a184218d3783187 diff --git a/sys-apps/pv/pv-1.9.0.ebuild b/sys-apps/pv/pv-1.9.0.ebuild new file mode 100644 index 000000000000..89cf567ffe13 --- /dev/null +++ b/sys-apps/pv/pv-1.9.0.ebuild @@ -0,0 +1,61 @@ +# 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 + + # 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 +} + +src_configure() { + tc-export AR + + econf \ + $(use_enable debug debugging) \ + $(use_enable nls) +} + +src_test() { + emake -Onone check +} |