diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-29 19:04:07 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-29 19:04:07 +0000 |
commit | 4e1685aab7c3f71cd795c7ad82ee41b956373ce9 (patch) | |
tree | 184d4fb6f2921460c968003e27ccf22a9fc1dfb3 /app-text/nfoview | |
parent | Fix building with -Wl,--as-needed wrt #320897 by Olivier Huber. (diff) | |
download | gentoo-2-4e1685aab7c3f71cd795c7ad82ee41b956373ce9.tar.gz gentoo-2-4e1685aab7c3f71cd795c7ad82ee41b956373ce9.tar.bz2 gentoo-2-4e1685aab7c3f71cd795c7ad82ee41b956373ce9.zip |
Improve python.eclass usage wrt #312113 by Arfrever Frehtes Taifersar Arahesis.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-text/nfoview')
-rw-r--r-- | app-text/nfoview/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/nfoview/nfoview-9999.ebuild | 30 |
2 files changed, 32 insertions, 6 deletions
diff --git a/app-text/nfoview/ChangeLog b/app-text/nfoview/ChangeLog index 1a7ca28025e2..5c74158913a0 100644 --- a/app-text/nfoview/ChangeLog +++ b/app-text/nfoview/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/nfoview -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/ChangeLog,v 1.10 2009/12/29 16:54:26 vapier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/ChangeLog,v 1.11 2010/06/29 19:04:07 ssuominen Exp $ + + 29 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> nfoview-9999.ebuild: + Improve python.eclass usage wrt #312113 by Arfrever Frehtes Taifersar + Arahesis. *nfoview-1.8 (29 Dec 2009) diff --git a/app-text/nfoview/nfoview-9999.ebuild b/app-text/nfoview/nfoview-9999.ebuild index 8defe81c1ad9..e7991b83cdba 100644 --- a/app-text/nfoview/nfoview-9999.ebuild +++ b/app-text/nfoview/nfoview-9999.ebuild @@ -1,15 +1,21 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild,v 1.6 2009/12/29 16:51:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild,v 1.7 2010/06/29 19:04:07 ssuominen Exp $ -inherit distutils +EAPI=3 + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils fdo-mime gnome2-utils if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://gitorious.org/nfoview/mainline.git" inherit git SRC_URI="" #KEYWORDS="" else - SRC_URI="http://download.gna.org/nfoview/${PV}/${P}.tar.bz2" + SRC_URI="http://download.gna.org/nfoview/1.9/${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi @@ -23,3 +29,19 @@ IUSE="" DEPEND="dev-python/pygtk" RDEPEND="${DEPEND} media-fonts/terminus-font" + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update + distutils_pkg_postinst +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update + distutils_pkg_postrm +} |