summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2011-01-16 06:56:25 +0000
committerRyan Hill <dirtyepic@gentoo.org>2011-01-16 06:56:25 +0000
commitca2e4f8f359cfd183aa0f9a0f8db903f0398f64a (patch)
tree698d65c36f244f5f9b781cabaff943590d1b509f /app-editors/editra
parent0.7.40 version bump. (diff)
downloadgentoo-2-ca2e4f8f359cfd183aa0f9a0f8db903f0398f64a.tar.gz
gentoo-2-ca2e4f8f359cfd183aa0f9a0f8db903f0398f64a.tar.bz2
gentoo-2-ca2e4f8f359cfd183aa0f9a0f8db903f0398f64a.zip
Version bump.
(Portage version: 2.2.0_alpha15/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/editra')
-rw-r--r--app-editors/editra/ChangeLog9
-rw-r--r--app-editors/editra/editra-0.6.0.ebuild52
2 files changed, 59 insertions, 2 deletions
diff --git a/app-editors/editra/ChangeLog b/app-editors/editra/ChangeLog
index 4a39026e458e..86c517609dab 100644
--- a/app-editors/editra/ChangeLog
+++ b/app-editors/editra/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/editra
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/editra/ChangeLog,v 1.18 2010/12/08 00:45:39 dirtyepic Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/editra/ChangeLog,v 1.19 2011/01/16 06:56:25 dirtyepic Exp $
+
+*editra-0.6.0 (16 Jan 2011)
+
+ 16 Jan 2011; Ryan Hill <dirtyepic@gentoo.org> +editra-0.6.0.ebuild:
+ Version bump.
*editra-0.5.99 (08 Dec 2010)
diff --git a/app-editors/editra/editra-0.6.0.ebuild b/app-editors/editra/editra-0.6.0.ebuild
new file mode 100644
index 000000000000..3c4736b8a734
--- /dev/null
+++ b/app-editors/editra/editra-0.6.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/editra/editra-0.6.0.ebuild,v 1.1 2011/01/16 06:56:25 dirtyepic Exp $
+
+EAPI=2
+SUPPORT_PYTHON_ABIS=1
+PYTHON_DEPEND="2:2.5"
+
+inherit distutils eutils fdo-mime python
+
+MY_PN=${PN/e/E}
+
+DESCRIPTION="Multi-platform text editor supporting over 50 programming languages."
+HOMEPAGE="http://editra.org http://pypi.python.org/pypi/Editra"
+SRC_URI="http://editra.org/uploads/src/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="wxWinLL-3.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="spell"
+
+DEPEND=">=dev-python/wxpython-2.8.9.2:2.8
+ >=dev-python/setuptools-0.6"
+# setuptools is RDEPEND because it's used by the runtime for installing plugins
+RDEPEND="${DEPEND}
+ spell? ( dev-python/pyenchant )"
+
+RESTRICT_PYTHON_ABIS="3.*"
+
+S="${WORKDIR}"/${MY_PN}-${PV}
+
+src_compile() {
+ distutils_src_compile --no-clean # http://code.google.com/p/editra/issues/detail?id=481
+}
+
+src_install() {
+ distutils_src_install --no-clean
+ insinto /usr/share/pixmaps
+ doins "${S}"/pixmaps/editra.png
+ make_desktop_entry Editra Editra editra "Development;TextEditor"
+ dodoc FAQ THANKS
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+}