diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-01-06 00:16:46 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-01-06 00:16:46 +0000 |
commit | c50e41f7c2e2b4ec6f017b3ee3c3a65f32749daf (patch) | |
tree | 926184aebbdac885c1e6e01545645d9d1cf51896 /app-text/keepnote/keepnote-0.7.9-r2.ebuild | |
parent | add virtual/python-argparse to RDEPEND (diff) | |
download | historical-c50e41f7c2e2b4ec6f017b3ee3c3a65f32749daf.tar.gz historical-c50e41f7c2e2b4ec6f017b3ee3c3a65f32749daf.tar.bz2 historical-c50e41f7c2e2b4ec6f017b3ee3c3a65f32749daf.zip |
revbump: migrate to distutils-r1
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'app-text/keepnote/keepnote-0.7.9-r2.ebuild')
-rw-r--r-- | app-text/keepnote/keepnote-0.7.9-r2.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-text/keepnote/keepnote-0.7.9-r2.ebuild b/app-text/keepnote/keepnote-0.7.9-r2.ebuild new file mode 100644 index 000000000000..615fb193411c --- /dev/null +++ b/app-text/keepnote/keepnote-0.7.9-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/keepnote/keepnote-0.7.9-r2.ebuild,v 1.1 2013/01/06 00:16:45 hasufell Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_6 python2_7 ) +PYTHON_REQ_USE="sqlite,xml" + +inherit gnome2-utils distutils-r1 + +DESCRIPTION="A note taking application" +HOMEPAGE="http://keepnote.org/" +SRC_URI="http://keepnote.org/download-test/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +RDEPEND="dev-python/pygobject:2 + dev-python/pygtk:2 + x11-misc/xdg-utils + virtual/python-argparse" + +PATCHES=( "${FILESDIR}"/${PN}-0.7.8-desktopfile.patch ) +DOCS=( CHANGES ) + +python_test() { + distutils-r1_python_test + "${PYTHON}" test/testing.py || die +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + + einfo + elog "optional dependencies:" + elog " app-text/gtkspell:2 (spell checking)" + einfo +} + +pkg_postrm() { + gnome2_icon_cache_update +} |