summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-16 22:35:09 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-16 22:35:09 +0000
commit23dba9a83db71955a3895b7735f301215208b519 (patch)
treef254ab8c8014de26b7f1b2f28a88aa030e4f6a79 /app-misc/gramps
parentfold fixes from shadowgrounds back in (diff)
downloadgentoo-2-23dba9a83db71955a3895b7735f301215208b519.tar.gz
gentoo-2-23dba9a83db71955a3895b7735f301215208b519.tar.bz2
gentoo-2-23dba9a83db71955a3895b7735f301215208b519.zip
Fix deprecation warnings.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/gramps')
-rw-r--r--app-misc/gramps/ChangeLog6
-rw-r--r--app-misc/gramps/gramps-3.2.5.ebuild9
2 files changed, 10 insertions, 5 deletions
diff --git a/app-misc/gramps/ChangeLog b/app-misc/gramps/ChangeLog
index 583f540c15ad..0b79b1922fe5 100644
--- a/app-misc/gramps/ChangeLog
+++ b/app-misc/gramps/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/gramps
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.143 2011/02/27 15:52:33 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.144 2011/04/16 22:35:09 arfrever Exp $
+
+ 16 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ gramps-3.2.5.ebuild:
+ Fix deprecation warnings.
27 Feb 2011; Christian Faulhammer <fauli@gentoo.org>
-files/gramps-3.1.2-use_bsddb3.patch,
diff --git a/app-misc/gramps/gramps-3.2.5.ebuild b/app-misc/gramps/gramps-3.2.5.ebuild
index 0abf07198891..bead922ef94f 100644
--- a/app-misc/gramps/gramps-3.2.5.ebuild
+++ b/app-misc/gramps/gramps-3.2.5.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/app-misc/gramps/gramps-3.2.5.ebuild,v 1.5 2011/02/27 15:42:56 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-3.2.5.ebuild,v 1.6 2011/04/16 22:35:09 arfrever Exp $
-EAPI=2
+EAPI=3
PYTHON_DEPEND="2:2.5"
GCONF_DEBUG="no"
@@ -40,6 +40,7 @@ DOCS="NEWS README TODO"
pkg_setup() {
G2CONF="${G2CONF} --disable-mime-install"
python_set_active_version 2
+ python_pkg_setup
}
src_prepare() {
@@ -81,10 +82,10 @@ src_install() {
pkg_postinst() {
gnome2_pkg_postinst
- python_mod_optimize $(python_get_sitedir)/${PN}
+ python_mod_optimize ${PN}
}
pkg_postrm() {
gnome2_pkg_postrm
- python_mod_cleanup $(python_get_sitedir)/${PN}
+ python_mod_cleanup ${PN}
}