summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-08 15:59:43 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-08 15:59:43 +0000
commit7e60c8248f0195952ee33ec41f1801b3a9d2011c (patch)
tree23a5503280099b5a929b486d1fe547e0547c82f4 /net-im/pyaim-t
parentVersion bump, fixes #319943 (diff)
downloadgentoo-2-7e60c8248f0195952ee33ec41f1801b3a9d2011c.tar.gz
gentoo-2-7e60c8248f0195952ee33ec41f1801b3a9d2011c.tar.bz2
gentoo-2-7e60c8248f0195952ee33ec41f1801b3a9d2011c.zip
Delete calls to deprecated python_version().
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'net-im/pyaim-t')
-rw-r--r--net-im/pyaim-t/ChangeLog8
-rw-r--r--net-im/pyaim-t/pyaim-t-0.8a.ebuild12
2 files changed, 11 insertions, 9 deletions
diff --git a/net-im/pyaim-t/ChangeLog b/net-im/pyaim-t/ChangeLog
index 98b532a0d541..3962d50255de 100644
--- a/net-im/pyaim-t/ChangeLog
+++ b/net-im/pyaim-t/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-im/pyaim-t
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/pyaim-t/ChangeLog,v 1.7 2009/03/14 16:13:13 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/pyaim-t/ChangeLog,v 1.8 2010/06/08 15:59:43 arfrever Exp $
+
+ 08 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyaim-t-0.8a.ebuild:
+ Delete calls to deprecated python_version().
14 Mar 2009; Raúl Porcel <armin76@gentoo.org> pyaim-t-0.8a.ebuild:
x86 stable wrt #236048
diff --git a/net-im/pyaim-t/pyaim-t-0.8a.ebuild b/net-im/pyaim-t/pyaim-t-0.8a.ebuild
index 4bead0041be4..a3f6b06c104e 100644
--- a/net-im/pyaim-t/pyaim-t-0.8a.ebuild
+++ b/net-im/pyaim-t/pyaim-t-0.8a.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 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/pyaim-t/pyaim-t-0.8a.ebuild,v 1.6 2009/03/14 16:13:13 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/pyaim-t/pyaim-t-0.8a.ebuild,v 1.7 2010/06/08 15:59:43 arfrever Exp $
NEED_PYTHON=2.3
@@ -32,8 +32,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 tools
newins PyAIMt.py ${PN}.py
@@ -54,13 +53,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}
}