summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-01-19 17:08:23 +0000
committerThomas Sachau <tommy@gentoo.org>2009-01-19 17:08:23 +0000
commit40c252e179fc8c5f18df2fba5446d1040483ac6f (patch)
tree1e18a60909d443b8727dd11fe660a53c6d031def /app-misc/specto/specto-0.2.2.ebuild
parentapp-misc/pysdm: Add suggested RDEPEND=${DEPEND}, add die, simplification (diff)
downloadsunrise-40c252e179fc8c5f18df2fba5446d1040483ac6f.tar.gz
sunrise-40c252e179fc8c5f18df2fba5446d1040483ac6f.tar.bz2
sunrise-40c252e179fc8c5f18df2fba5446d1040483ac6f.zip
app-misc/specto: Add suggested RDEPEND=${DEPEND}, add some die statements
svn path=/sunrise/; revision=7672
Diffstat (limited to 'app-misc/specto/specto-0.2.2.ebuild')
-rw-r--r--app-misc/specto/specto-0.2.2.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/app-misc/specto/specto-0.2.2.ebuild b/app-misc/specto/specto-0.2.2.ebuild
index 46e77301e..c16026ea3 100644
--- a/app-misc/specto/specto-0.2.2.ebuild
+++ b/app-misc/specto/specto-0.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -24,24 +24,25 @@ DEPEND="dev-python/dbus-python
dev-python/gnome-python-extras
dev-python/notify-python
>=dev-python/pygtk-2.10"
+RDEPEND=${DEPEND}
src_unpack() {
distutils_src_unpack
sed -i -e "s:share/doc/specto:share/doc/${PF}:" \
- "${S}"/setup.py "${S}"/spectlib/util.py
+ "${S}"/setup.py "${S}"/spectlib/util.py || die
# Replace some GNOME icons with their FreeDesktop equivalents
# so that it works with oxygen as a theme.
sed -i -e '/icon_theme\.load_icon/s:"error":"dialog-error":g' \
- "${S}"/spectlib/*.py
+ "${S}"/spectlib/*.py || die
sed -i -e '/icon_theme\.load_icon/s:"reload":"view-refresh":g' \
- "${S}"/spectlib/*.py
+ "${S}"/spectlib/*.py || die
}
src_install() {
distutils_src_install
- dodoc data/doc/{AUTHORS,ChangeLog}
+ dodoc data/doc/{AUTHORS,ChangeLog} || die
rm -rf "${D}"/usr/share/doc/${PN}
for i in ${LANGS} ; do
use linguas_${i} || rm -rf "${D}"/usr/share/locale/${i}