Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
Date: Sat, 03 Apr 2021 19:53:39
Message-Id: 1617479583.1c93964f37902d409bd5bf8211bcf00c3c35770a.sam@gentoo
1 commit: 1c93964f37902d409bd5bf8211bcf00c3c35770a
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 3 19:46:02 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 3 19:53:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c93964f
7
8 net-libs/pacparser: eutils--
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-libs/pacparser/pacparser-1.3.7-r1.ebuild | 8 +++++---
13 1 file changed, 5 insertions(+), 3 deletions(-)
14
15 diff --git a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild
16 index 5c1ad492aa6..2991d284b66 100644
17 --- a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild
18 +++ b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild
19 @@ -1,11 +1,11 @@
20 -# Copyright 1999-2020 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=6
25
26 PYTHON_COMPAT=( python3_{7,8} )
27
28 -inherit eutils python-r1 toolchain-funcs
29 +inherit python-r1 toolchain-funcs
30
31 DESCRIPTION="Library to parse proxy auto-config files"
32 HOMEPAGE="http://pacparser.manugarg.com/"
33 @@ -22,7 +22,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
34
35 # spidermonkey-1.7.0 is bundled
36 # tested unbundling with spidermonkey-1.8* and 1.7
37 -# and got many failures : unbundling not worth.
38 +# and got many failures: unbundling not worth it.
39
40 src_prepare() {
41 default
42 @@ -52,11 +52,13 @@ src_test() {
43 src_install() {
44 emake DESTDIR="${ED}" LIB_PREFIX="${ED}/usr/$(get_libdir)" -C src install
45 dodoc README.md
46 +
47 if use python; then
48 python_foreach_impl emake DESTDIR="${D}" \
49 LIB_PREFIX="${D}/usr/$(get_libdir)" -C src install-pymod
50 python_foreach_impl python_optimize
51 fi
52 +
53 if use doc; then
54 docompress -x /usr/share/doc/${PF}/{html,examples}
55 else