diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-05-29 17:41:37 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-05-29 17:41:37 +0000 |
commit | 84d8e8f3fe953fc46946f14bd32f35dab1ecfb6c (patch) | |
tree | 7f9de0f7beb85644d97e89f62adfe910a65255c5 /net-im/pymsn-t | |
parent | python_mod_{cleanup,optimize} are ROOT aware. (diff) | |
download | gentoo-2-84d8e8f3fe953fc46946f14bd32f35dab1ecfb6c.tar.gz gentoo-2-84d8e8f3fe953fc46946f14bd32f35dab1ecfb6c.tar.bz2 gentoo-2-84d8e8f3fe953fc46946f14bd32f35dab1ecfb6c.zip |
python_mod_{cleanup,optimize} are ROOT aware.
(Portage version: 2.1.5.2)
Diffstat (limited to 'net-im/pymsn-t')
-rw-r--r-- | net-im/pymsn-t/ChangeLog | 6 | ||||
-rw-r--r-- | net-im/pymsn-t/pymsn-t-0.11.2.ebuild | 9 | ||||
-rw-r--r-- | net-im/pymsn-t/pymsn-t-0.11.3.ebuild | 7 | ||||
-rw-r--r-- | net-im/pymsn-t/pymsn-t-0.11a-r4.ebuild | 6 |
4 files changed, 15 insertions, 13 deletions
diff --git a/net-im/pymsn-t/ChangeLog b/net-im/pymsn-t/ChangeLog index bfc7c0d617a2..cf4d5c7ba2aa 100644 --- a/net-im/pymsn-t/ChangeLog +++ b/net-im/pymsn-t/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-im/pymsn-t # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/ChangeLog,v 1.11 2008/03/10 19:50:14 griffon26 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/ChangeLog,v 1.12 2008/05/29 17:41:37 hawking Exp $ + + 29 May 2008; Ali Polatel <hawking@gentoo.org> pymsn-t-0.11.2.ebuild, + pymsn-t-0.11.3.ebuild, pymsn-t-0.11a-r4.ebuild: + python_mod_{cleanup,optimize} are ROOT aware. *pymsn-t-0.11.3 (10 Mar 2008) diff --git a/net-im/pymsn-t/pymsn-t-0.11.2.ebuild b/net-im/pymsn-t/pymsn-t-0.11.2.ebuild index 18074eaa6dbf..37cdc089fcf6 100644 --- a/net-im/pymsn-t/pymsn-t-0.11.2.ebuild +++ b/net-im/pymsn-t/pymsn-t-0.11.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.2.ebuild,v 1.1 2007/04/28 23:21:46 griffon26 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.2.ebuild,v 1.2 2008/05/29 17:41:37 hawking Exp $ NEED_PYTHON=2.3 @@ -61,13 +61,12 @@ src_install() { pkg_postinst() { python_version - python_mod_optimize ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN} + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN} elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml." elog "Please edit it and the configuration of your Jabber server to match." } pkg_postrm() { - python_version - python_mod_cleanup ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN} + python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/${PN} } diff --git a/net-im/pymsn-t/pymsn-t-0.11.3.ebuild b/net-im/pymsn-t/pymsn-t-0.11.3.ebuild index 616849dab461..048f41c92c25 100644 --- a/net-im/pymsn-t/pymsn-t-0.11.3.ebuild +++ b/net-im/pymsn-t/pymsn-t-0.11.3.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/net-im/pymsn-t/pymsn-t-0.11.3.ebuild,v 1.1 2008/03/10 19:50:14 griffon26 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.3.ebuild,v 1.2 2008/05/29 17:41:37 hawking Exp $ NEED_PYTHON=2.3 @@ -55,13 +55,12 @@ src_install() { pkg_postinst() { python_version - python_mod_optimize "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}" + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN} elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml." elog "Please edit it and the configuration of your Jabber server to match." } pkg_postrm() { - python_version - python_mod_cleanup "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}" + python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/${PN} } diff --git a/net-im/pymsn-t/pymsn-t-0.11a-r4.ebuild b/net-im/pymsn-t/pymsn-t-0.11a-r4.ebuild index 230198a558cd..1f8a89797e33 100644 --- a/net-im/pymsn-t/pymsn-t-0.11a-r4.ebuild +++ b/net-im/pymsn-t/pymsn-t-0.11a-r4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11a-r4.ebuild,v 1.4 2007/04/28 17:37:47 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11a-r4.ebuild,v 1.5 2008/05/29 17:41:37 hawking Exp $ inherit eutils python @@ -53,7 +53,7 @@ src_install() { "s:<jid>[^\<]*</jid>:<jid>msn.example.org</jid>:" \ /etc/jabber/${PN}.xml - newinitd ${FILESDIR}/pymsn-t.initd pymsn-t + newinitd "${FILESDIR}"/pymsn-t.initd pymsn-t dosed "s/PATH/python${PYVER}/" /etc/init.d/pymsn-t } |