summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/pymsn-t/pymsn-t-0.11.3-r1.ebuild')
-rw-r--r--net-im/pymsn-t/pymsn-t-0.11.3-r1.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/net-im/pymsn-t/pymsn-t-0.11.3-r1.ebuild b/net-im/pymsn-t/pymsn-t-0.11.3-r1.ebuild
index fbfc600bade9..53f56f6ff8f9 100644
--- a/net-im/pymsn-t/pymsn-t-0.11.3-r1.ebuild
+++ b/net-im/pymsn-t/pymsn-t-0.11.3-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 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-r1.ebuild,v 1.2 2008/09/17 21:23:55 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.3-r1.ebuild,v 1.3 2010/06/08 16:05:44 arfrever Exp $
NEED_PYTHON=2.3
@@ -31,8 +31,7 @@ src_unpack() {
src_install() {
local inspath
- python_version
- inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+ inspath=$(python_get_sitedir)/${PN}
insinto ${inspath}
doins -r data src
newins PyMSNt.py ${PN}.py
@@ -59,13 +58,12 @@ src_install() {
}
pkg_postinst() {
- python_version
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
+ python_mod_optimize $(python_get_sitedir)/${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_mod_cleanup /usr/$(get_libdir)/python*/site-packages/${PN}
+ python_mod_cleanup $(python_get_sitedir)/${PN}
}