From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-python/pyexiv2/
Date: Thu, 17 Dec 2015 23:36:56 +0000 (UTC) [thread overview]
Message-ID: <1450395290.e07fe5b23618c6f420f76610dc42853ef97aa85e.sping@gentoo> (raw)
commit: e07fe5b23618c6f420f76610dc42853ef97aa85e
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Thu Dec 17 23:34:50 2015 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Thu Dec 17 23:34:50 2015 +0000
URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=e07fe5b2
dev-python/pyexiv2: 0.3.2
dev-python/pyexiv2/pyexiv2-0.3.2.ebuild | 55 +++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/dev-python/pyexiv2/pyexiv2-0.3.2.ebuild b/dev-python/pyexiv2/pyexiv2-0.3.2.ebuild
new file mode 100644
index 0000000..bd87d43
--- /dev/null
+++ b/dev-python/pyexiv2/pyexiv2-0.3.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils versionator scons-utils python-single-r1
+
+MY_PV=$(get_version_component_range 1-2)
+DESCRIPTION="Python binding to exiv2"
+HOMEPAGE="http://tilloy.net/dev/pyexiv2/"
+SRC_URI="http://launchpad.net/${PN}/${MY_PV}.x/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+DEPEND="
+ >=media-gfx/exiv2-0.20
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ >=dev-libs/boost-1.57[python,${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+_get_boostlib() {
+ python -c 'import sys; print ("boost_python-%d.%d" % sys.version_info[0:2])'
+}
+
+src_compile() {
+ escons BOOSTLIB="$(_get_boostlib)" lib
+ if use doc; then
+ escons doc
+
+ # To enable doins -r in src_install
+ rm -R doc/_build/.doctrees || die
+ fi
+}
+
+src_install() {
+ escons DESTDIR="${D}" BOOSTLIB="$(_get_boostlib)" install
+ dodoc NEWS README todo
+
+ if use examples; then
+ insinto /usr/share/${PN}/examples
+ doins src/*example*.py
+ fi
+
+ if use doc; then
+ docinto html
+ dodoc -r doc/html/*
+ fi
+ python_optimize
+}
next reply other threads:[~2015-12-17 23:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-17 23:36 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-17 22:26 [gentoo-commits] proj/betagarden:master commit in: dev-python/pyexiv2/ Sebastian Pipping
2015-06-08 15:05 Justin Lecher
2014-11-18 15:07 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=1450395290.e07fe5b23618c6f420f76610dc42853ef97aa85e.sping@gentoo \
--to=sping@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