summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-08 16:29:30 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-08 16:29:30 +0000
commit480f0544da0d1e4452b69dc667af76ca08bdf0b5 (patch)
tree379f5af301c41f5eacdf0223aa91d564804004fa /app-mobilephone/obexftp/obexftp-0.22.ebuild
parentVersion bump. (diff)
downloadhistorical-480f0544da0d1e4452b69dc667af76ca08bdf0b5.tar.gz
historical-480f0544da0d1e4452b69dc667af76ca08bdf0b5.tar.bz2
historical-480f0544da0d1e4452b69dc667af76ca08bdf0b5.zip
Delete calls to deprecated python_version() (bug #311665).
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'app-mobilephone/obexftp/obexftp-0.22.ebuild')
-rw-r--r--app-mobilephone/obexftp/obexftp-0.22.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/app-mobilephone/obexftp/obexftp-0.22.ebuild b/app-mobilephone/obexftp/obexftp-0.22.ebuild
index 1093edc66058..d068891613a6 100644
--- a/app-mobilephone/obexftp/obexftp-0.22.ebuild
+++ b/app-mobilephone/obexftp/obexftp-0.22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.22.ebuild,v 1.12 2010/05/27 06:27:59 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.22.ebuild,v 1.13 2010/06/08 16:29:29 arfrever Exp $
EAPI="2"
@@ -86,8 +86,9 @@ pkg_postrm() {
pkg_postinst() {
use perl && perl-module_pkg_postinst
- use python && {
- python_version
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
- }
+ use python && python_mod_optimize $(python_get_sitedir)/${PN}
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup $(python_get_sitedir)/${PN}
}