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 8B7BB138A6C for ; Tue, 18 Nov 2014 15:07:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61ACFE0971; Tue, 18 Nov 2014 15:07:21 +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 ED4C9E0979 for ; Tue, 18 Nov 2014 15:07:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C381340528 for ; Tue, 18 Nov 2014 15:07:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A82BA648 for ; Tue, 18 Nov 2014 15:07:15 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1416300548.a31fcb2c5595bee7c60213f7c3f96360ae9b50d7.jlec@gentoo> Subject: [gentoo-commits] proj/betagarden:master commit in: dev-python/pyexiv2/ X-VCS-Repository: proj/betagarden X-VCS-Files: dev-python/pyexiv2/ChangeLog dev-python/pyexiv2/metadata.xml dev-python/pyexiv2/pyexiv2-0.3.0-r1.ebuild X-VCS-Directories: dev-python/pyexiv2/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: a31fcb2c5595bee7c60213f7c3f96360ae9b50d7 X-VCS-Branch: master Date: Tue, 18 Nov 2014 15:07:15 +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: 83ded4eb-9ab3-4167-b84d-05f16869584e X-Archives-Hash: 4c9bb620ac99818455d1bd5850e14836 commit: a31fcb2c5595bee7c60213f7c3f96360ae9b50d7 Author: Justin Lecher gentoo org> AuthorDate: Tue Nov 18 08:49:08 2014 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue Nov 18 08:49:08 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=a31fcb2c dev-python/pyexiv2: Bump to new python eclasses Package-Manager: portage-2.2.14 --- dev-python/pyexiv2/ChangeLog | 6 ++++- dev-python/pyexiv2/metadata.xml | 8 +++--- dev-python/pyexiv2/pyexiv2-0.3.0-r1.ebuild | 39 +++++++++++++----------------- 3 files changed, 26 insertions(+), 27 deletions(-) diff --git a/dev-python/pyexiv2/ChangeLog b/dev-python/pyexiv2/ChangeLog index 0e43bc4..1fd7f7d 100644 --- a/dev-python/pyexiv2/ChangeLog +++ b/dev-python/pyexiv2/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for dev-python/pyexiv2 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 18 Nov 2014; Justin Lecher pyexiv2-0.3.0-r1.ebuild, + metadata.xml: + Bump to new python eclasses + 27 Oct 2011; Justin Lecher metadata.xml: Removed no-herd from herd tag in metadata.xml diff --git a/dev-python/pyexiv2/metadata.xml b/dev-python/pyexiv2/metadata.xml index 16bcc9f..3d7a619 100644 --- a/dev-python/pyexiv2/metadata.xml +++ b/dev-python/pyexiv2/metadata.xml @@ -1,8 +1,8 @@ - - sping@gentoo.org - Sebastian Pipping - + + sping@gentoo.org + Sebastian Pipping + diff --git a/dev-python/pyexiv2/pyexiv2-0.3.0-r1.ebuild b/dev-python/pyexiv2/pyexiv2-0.3.0-r1.ebuild index e2a8bf8..7dee8f0 100644 --- a/dev-python/pyexiv2/pyexiv2-0.3.0-r1.ebuild +++ b/dev-python/pyexiv2/pyexiv2-0.3.0-r1.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="3" -PYTHON_DEPEND="2:2.6" +EAPI=5 -inherit eutils versionator scons-utils python +PYTHON_COMPAT=( python2_7 ) + +inherit eutils versionator scons-utils python-r1 MY_PV=$(get_version_component_range 1-2) DESCRIPTION="Python binding to exiv2" @@ -17,9 +18,10 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc examples" -DEPEND=">=media-gfx/exiv2-0.20 - dev-python/sphinx - dev-libs/boost[python]" +DEPEND=" + >=media-gfx/exiv2-0.20 + dev-python/sphinx[${PYTHON_USEDEP}] + dev-libs/boost[python,${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" src_prepare() { @@ -27,9 +29,9 @@ src_prepare() { } src_compile() { - escons lib || die + escons lib if use doc; then - escons doc || die + escons doc # To enable doins -r in src_install rm -R doc/_build/.doctrees || die @@ -37,24 +39,17 @@ src_compile() { } src_install() { - escons DESTDIR="${D}" install || die - dodoc NEWS README todo || die + escons DESTDIR="${D}" install + dodoc NEWS README todo if use examples; then - insinto /usr/share/doc/${PF}/examples + insinto /usr/share/${PN}/examples doins src/*example*.py fi if use doc; then - insinto /usr/share/doc/${PF}/ - doins -r doc/html || die # no dohtml due to mixed content + docinto html + dodoc -r doc/html/* fi -} - -pkg_postinst() { - python_mod_optimize ${PN} -} - -pkg_postrm() { - python_mod_cleanup ${PN} + python_optimize }