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 BEFE8139360 for ; Thu, 5 Aug 2021 20:03:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3738E0841; Thu, 5 Aug 2021 20:03:30 +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 9C16FE0841 for ; Thu, 5 Aug 2021 20:03:30 +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 AA573342B72 for ; Thu, 5 Aug 2021 20:03:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20524737 for ; Thu, 5 Aug 2021 20:03:27 +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: <1628193797.9b2f3b57ddb70eae97638808bf20468d24192854.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mlt/mlt-7.0.1.ebuild X-VCS-Directories: media-libs/mlt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9b2f3b57ddb70eae97638808bf20468d24192854 X-VCS-Branch: master Date: Thu, 5 Aug 2021 20:03:27 +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: e9df6bef-2eab-43de-8aa9-99bb7ac197fa X-Archives-Hash: 224f274434d41bf7f55a8e97ea51d66d commit: 9b2f3b57ddb70eae97638808bf20468d24192854 Author: Felix Neumärker posteo de> AuthorDate: Thu Aug 5 06:59:48 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Aug 5 20:03:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b2f3b57 media-libs/mlt: fix build for USE=python Closes: https://bugs.gentoo.org/806484 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Felix Neumärker posteo.de> Closes: https://github.com/gentoo/gentoo/pull/21889 Signed-off-by: Sam James gentoo.org> media-libs/mlt/mlt-7.0.1.ebuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/media-libs/mlt/mlt-7.0.1.ebuild b/media-libs/mlt/mlt-7.0.1.ebuild index eade05410aa..c2028151188 100644 --- a/media-libs/mlt/mlt-7.0.1.ebuild +++ b/media-libs/mlt/mlt-7.0.1.ebuild @@ -144,7 +144,8 @@ src_configure() { # Not done: java perl php ruby tcl # Handled separately: lua for i in python; do - use ${i} && mycmakeargs+=( -DSWIG_${i}=ON ) + # bug #806484 wrt capitalisation + use ${i} && mycmakeargs+=( -DSWIG_${i^^}=ON ) done cmake_src_configure @@ -196,12 +197,7 @@ src_install() { fi if use python; then - cd "${S}"/src/swig/python || die - - python_domodule mlt.py _mlt.so - chmod +x "${D}$(python_get_sitedir)/_mlt.so" || die - dodoc play.py - + dodoc "${S}"/src/swig/python/play.py python_optimize fi