From 794ff19022c0b0cbc322fd6b1fa8e5eb5618bf5c Mon Sep 17 00:00:00 2001 From: "John M. Drescher" Date: Tue, 9 Nov 2010 00:07:58 -0500 Subject: [PATCH] Updated rapid-photo-downloader --- media-gfx/pyexiv2/Manifest | 4 +- media-gfx/pyexiv2/pyexiv2-0.1.3.ebuild | 37 ------------- media-gfx/pyexiv2/pyexiv2-0.2.1.ebuild | 55 +++++++++++++++++++ media-gfx/rapid-photo-downloader/Manifest | 2 + .../rapid-photo-downloader-0.3.2.ebuild | 32 +++++++++++ 5 files changed, 91 insertions(+), 39 deletions(-) delete mode 100644 media-gfx/pyexiv2/pyexiv2-0.1.3.ebuild create mode 100644 media-gfx/pyexiv2/pyexiv2-0.2.1.ebuild create mode 100644 media-gfx/rapid-photo-downloader/rapid-photo-downloader-0.3.2.ebuild diff --git a/media-gfx/pyexiv2/Manifest b/media-gfx/pyexiv2/Manifest index 7fd67a3..74ccfe9 100644 --- a/media-gfx/pyexiv2/Manifest +++ b/media-gfx/pyexiv2/Manifest @@ -1,2 +1,2 @@ -DIST pyexiv2-0.1.3.tar.bz2 35872 RMD160 4e4c76c451dbb96559c0f18732ba0369d80730c6 SHA1 d957b8ba38138cc56cb9badcf880ee63319b6aed SHA256 305d292abbeebe1a1843018b7870815691694949c91582a9430a71b2c1c0c45f -EBUILD pyexiv2-0.1.3.ebuild 746 RMD160 ebb58c7e0ae4ed52df3d8d8bd386df66c03ede72 SHA1 4954f74c1d6bcb16a7b79bfa9f5d6a1faa6c1302 SHA256 fd6aead30c568935a4fbb38fce76f7d0b7f799a5458f8d3a3579daa2f01a7e15 +DIST pyexiv2-0.2.1.tar.bz2 179841 RMD160 fc4ca2184c956616d6fd996b45822dec78902e63 SHA1 57bd6b4f51ed8a1294c5fe1907bac1eec9ea4f5a SHA256 f8185dba49eb222e28ae060d371c0b4e823eb56eef36904ac6c53b9f5634a65f +EBUILD pyexiv2-0.2.1.ebuild 1052 RMD160 a1b95e1bb3fa7a2463cab8f8397f78b39a998dba SHA1 4f2ab9a7d633e0cf41353164f1b1b2f643992ffb SHA256 d5046169c53039a45dc961008028918578ca5105f6265954749a027a6d72eb8d diff --git a/media-gfx/pyexiv2/pyexiv2-0.1.3.ebuild b/media-gfx/pyexiv2/pyexiv2-0.1.3.ebuild deleted file mode 100644 index baf5bdc..0000000 --- a/media-gfx/pyexiv2/pyexiv2-0.1.3.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -inherit eutils - -DESCRIPTION="pyexiv2 is a python binding to exiv2, the C++ library for manipulation of EXIF and IPTC image metadata" -HOMEPAGE="http://tilloy.net/dev/pyexiv2/index.htm" -SRC_URI="http://tilloy.net/dev/pyexiv2/releases/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -DEPEND=">=dev-lang/python-2.5.1 - >=media-gfx/exiv2-0.18 - >=dev-libs/boost-1.34.1 - dev-util/scons" - -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${P} - -src_unpack() { - unpack ${A} - cd "${S}" -} - -src_compile() { - cd "${S}" - scons || die " Build Failed" -} - -src_install() { - cd "${S}" - scons DESTDIR=${D} install || die "Install Failed" -} diff --git a/media-gfx/pyexiv2/pyexiv2-0.2.1.ebuild b/media-gfx/pyexiv2/pyexiv2-0.2.1.ebuild new file mode 100644 index 0000000..459dc9d --- /dev/null +++ b/media-gfx/pyexiv2/pyexiv2-0.2.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +PYTHON_DEPEND="2:2.5" + +inherit eutils python versionator + +MY_PV2=$(get_version_component_range 1-2) + +DESCRIPTION="A Python binding to exiv2 for manipulation of EXIF and IPTC image metadata" +HOMEPAGE="http://tilloy.net/dev/pyexiv2/" +SRC_URI="http://launchpad.net/${PN}/${MY_PV2}.x/${PV}/+download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +IUSE="doc examples" + +RDEPEND=">=dev-libs/boost-1.38 + >=media-gfx/exiv2-0.19" +DEPEND=">=dev-util/scons-0.97 + doc? ( dev-python/sphinx ) + ${RDEPEND}" + +src_compile() { + scons || die + if use doc; then + scons doc + fi +} + +src_install() { + scons DESTDIR="${D}" install || die + dodoc NEWS README todo + if use doc; then + dohtml -r doc/_build/ + fi + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins src/*.py + fi +} + +pkg_postinst() { + python_mod_optimize $(python_get_sitedir)/${PN} +} + +pkg_postrm() { + python_mod_cleanup $(python_get_sitedir)/${PN} +} diff --git a/media-gfx/rapid-photo-downloader/Manifest b/media-gfx/rapid-photo-downloader/Manifest index 881b6aa..3c4623f 100644 --- a/media-gfx/rapid-photo-downloader/Manifest +++ b/media-gfx/rapid-photo-downloader/Manifest @@ -1,2 +1,4 @@ DIST rapid-photo-downloader-0.0.10.tar.gz 178546 RMD160 f1dfbfe6cf391c069408cd52caf65cf406aaeee2 SHA1 e0e8e7f0f370b1b811245c2c44b520f6bada339d SHA256 36f7d876ef6ac3f47a7d7a53b7cde4ea36b1a58ad292241525ecfcd8149662d7 +DIST rapid-photo-downloader-0.3.2.tar.gz 530737 RMD160 d8362204e180031072e61add67032490d54c6359 SHA1 21da25c119b908aacca9e858d2387899c108a483 SHA256 1063fa417494a915f1e68576ecfc74027b4dc37df89a2806acd8b3c09103a55e EBUILD rapid-photo-downloader-0.0.10-r1.ebuild 679 RMD160 91c4a3075bf650e24338e39d2078ebd7004b74f2 SHA1 951026f14e639b67b499a3a2c6cd96ae3d784d50 SHA256 ffb7a3f9e6870a0df76b15ebcaa35ad8693402c87a56ce7cd90669b5a9730459 +EBUILD rapid-photo-downloader-0.3.2.ebuild 722 RMD160 5427f846bb6f188d7280b082c26c01963cec3dfd SHA1 7db23997d372092acc28a16c050af10438c2dc26 SHA256 d4bd78eecb10314047e5006cc9ed63e00a2abeef7d0f23b94f9c680e66b16521 diff --git a/media-gfx/rapid-photo-downloader/rapid-photo-downloader-0.3.2.ebuild b/media-gfx/rapid-photo-downloader/rapid-photo-downloader-0.3.2.ebuild new file mode 100644 index 0000000..a2ec011 --- /dev/null +++ b/media-gfx/rapid-photo-downloader/rapid-photo-downloader-0.3.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ +inherit distutils + +DESCRIPTION="Import your images efficiently and reliably" +HOMEPAGE="http://damonlynch.net/rapid/" +SRC_URI="http://launchpad.net/rapid/trunk/${PV}/+download/${PF}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="video" + +RDEPEND=">=dev-lang/python-2.5 + >=dev-python/gnome-python-2.18 + >=dev-python/pygtk-2.10 + >=media-gfx/pyexiv2-0.1.1 + dev-python/notify-python + dev-python/dbus-python + video? ( dev-python/kaa-metadata )" + +DEPEND="${RDEPEND}" + + +src_compile() { + distutils_src_compile || die +} + +src_install( ) { + distutils_src_install +}