diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-16 19:35:02 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-16 19:35:02 +0000 |
commit | 6e3e645e0b598fcdddf3ecb79221d707179bcd4e (patch) | |
tree | 418111163ab82d1541cc5b6efdb240a6db456051 /app-arch/q7z | |
parent | Clean up old revisions. (diff) | |
download | gentoo-2-6e3e645e0b598fcdddf3ecb79221d707179bcd4e.tar.gz gentoo-2-6e3e645e0b598fcdddf3ecb79221d707179bcd4e.tar.bz2 gentoo-2-6e3e645e0b598fcdddf3ecb79221d707179bcd4e.zip |
Fix deprecation warnings.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/q7z')
-rw-r--r-- | app-arch/q7z/ChangeLog | 8 | ||||
-rw-r--r-- | app-arch/q7z/q7z-0.8.0.ebuild | 12 |
2 files changed, 13 insertions, 7 deletions
diff --git a/app-arch/q7z/ChangeLog b/app-arch/q7z/ChangeLog index befcbb7c4b41..1e70ce129728 100644 --- a/app-arch/q7z/ChangeLog +++ b/app-arch/q7z/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-arch/q7z -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/q7z/ChangeLog,v 1.8 2010/07/14 16:06:45 arfrever Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/q7z/ChangeLog,v 1.9 2011/04/16 19:35:02 arfrever Exp $ + + 16 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + q7z-0.8.0.ebuild: + Fix deprecation warnings. 14 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> q7z-0.8.0.ebuild: diff --git a/app-arch/q7z/q7z-0.8.0.ebuild b/app-arch/q7z/q7z-0.8.0.ebuild index 9fca1027820c..df2219496ebd 100644 --- a/app-arch/q7z/q7z-0.8.0.ebuild +++ b/app-arch/q7z/q7z-0.8.0.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/q7z/q7z-0.8.0.ebuild,v 1.3 2010/07/14 16:06:45 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/q7z/q7z-0.8.0.ebuild,v 1.4 2011/04/16 19:35:02 arfrever Exp $ -EAPI="2" +EAPI="3" PYTHON_DEPEND="2" + inherit eutils python MY_PN="Q7Z" @@ -27,6 +28,7 @@ S="${WORKDIR}/${MY_PN}/Build" pkg_setup() { python_set_active_version 2 + python_pkg_setup } src_prepare() { @@ -72,9 +74,9 @@ src_install() { } pkg_postinst() { - python_mod_optimize "$(python_get_sitedir)/${PN}" + python_mod_optimize ${PN} } pkg_postrm() { - python_mod_cleanup "$(python_get_sitedir)/${PN}" + python_mod_cleanup ${PN} } |