diff options
author | Mart Raudsepp <leio@gentoo.org> | 2008-01-31 23:36:17 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2008-01-31 23:36:17 +0000 |
commit | 46329a376a40e7a5dc1796c1042523ae2655c18e (patch) | |
tree | 16bf3b644221dc4fb6a78d369b2f1e14d9a5c43a /dev-python | |
parent | Remove wanpipe mask after removing the package (diff) | |
download | gentoo-2-46329a376a40e7a5dc1796c1042523ae2655c18e.tar.gz gentoo-2-46329a376a40e7a5dc1796c1042523ae2655c18e.tar.bz2 gentoo-2-46329a376a40e7a5dc1796c1042523ae2655c18e.zip |
QA: Fix quoting in old versions (that might be soon removed anyhow)
(Portage version: 2.1.4)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pygtk/pygtk-2.10.6.ebuild | 4 | ||||
-rw-r--r-- | dev-python/pygtk/pygtk-2.8.6.ebuild | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/dev-python/pygtk/pygtk-2.10.6.ebuild b/dev-python/pygtk/pygtk-2.10.6.ebuild index e2b9b6b72530..e90468bc7805 100644 --- a/dev-python/pygtk/pygtk-2.10.6.ebuild +++ b/dev-python/pygtk/pygtk-2.10.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.10.6.ebuild,v 1.11 2008/01/10 09:36:29 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.10.6.ebuild,v 1.12 2008/01/31 23:36:17 leio Exp $ NEED_PYTHON=2.3.5 @@ -85,7 +85,7 @@ pkg_postrm() { python_version python_mod_cleanup /usr/share/pygtk/2.0/codegen python_mod_cleanup - rm -f ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth} + rm -f "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth} alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9] alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9] } diff --git a/dev-python/pygtk/pygtk-2.8.6.ebuild b/dev-python/pygtk/pygtk-2.8.6.ebuild index 3385ccd811a6..db047dd188e5 100644 --- a/dev-python/pygtk/pygtk-2.8.6.ebuild +++ b/dev-python/pygtk/pygtk-2.8.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.8.6.ebuild,v 1.14 2007/03/18 00:41:58 marienz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.8.6.ebuild,v 1.15 2008/01/31 23:36:17 leio Exp $ inherit gnome.org python flag-o-matic @@ -52,18 +52,18 @@ src_install() { make DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO rm examples/Makefile* - cp -r examples ${D}/usr/share/doc/${PF}/ + cp -r examples "${D}/usr/share/doc/${PF}/" python_version - mv ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \ - ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0 - mv ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \ - ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0 + mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \ + "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0 + mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \ + "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0 if use doc; then cd "${S}"/../ dodir /usr/share/gtk-doc/html - cp -pPR pygtk2reference ${D}/usr/share/gtk-doc/html/ + cp -pPR pygtk2reference "${D}"/usr/share/gtk-doc/html/ fi } @@ -84,7 +84,7 @@ pkg_postrm() { python_version python_mod_cleanup /usr/share/pygtk/2.0/codegen python_mod_cleanup - rm -f ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth} + rm -f "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth} alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9] alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9] } |