Diff pv-1.7.24 with a pv-1.8.0
/usr/portage/sys-apps/pv/pv-1.8.0.ebuild 2023-10-09 14:52:35.400368499 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PLOCALES="de fr pl pt" |
|
7 |
PLOCALE_BACKUP="en" |
|
8 |
inherit linux-info toolchain-funcs plocale |
|
6 |
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/pv.asc |
|
7 |
inherit linux-info toolchain-funcs verify-sig |
|
9 | 8 | |
10 | 9 |
DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" |
11 |
HOMEPAGE="https://www.ivarch.com/programs/pv.shtml" |
|
12 |
SRC_URI="https://www.ivarch.com/programs/sources/${P}.tar.gz" |
|
10 |
HOMEPAGE="https://www.ivarch.com/programs/pv.shtml https://codeberg.org/a-j-wood/pv" |
|
11 |
SRC_URI=" |
|
12 |
https://www.ivarch.com/programs/sources/${P}.tar.gz |
|
13 |
verify-sig? ( https://www.ivarch.com/programs/sources/${P}.tar.gz.txt -> ${P}.tar.gz.asc ) |
|
14 |
" |
|
13 | 15 | |
14 |
LICENSE="Artistic-2" |
|
16 |
LICENSE="GPL-3+" |
|
15 | 17 |
SLOT="0" |
16 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
|
18 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
|
17 | 19 |
IUSE="debug nls" |
18 | 20 | |
19 |
DOCS=( README.md doc/NEWS.md doc/TODO.md ) |
|
21 |
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-pv )" |
|
20 | 22 | |
21 | 23 |
pkg_setup() { |
22 | 24 |
if use kernel_linux; then |
... | ... | |
26 | 28 |
fi |
27 | 29 |
} |
28 | 30 | |
29 |
src_prepare() { |
|
30 |
default |
|
31 | ||
32 |
sed -i configure -e 's|CFLAGS="-g -Wall"|:|g' || die |
|
33 | ||
34 |
# These should produce the same end result (working `pv`). |
|
35 |
sed -i \ |
|
36 |
-e 's:$(LD) $(LDFLAGS) -o:$(AR) rc:' \ |
|
37 |
autoconf/make/modules.mk~ || die |
|
38 | ||
39 |
disable_locale() { |
|
40 |
local locale=${1} |
|
41 |
sed -i configure -e "/ALL_LINGUAS=/s:${locale}::g" || die |
|
42 |
} |
|
43 | ||
44 |
plocale_find_changes src/nls '' '.po' |
|
45 |
plocale_for_each_disabled_locale disable_locale |
|
46 |
} |
|
47 | ||
48 | 31 |
src_configure() { |
49 | 32 |
tc-export AR |
50 | 33 | |
... | ... | |
54 | 37 |
} |
55 | 38 | |
56 | 39 |
src_test() { |
57 |
emake -Onone check |
|
40 |
# -j1: https://codeberg.org/a-j-wood/pv/issues/78 |
|
41 |
emake -Onone check -j1 |
|
58 | 42 |
} |