From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 143571397F2 for ; Fri, 21 Aug 2015 12:55:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64D58E081C; Fri, 21 Aug 2015 12:55:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E083AE081C for ; Fri, 21 Aug 2015 12:55:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2668D340875 for ; Fri, 21 Aug 2015 12:38:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C17F8124 for ; Fri, 21 Aug 2015 12:38:30 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1440160699.8c1f6fc465f21fc07e40925bd835695eebf63ae9.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mlt/mlt-0.9.8.ebuild X-VCS-Directories: media-libs/mlt/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 8c1f6fc465f21fc07e40925bd835695eebf63ae9 X-VCS-Branch: master Date: Fri, 21 Aug 2015 12:38: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-Archives-Salt: a6ed54d7-d1d0-4e42-ac80-ba4f48dbc30b X-Archives-Hash: bf89ad39103397a9d9c0d3946af4354e commit: 8c1f6fc465f21fc07e40925bd835695eebf63ae9 Author: Alexis Ballier gentoo org> AuthorDate: Fri Aug 21 12:38:19 2015 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Fri Aug 21 12:38:19 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1f6fc4 media-libs/mlt: convert to python-single-r1 Package-Manager: portage-2.2.20.1 media-libs/mlt/mlt-0.9.8.ebuild | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/media-libs/mlt/mlt-0.9.8.ebuild b/media-libs/mlt/mlt-0.9.8.ebuild index 3f52506..e7ec6d2 100644 --- a/media-libs/mlt/mlt-0.9.8.ebuild +++ b/media-libs/mlt/mlt-0.9.8.ebuild @@ -3,8 +3,8 @@ # $Id$ EAPI=5 -PYTHON_DEPEND="python? 2:2.6" -inherit eutils toolchain-funcs multilib python +PYTHON_COMPAT=( python2_7 ) +inherit eutils toolchain-funcs multilib python-single-r1 DESCRIPTION="An open source multimedia framework, designed and developed for television broadcasting" HOMEPAGE="http://www.mltframework.org/" @@ -60,7 +60,7 @@ DEPEND="${RDEPEND} compressed-lumas? ( || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[imagemagick,png] ) ) lua? ( ${SWIG_DEPEND} virtual/pkgconfig ) - python? ( ${SWIG_DEPEND} ) + python? ( ${SWIG_DEPEND} ${PYTHON_DEPS} ) ruby? ( ${SWIG_DEPEND} )" # java? ( ${SWIG_DEPEND} >=virtual/jdk-1.5 ) # perl? ( ${SWIG_DEPEND} ) @@ -68,8 +68,7 @@ DEPEND="${RDEPEND} # tcl? ( ${SWIG_DEPEND} ) pkg_setup() { - python_set_active_version 2 - python_pkg_setup + python-single-r1_pkg_setup } src_prepare() { @@ -164,6 +163,7 @@ src_install() { exeinto $(python_get_sitedir) doexe _mlt.so dodoc play.py + python_optimize fi if use ruby; then @@ -174,15 +174,3 @@ src_install() { fi # TODO: java perl php tcl } - -pkg_postinst() { - if use python; then - python_mod_optimize mlt.py - fi -} - -pkg_postrm() { - if use python; then - python_mod_cleanup mlt.py - fi -}