diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-31 16:13:33 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-31 16:13:33 +0000 |
commit | e60e660c8709c4769a3ff94f780feea8b3015415 (patch) | |
tree | ea44a9dfbedd8d8236caeba6d73f70bc077a5291 /app-dicts/opendict | |
parent | New ebuild for oroborus-keylaunch, formerly part of x11-wm/oroborus-extras (diff) | |
download | gentoo-2-e60e660c8709c4769a3ff94f780feea8b3015415.tar.gz gentoo-2-e60e660c8709c4769a3ff94f780feea8b3015415.tar.bz2 gentoo-2-e60e660c8709c4769a3ff94f780feea8b3015415.zip |
Backport fixes for deprecation warnings from opendict-0.6.3.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'app-dicts/opendict')
-rw-r--r-- | app-dicts/opendict/ChangeLog | 6 | ||||
-rw-r--r-- | app-dicts/opendict/opendict-0.6.1.ebuild | 13 |
2 files changed, 10 insertions, 9 deletions
diff --git a/app-dicts/opendict/ChangeLog b/app-dicts/opendict/ChangeLog index 0a09f36eadec..9bc9fe7d226b 100644 --- a/app-dicts/opendict/ChangeLog +++ b/app-dicts/opendict/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-dicts/opendict # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.20 2010/03/08 02:22:36 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.21 2010/05/31 16:13:33 arfrever Exp $ + + 31 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + opendict-0.6.1.ebuild: + Backport fixes for deprecation warnings from opendict-0.6.3. 08 Mar 2010; Ryan Hill <dirtyepic@gentoo.org> opendict-0.6.3.ebuild: More python fixes for bug #308351. diff --git a/app-dicts/opendict/opendict-0.6.1.ebuild b/app-dicts/opendict/opendict-0.6.1.ebuild index 1d5637ea5cff..5f9abd552358 100644 --- a/app-dicts/opendict/opendict-0.6.1.ebuild +++ b/app-dicts/opendict/opendict-0.6.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.6.1.ebuild,v 1.7 2008/05/29 15:33:19 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.6.1.ebuild,v 1.8 2010/05/31 16:13:33 arfrever Exp $ inherit eutils python gnome2 @@ -30,9 +30,7 @@ src_compile() { } src_install() { - python_version - DHOME="/usr/lib/python${PYVER}/site-packages/opendict" - + DHOME="$(python_get_sitedir)/opendict" #dodir /usr/share/locale/lt/LC_MESSAGES dodir /usr/share/${PN} @@ -71,8 +69,7 @@ src_install() { } pkg_postinst() { - python_mod_optimize \ - /usr/$(get_libdir)/python${PYVER}/site-packages/opendict + python_mod_optimize $(python_get_sitedir)/opendict gnome2_icon_cache_update elog "If you want system-wide plugins, unzip them into" @@ -81,6 +78,6 @@ pkg_postinst() { } pkg_postrm() { - python_mod_cleanup + python_mod_cleanup $(python_get_sitedir)/opendict gnome2_icon_cache_update } |