packages/dev-python/pyexiv2/pyexiv2-0.3.0.exheres-0 (1162B) - raw
1 # Copyright 2011 Dan Callaghan <djc@djc.id.au> 2 # Distributed under the terms of the GNU General Public License v2 3 4 LAUNCHPAD_BRANCH=$(ever range 1-2).x 5 LAUNCHPAD_PV=${PV%.0} 6 require launchpad [ suffix=tar.bz2 branch=${LAUNCHPAD_BRANCH} pv=${LAUNCHPAD_PV} pnv=${PNV} ] scons python [ python_dep=2.6 ] 7 8 SUMMARY="Python bindings for libexiv2, photo metadata library" 9 DESCRIPTION=" 10 pyexiv2 is a Python binding to exiv2, the C++ library for manipulation of EXIF, IPTC and XMP image 11 metadata. It is a python module that allows your python scripts to read and write metadata (EXIF, 12 IPTC, XMP, thumbnails) embedded in image files (JPEG, TIFF, ...). It is designed as a high-level 13 interface to the functionalities offered by libexiv2. Using python's built-in data types and 14 standard modules, it provides easy manipulation of image metadata. 15 " 16 HOMEPAGE="http://tilloy.net/dev/pyexiv2/" 17 18 LICENCES="GPL-2" 19 SLOT="0" 20 PLATFORMS="~amd64 ~x86" 21 22 DEPENDENCIES=" 23 build+run: 24 graphics/exiv2[>=0.19] 25 dev-libs/boost[>=1.38] 26 " 27 28 BUGS_TO="djc@djc.id.au" 29 30 src_test() { 31 escons test 32 } 33 34 src_install() { 35 scons_src_install 36 emagicdocs 37 python_bytecompile 38 }