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 7F8171382C5 for ; Wed, 20 May 2020 23:16:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93414E0A90; Wed, 20 May 2020 23:16:22 +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 7B1E4E0A90 for ; Wed, 20 May 2020 23:16:22 +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 509C534F2E0 for ; Wed, 20 May 2020 23:16:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF4C8238 for ; Wed, 20 May 2020 23:16:19 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1590016465.bf2139a403a2a06b21c17e6c12978d215fa39476.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ply/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ply/ply-2.1.1.ebuild X-VCS-Directories: dev-util/ply/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: bf2139a403a2a06b21c17e6c12978d215fa39476 X-VCS-Branch: master Date: Wed, 20 May 2020 23:16:19 +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: cba09215-c8d9-4380-b80a-97adfe59315f X-Archives-Hash: c370d3c917db758398e4eb92308f0013 commit: bf2139a403a2a06b21c17e6c12978d215fa39476 Author: Jakov Smolic sartura hr> AuthorDate: Wed May 20 22:25:59 2020 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed May 20 23:14:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf2139a4 dev-util/ply: add static-libs USE flag Closes: https://github.com/gentoo/gentoo/pull/15896 Closes: https://bugs.gentoo.org/724300 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Zac Medico gentoo.org> dev-util/ply/ply-2.1.1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-util/ply/ply-2.1.1.ebuild b/dev-util/ply/ply-2.1.1.ebuild index 3721bd7bdb0..55bfd433e22 100644 --- a/dev-util/ply/ply-2.1.1.ebuild +++ b/dev-util/ply/ply-2.1.1.ebuild @@ -12,6 +12,7 @@ SRC_URI="https://github.com/iovisor/ply/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="static-libs" pkg_pretend() { local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF @@ -29,4 +30,8 @@ src_prepare() { src_install() { default rm -f "${ED}/usr/share/doc/${P}/COPYING" + + if ! use static-libs; then + find "${D}" -type f -name '*.a' -delete || die + fi }