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 1F4D4138334 for ; Wed, 28 Aug 2019 19:41:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3849AE03EC; Wed, 28 Aug 2019 19:41:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1B4BEE03EC for ; Wed, 28 Aug 2019 19:41:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 93CA634A57A for ; Wed, 28 Aug 2019 19:41:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74F24779 for ; Wed, 28 Aug 2019 19:41:18 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1567021275.14de73d6ad30dd69cb1eee16eeedf96792c98a56.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mlt/mlt-6.16.0-r1.ebuild media-libs/mlt/mlt-6.16.0-r2.ebuild X-VCS-Directories: media-libs/mlt/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 14de73d6ad30dd69cb1eee16eeedf96792c98a56 X-VCS-Branch: master Date: Wed, 28 Aug 2019 19:41:18 +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: 0ae7795f-370b-4583-967b-898501e3c5ea X-Archives-Hash: 9bc31e49932f297d7597d38259c476d7 commit: 14de73d6ad30dd69cb1eee16eeedf96792c98a56 Author: Michał Górny gentoo org> AuthorDate: Wed Aug 28 17:56:34 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Aug 28 19:41:15 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14de73d6 media-libs/mlt: Fix installing Python & Ruby files Signed-off-by: Michał Górny gentoo.org> media-libs/mlt/mlt-6.16.0-r1.ebuild | 9 ++++----- media-libs/mlt/mlt-6.16.0-r2.ebuild | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/media-libs/mlt/mlt-6.16.0-r1.ebuild b/media-libs/mlt/mlt-6.16.0-r1.ebuild index 76fc970c222..dc4435ed360 100644 --- a/media-libs/mlt/mlt-6.16.0-r1.ebuild +++ b/media-libs/mlt/mlt-6.16.0-r1.ebuild @@ -209,17 +209,16 @@ src_install() { if use python; then cd "${S}"/src/swig/python || die - insinto $(python_get_sitedir) - doins mlt.py - exeinto $(python_get_sitedir) - doexe _mlt.so + python_domodule mlt.py _mlt.so + chmod +x "${D}$(python_get_sitedir)/_mlt.so" || die dodoc play.py python_optimize fi if use ruby; then cd "${S}"/src/swig/ruby || die - exeinto $("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') + local rubydir=$("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') + exeinto "${rubydir#${EPREFIX}}" doexe mlt.so dodoc play.rb thumbs.rb fi diff --git a/media-libs/mlt/mlt-6.16.0-r2.ebuild b/media-libs/mlt/mlt-6.16.0-r2.ebuild index 31ed25573ff..f509af5ceed 100644 --- a/media-libs/mlt/mlt-6.16.0-r2.ebuild +++ b/media-libs/mlt/mlt-6.16.0-r2.ebuild @@ -209,17 +209,16 @@ src_install() { if use python; then cd "${S}"/src/swig/python || die - insinto $(python_get_sitedir) - doins mlt.py - exeinto $(python_get_sitedir) - doexe _mlt.so + python_domodule mlt.py _mlt.so + chmod +x "${D}$(python_get_sitedir)/_mlt.so" || die dodoc play.py python_optimize fi if use ruby; then cd "${S}"/src/swig/ruby || die - exeinto $("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') + local rubydir=$("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') + exeinto "${rubydir#${EPREFIX}}" doexe mlt.so dodoc play.rb thumbs.rb fi