summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-25 21:24:10 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-25 21:24:10 +0000
commit270f50e4ae106fe8fe27e9afe2cdafa3222b645e (patch)
tree002ee7bc4175052b6dec43d59cbebccf51981e64 /media-libs/hamlib/hamlib-1.2.12-r2.ebuild
parentUse Python 2 (bug #324171). (diff)
downloadhistorical-270f50e4ae106fe8fe27e9afe2cdafa3222b645e.tar.gz
historical-270f50e4ae106fe8fe27e9afe2cdafa3222b645e.tar.bz2
historical-270f50e4ae106fe8fe27e9afe2cdafa3222b645e.zip
Fix deprecation warnings.
Package-Manager: portage-2.2.0_alpha30_p2/cvs/Linux x86_64
Diffstat (limited to 'media-libs/hamlib/hamlib-1.2.12-r2.ebuild')
-rw-r--r--media-libs/hamlib/hamlib-1.2.12-r2.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/media-libs/hamlib/hamlib-1.2.12-r2.ebuild b/media-libs/hamlib/hamlib-1.2.12-r2.ebuild
index a5cb68325195..9415db9965d4 100644
--- a/media-libs/hamlib/hamlib-1.2.12-r2.ebuild
+++ b/media-libs/hamlib/hamlib-1.2.12-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.12-r2.ebuild,v 1.6 2011/02/27 10:53:08 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.12-r2.ebuild,v 1.7 2011/04/25 21:24:10 arfrever Exp $
-EAPI="2"
+EAPI="3"
PYTHON_DEPEND="python? 2"
inherit autotools-utils eutils multilib python
@@ -85,9 +85,9 @@ src_install() {
}
pkg_postinst() {
- use python && python_mod_optimize $(python_get_sitedir)/Hamlib.py
+ use python && python_mod_optimize Hamlib.py
}
pkg_postrm() {
- use python && python_mod_cleanup $(python_get_sitedir)/Hamlib.py
+ use python && python_mod_cleanup Hamlib.py
}