From 998e61adc4f4f47eabd13a32b1f395c9402a9a9a Mon Sep 17 00:00:00 2001 From: Markus Meier Date: Sat, 31 Oct 2009 15:43:38 +0000 Subject: QA: quote variables, fix ${D} variable and fix gpixpod binary (Portage version: 2.2_rc46/cvs/Linux i686) --- app-pda/gpixpod/ChangeLog | 7 +++++-- app-pda/gpixpod/gpixpod-0.6.2.ebuild | 17 +++++++++-------- 2 files changed, 14 insertions(+), 10 deletions(-) (limited to 'app-pda') diff --git a/app-pda/gpixpod/ChangeLog b/app-pda/gpixpod/ChangeLog index 73a717de0c1b..df446f5851c1 100644 --- a/app-pda/gpixpod/ChangeLog +++ b/app-pda/gpixpod/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-pda/gpixpod -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/ChangeLog,v 1.6 2008/09/06 19:59:50 pvdabeel Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/ChangeLog,v 1.7 2009/10/31 15:43:38 maekke Exp $ + + 31 Oct 2009; Markus Meier gpixpod-0.6.2.ebuild: + QA: quote variables, fix ${D} variable and fix gpixpod binary 06 Sep 2008; Pieter Van den Abeele gpixpod-0.6.2.ebuild: Keyworded ~ppc, closes #217040 diff --git a/app-pda/gpixpod/gpixpod-0.6.2.ebuild b/app-pda/gpixpod/gpixpod-0.6.2.ebuild index ba3bb6795640..d91fb3293b15 100644 --- a/app-pda/gpixpod/gpixpod-0.6.2.ebuild +++ b/app-pda/gpixpod/gpixpod-0.6.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/gpixpod-0.6.2.ebuild,v 1.5 2008/09/06 19:59:50 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/gpixpod-0.6.2.ebuild,v 1.6 2009/10/31 15:43:38 maekke Exp $ inherit distutils @@ -21,21 +21,22 @@ DEPEND="${RDEPEND} src_unpack() { distutils_python_version unpack ${A} - cd ${S} + cd "${S}" # Fixing gpixpod.py for searching gpixpod.glade in the same directory - sed -i -e "s:gpixpod\.glade:/usr/share/gpixpod/gpixpod\.glade:g" /gpixpod.py + sed -i -e "s:gpixpod\.glade:/usr/share/gpixpod/gpixpod\.glade:g" gpixpod.py || die # Fixing launching script and Makefile - sed -i -e s:python2.4:python${PYVER}:g Makefile gpixpod + sed -i -e "s:python2.4:python${PYVER}:g" Makefile gpixpod || die + sed -i -e "s:/usr/lib/gpixpod:$(python_get_sitedir):g" gpixpod || die } src_install() { distutils_src_install - mv ${D}/usr/lib/gpixpod/* ${D}/usr/share/gpixpod - rmdir {D}/usr/lib/gpixpod + mv "${D}"/usr/lib/gpixpod/* "${D}"/usr/share/gpixpod + rmdir "${D}"/usr/lib/gpixpod - rm -rf ${D}/usr/share/doc/gpixpod + rm -rf "${D}"/usr/share/doc/gpixpod dodoc KNOWNBUGS } -- cgit v1.2.3-65-gdbad