dcallagh-exheres

My personal Exherbo repository
git clone https://code.djc.id.au/git/dcallagh-exheres/
commit 51151814447f762424dd5657997d96160a9ee261
parent d18a586f99c25aace7a6ec59cb36cb914f6e024c
Author: Dan Callaghan <djc@djc.id.au>
Date:   Mon,  2 May 2011 12:36:50 +1000

initial exheres for pyexiv2

Diffstat:
Apackages/dev-python/pyexiv2/pyexiv2-0.3.0.exheres-0 | 38++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+), 0 deletions(-)
diff --git a/packages/dev-python/pyexiv2/pyexiv2-0.3.0.exheres-0 b/packages/dev-python/pyexiv2/pyexiv2-0.3.0.exheres-0
@@ -0,0 +1,38 @@
+# Copyright 2011 Dan Callaghan <djc@djc.id.au>
+# Distributed under the terms of the GNU General Public License v2
+
+LAUNCHPAD_BRANCH=$(ever range 1-2).x
+LAUNCHPAD_PV=${PV%.0}
+require launchpad [ suffix=tar.bz2 branch=${LAUNCHPAD_BRANCH} pv=${LAUNCHPAD_PV} pnv=${PNV} ] scons python [ python_dep=2.6 ]
+
+SUMMARY="Python bindings for libexiv2, photo metadata library"
+DESCRIPTION="
+pyexiv2 is a Python binding to exiv2, the C++ library for manipulation of EXIF, IPTC and XMP image 
+metadata. It is a python module that allows your python scripts to read and write metadata (EXIF, 
+IPTC, XMP, thumbnails) embedded in image files (JPEG, TIFF, ...). It is designed as a high-level 
+interface to the functionalities offered by libexiv2. Using python's built-in data types and 
+standard modules, it provides easy manipulation of image metadata.
+"
+HOMEPAGE="http://tilloy.net/dev/pyexiv2/"
+
+LICENCES="GPL-2"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+DEPENDENCIES="
+    build+run:
+        graphics/exiv2[>=0.19]
+        dev-libs/boost[>=1.38]
+"
+
+BUGS_TO="djc@djc.id.au"
+
+src_test() {
+    escons test
+}
+
+src_install() {
+    scons_src_install
+    emagicdocs
+    python_bytecompile
+}