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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 73E4C158091 for ; Mon, 6 Jun 2022 09:06:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C774E0798; Mon, 6 Jun 2022 09:06:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 583F4E0798 for ; Mon, 6 Jun 2022 09:06:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2D9A73419A0 for ; Mon, 6 Jun 2022 09:06:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CB147F for ; Mon, 6 Jun 2022 09:06:32 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1654506356.ce8dff7b588f34e699865ef55e35066ae9e0bf3e.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/libredwg/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/libredwg/libredwg-0.12.5-r1.ebuild X-VCS-Directories: media-gfx/libredwg/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: ce8dff7b588f34e699865ef55e35066ae9e0bf3e X-VCS-Branch: master Date: Mon, 6 Jun 2022 09:06:32 +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: 09009c0a-0992-4133-afa3-3b94f4b6fda4 X-Archives-Hash: 03aadba3bf3f0e2d92bc9d552b1e9e7b commit: ce8dff7b588f34e699865ef55e35066ae9e0bf3e Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Jun 6 09:05:56 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Jun 6 09:05:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8dff7b media-gfx/libredwg: do not die if use ! python Closes: https://bugs.gentoo.org/849026 Signed-off-by: Andrew Ammerlaan gentoo.org> media-gfx/libredwg/libredwg-0.12.5-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild index a1d3d185df43..677d324e8fe6 100644 --- a/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild +++ b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild @@ -106,6 +106,8 @@ src_install() { # remove .la files if static-libs disabled if ! use static-libs; then rm "${ED}/usr/$(get_libdir)/libredwg.la" || die - use python && rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die + if use python; then + rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die + fi fi }