diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-12-06 03:36:19 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-12-06 03:36:19 +0000 |
commit | 3eca437f7b7f757a1b612d97d35f0dc04ea74b81 (patch) | |
tree | 71845372e329557d349428fa303d2d4527dad41e /app-text/nfoview | |
parent | Version bump; remove old (diff) | |
download | gentoo-2-3eca437f7b7f757a1b612d97d35f0dc04ea74b81.tar.gz gentoo-2-3eca437f7b7f757a1b612d97d35f0dc04ea74b81.tar.bz2 gentoo-2-3eca437f7b7f757a1b612d97d35f0dc04ea74b81.zip |
Version bump (and update 9999 ebuild) to GTK+-3.x and Python 3.x version.
(Portage version: 2.2.0_alpha79/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-1.10.ebuild | 48 | ||||
-rw-r--r-- | app-text/nfoview/nfoview-9999.ebuild | 14 |
3 files changed, 62 insertions, 8 deletions
diff --git a/app-text/nfoview/ChangeLog b/app-text/nfoview/ChangeLog index 68fb56c19720..02ba6083e88e 100644 --- a/app-text/nfoview/ChangeLog +++ b/app-text/nfoview/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/nfoview # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/ChangeLog,v 1.18 2011/09/20 22:46:11 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/ChangeLog,v 1.19 2011/12/06 03:36:19 ssuominen Exp $ + +*nfoview-1.10 (06 Dec 2011) + + 06 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> +nfoview-1.10.ebuild, + nfoview-9999.ebuild: + Version bump (and update 9999 ebuild) to GTK+-3.x and Python 3.x version. 20 Sep 2011; Michał Górny <mgorny@gentoo.org> nfoview-9999.ebuild: Migrate to git-2. diff --git a/app-text/nfoview/nfoview-1.10.ebuild b/app-text/nfoview/nfoview-1.10.ebuild new file mode 100644 index 000000000000..cda3ea17dd43 --- /dev/null +++ b/app-text/nfoview/nfoview-1.10.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/nfoview-1.10.ebuild,v 1.1 2011/12/06 03:36:19 ssuominen Exp $ + +EAPI=3 + +PYTHON_DEPEND="3" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.*" + +inherit distutils fdo-mime gnome2-utils +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://github.com/otsaloma/nfoview.git + http://github.com/otsaloma/nfoview.git" + inherit git-2 + SRC_URI="" + #KEYWORDS="" +else + SRC_URI="http://download.gna.org/nfoview/1.10/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="simple viewer for NFO files, which are ASCII art in the CP437 codepage" +HOMEPAGE="http://home.gna.org/nfoview/" + +LICENSE="GPL-3" +SLOT="0" +IUSE="" + +DEPEND="dev-python/pygobject:3" +RDEPEND="${DEPEND} + media-fonts/terminus-font" + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update + distutils_pkg_postinst +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update + distutils_pkg_postrm +} diff --git a/app-text/nfoview/nfoview-9999.ebuild b/app-text/nfoview/nfoview-9999.ebuild index 651afade1a1e..66f948f600b1 100644 --- a/app-text/nfoview/nfoview-9999.ebuild +++ b/app-text/nfoview/nfoview-9999.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2011 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.9 2011/09/20 22:46:11 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/nfoview/nfoview-9999.ebuild,v 1.10 2011/12/06 03:36:19 ssuominen Exp $ EAPI=3 -PYTHON_DEPEND="2" +PYTHON_DEPEND="3" SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" +RESTRICT_PYTHON_ABIS="2.*" inherit distutils fdo-mime gnome2-utils if [[ ${PV} == "9999" ]] ; then @@ -16,7 +16,7 @@ if [[ ${PV} == "9999" ]] ; then SRC_URI="" #KEYWORDS="" else - SRC_URI="http://download.gna.org/nfoview/1.9/${P}.tar.gz" + SRC_URI="http://download.gna.org/nfoview/1.10/${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi @@ -27,7 +27,7 @@ LICENSE="GPL-3" SLOT="0" IUSE="" -DEPEND="dev-python/pygtk" +DEPEND="dev-python/pygobject:3" RDEPEND="${DEPEND} media-fonts/terminus-font" @@ -36,13 +36,13 @@ pkg_preinst() { } pkg_postinst() { - fdo-mime_desktop_database_update gnome2_icon_cache_update + fdo-mime_desktop_database_update distutils_pkg_postinst } pkg_postrm() { - fdo-mime_desktop_database_update gnome2_icon_cache_update + fdo-mime_desktop_database_update distutils_pkg_postrm } |