From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-python/pyexiv2/
Date: Tue, 18 Nov 2014 15:07:15 +0000 (UTC) [thread overview]
Message-ID: <1416300548.a31fcb2c5595bee7c60213f7c3f96360ae9b50d7.jlec@gentoo> (raw)
commit: a31fcb2c5595bee7c60213f7c3f96360ae9b50d7
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 18 08:49:08 2014 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> 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 <jlec@gentoo.org> pyexiv2-0.3.0-r1.ebuild,
+ metadata.xml:
+ Bump to new python eclasses
+
27 Oct 2011; Justin Lecher <jlec@gentoo.org> 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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>sping@gentoo.org</email>
- <name>Sebastian Pipping</name>
- </maintainer>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
</pkgmetadata>
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
}
next reply other threads:[~2014-11-18 15:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-18 15:07 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-17 23:36 [gentoo-commits] proj/betagarden:master commit in: dev-python/pyexiv2/ Sebastian Pipping
2015-12-17 22:26 Sebastian Pipping
2015-06-08 15:05 Justin Lecher
2011-10-27 18:02 Justin Lecher
2011-05-22 19:38 Sebastian Pipping
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1416300548.a31fcb2c5595bee7c60213f7c3f96360ae9b50d7.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox