summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-29 15:56:34 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-29 15:56:34 +0000
commita88069d7c6154597dc7997cdd71fa6ee2e3b0126 (patch)
tree4a3b12ea14fb18f32428069cff4efbcb0a2d46dc /app-text/sgmltools-lite
parentpython_mod_{cleanup,optimize} are ROOT aware. (diff)
downloadgentoo-2-a88069d7c6154597dc7997cdd71fa6ee2e3b0126.tar.gz
gentoo-2-a88069d7c6154597dc7997cdd71fa6ee2e3b0126.tar.bz2
gentoo-2-a88069d7c6154597dc7997cdd71fa6ee2e3b0126.zip
python_mod_{cleanup,optimize} are ROOT aware. Quoting.
(Portage version: 2.1.5.2)
Diffstat (limited to 'app-text/sgmltools-lite')
-rw-r--r--app-text/sgmltools-lite/ChangeLog8
-rw-r--r--app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild24
2 files changed, 18 insertions, 14 deletions
diff --git a/app-text/sgmltools-lite/ChangeLog b/app-text/sgmltools-lite/ChangeLog
index eb6fae3b87ce..ae62d7ecd71c 100644
--- a/app-text/sgmltools-lite/ChangeLog
+++ b/app-text/sgmltools-lite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/sgmltools-lite
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.49 2007/03/12 23:28:08 leonardop Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.50 2008/05/29 15:56:34 hawking Exp $
+
+ 29 May 2008; Ali Polatel <hawking@gentoo.org>
+ sgmltools-lite-3.0.3-r10.ebuild:
+ python_mod_{cleanup,optimize} are ROOT aware. Quoting.
12 Mar 2007; Leonardo Boshell <leonardop@gentoo.org> metadata.xml,
-sgmltools-lite-3.0.3-r7.ebuild:
diff --git a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild
index 896eef6bf2cc..116b52226c0f 100644
--- a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild
+++ b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild,v 1.11 2007/07/12 04:37:47 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild,v 1.12 2008/05/29 15:56:34 hawking Exp $
inherit python sgml-catalog
@@ -29,7 +29,7 @@ sgml-catalog_cat_include "/etc/sgml/sgml-lite.cat" \
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
# Remove CVS directories from the tree
find . -name CVS | xargs rm -rf
@@ -41,12 +41,12 @@ src_compile() {
}
src_install() {
- einstall etcdir=${D}/etc/sgml || die
+ einstall etcdir="${D}"/etc/sgml || die
dodoc ChangeLog POSTINSTALL README*
dohtml -r .
- cd ${WORKDIR}/nw-eps-icons-0.0.1/images
+ cd "${WORKDIR}"/nw-eps-icons-0.0.1/images
insinto /usr/share/sgml/docbook/dsssl-stylesheets/images
doins *.eps
@@ -54,14 +54,14 @@ src_install() {
insinto /usr/share/sgml/docbook/dsssl-stylesheets/images/callouts
doins *.eps
- rm ${D}/etc/sgml/catalog.{suse,rh62}
+ rm "${D}"/etc/sgml/catalog.{suse,rh62}
# Remove file provided by sgml-common
- rm ${D}/usr/bin/sgmlwhich
+ rm "${D}"/usr/bin/sgmlwhich
# Remove the backends that require tetex
use tetex || \
- rm ${D}/usr/share/sgml/misc/sgmltools/python/backends/{Dvi,Ps,Pdf,JadeTeX}.py
+ rm "${D}"/usr/share/sgml/misc/sgmltools/python/backends/{Dvi,Ps,Pdf,JadeTeX}.py
# List of backends to alias with sgml2*
# Do not provide sgml2{txt,rtf,html} anymore, they are part of
@@ -71,7 +71,7 @@ src_install() {
# Create simple alias scripts that people are used to
# And make the manpages for those link to the sgmltools-lite manpage
- mandir=${D}/usr/share/man/man1
+ mandir="${D}"/usr/share/man/man1
ScripTEXT="#!/bin/sh\n/usr/bin/sgmltools --backend="
for back in ${BACKENDS}
do
@@ -81,16 +81,16 @@ src_install() {
cd ${mandir}
ln -sf sgmltools-lite.1.gz sgml2${back}.1.gz
- cd ${S}
+ cd "${S}"
done
}
pkg_postinst() {
- python_mod_optimize ${ROOT}usr/share/sgml/misc/sgmltools/python
+ python_mod_optimize /usr/share/sgml/misc/sgmltools/python
sgml-catalog_pkg_postinst
}
pkg_postrm() {
- python_mod_cleanup ${ROOT}usr/share/sgml/misc/sgmltools/python
+ python_mod_cleanup /usr/share/sgml/misc/sgmltools/python
sgml-catalog_pkg_postrm
}