summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-08-14 08:23:20 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-08-14 08:23:20 +0000
commited1ac3fe918e73f47ee810e3086e5e84067c3f3b (patch)
treed61ff0d5b4b55095eac0df27612842b7dadfd2bb /app-text
parentinitial commit (diff)
downloadgentoo-2-ed1ac3fe918e73f47ee810e3086e5e84067c3f3b.tar.gz
gentoo-2-ed1ac3fe918e73f47ee810e3086e5e84067c3f3b.tar.bz2
gentoo-2-ed1ac3fe918e73f47ee810e3086e5e84067c3f3b.zip
version bump, inherit python eclass explicitly
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/keepnote/ChangeLog8
-rw-r--r--app-text/keepnote/keepnote-0.7.8.ebuild4
-rw-r--r--app-text/keepnote/keepnote-0.7.9.ebuild59
3 files changed, 68 insertions, 3 deletions
diff --git a/app-text/keepnote/ChangeLog b/app-text/keepnote/ChangeLog
index 416bdfcb43b1..253f2724deaa 100644
--- a/app-text/keepnote/ChangeLog
+++ b/app-text/keepnote/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/keepnote
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/keepnote/ChangeLog,v 1.1 2012/08/14 08:18:33 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/keepnote/ChangeLog,v 1.2 2012/08/14 08:23:19 hasufell Exp $
+
+*keepnote-0.7.9 (14 Aug 2012)
+
+ 14 Aug 2012; Julian Ospald <hasufell@gentoo.org> keepnote-0.7.8.ebuild,
+ +keepnote-0.7.9.ebuild:
+ version bump, inherit python eclass explicitly
*keepnote-0.7.8 (14 Aug 2012)
diff --git a/app-text/keepnote/keepnote-0.7.8.ebuild b/app-text/keepnote/keepnote-0.7.8.ebuild
index c2ce875e1c1c..5c1347bd37fd 100644
--- a/app-text/keepnote/keepnote-0.7.8.ebuild
+++ b/app-text/keepnote/keepnote-0.7.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/keepnote/keepnote-0.7.8.ebuild,v 1.1 2012/08/14 08:18:33 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/keepnote/keepnote-0.7.8.ebuild,v 1.2 2012/08/14 08:23:20 hasufell Exp $
EAPI=4
@@ -9,7 +9,7 @@ PYTHON_USE_WITH="sqlite xml"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.[45] 3.*"
-inherit eutils gnome2-utils distutils
+inherit eutils gnome2-utils python distutils
DESCRIPTION="A note taking application"
HOMEPAGE="http://keepnote.org/"
diff --git a/app-text/keepnote/keepnote-0.7.9.ebuild b/app-text/keepnote/keepnote-0.7.9.ebuild
new file mode 100644
index 000000000000..1eaf23ca6638
--- /dev/null
+++ b/app-text/keepnote/keepnote-0.7.9.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 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.ebuild,v 1.1 2012/08/14 08:23:19 hasufell Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.6"
+PYTHON_USE_WITH="sqlite xml"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.[45] 3.*"
+
+inherit eutils gnome2-utils python distutils
+
+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"
+
+DOCS="CHANGES"
+
+src_prepare() {
+ distutils_src_prepare
+
+ epatch "${FILESDIR}"/${PN}-0.7.8-desktopfile.patch
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/testing.py
+ }
+ python_execute_function testing
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ gnome2_icon_cache_update
+
+ einfo
+ elog "optional dependencies:"
+ elog " app-text/gtkspell:2 (spell checking)"
+ einfo
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ gnome2_icon_cache_update
+}