From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 169D013835B for ; Sat, 3 Apr 2021 19:53:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69517E086D; Sat, 3 Apr 2021 19:53:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4AECAE086D for ; Sat, 3 Apr 2021 19:53:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33E8F340AB3 for ; Sat, 3 Apr 2021 19:53:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4FCE64A for ; Sat, 3 Apr 2021 19:53:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1617479583.1c93964f37902d409bd5bf8211bcf00c3c35770a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/pacparser/pacparser-1.3.7-r1.ebuild X-VCS-Directories: net-libs/pacparser/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1c93964f37902d409bd5bf8211bcf00c3c35770a X-VCS-Branch: master Date: Sat, 3 Apr 2021 19:53:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b10c4f5a-6122-47af-9ce5-af57b9d6b6bb X-Archives-Hash: c8affec163eaf64e1ad389fbaa6528c3 commit: 1c93964f37902d409bd5bf8211bcf00c3c35770a Author: Sam James gentoo org> AuthorDate: Sat Apr 3 19:46:02 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 3 19:53:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c93964f net-libs/pacparser: eutils-- Signed-off-by: Sam James gentoo.org> net-libs/pacparser/pacparser-1.3.7-r1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild index 5c1ad492aa6..2991d284b66 100644 --- a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild +++ b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python3_{7,8} ) -inherit eutils python-r1 toolchain-funcs +inherit python-r1 toolchain-funcs DESCRIPTION="Library to parse proxy auto-config files" HOMEPAGE="http://pacparser.manugarg.com/" @@ -22,7 +22,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # spidermonkey-1.7.0 is bundled # tested unbundling with spidermonkey-1.8* and 1.7 -# and got many failures : unbundling not worth. +# and got many failures: unbundling not worth it. src_prepare() { default @@ -52,11 +52,13 @@ src_test() { src_install() { emake DESTDIR="${ED}" LIB_PREFIX="${ED}/usr/$(get_libdir)" -C src install dodoc README.md + if use python; then python_foreach_impl emake DESTDIR="${D}" \ LIB_PREFIX="${D}/usr/$(get_libdir)" -C src install-pymod python_foreach_impl python_optimize fi + if use doc; then docompress -x /usr/share/doc/${PF}/{html,examples} else