diff options
Diffstat (limited to 'app-editors/editra')
-rw-r--r-- | app-editors/editra/Manifest | 1 | ||||
-rw-r--r-- | app-editors/editra/editra-0.7.20-r1.ebuild | 54 | ||||
-rw-r--r-- | app-editors/editra/editra-0.7.20.ebuild | 50 | ||||
-rw-r--r-- | app-editors/editra/metadata.xml | 5 |
4 files changed, 110 insertions, 0 deletions
diff --git a/app-editors/editra/Manifest b/app-editors/editra/Manifest new file mode 100644 index 000000000000..ed31fdbe257b --- /dev/null +++ b/app-editors/editra/Manifest @@ -0,0 +1 @@ +DIST Editra-0.7.20.tar.gz 4072243 SHA256 ed515bca58d87d9a2b3085f322a9fe7c6d1407a3b05db1434f80ea8f7e42ccc0 SHA512 e568ce2a5f04300c33223bf7a0e6fbc52d0a51c3472afb9b613fe21cfbeba0b9b453d87837e52c7c48050fc266ff5ff194a42f797053f21f0a25cd5c4579febe WHIRLPOOL ecfbc9610ba707aaad4995f9832e0f2bf2d79e56a5fadb27ae6c5b671c0f69a166c3d2d37163141789629a30fe56fbeb59c05c0203ae9201e2447ea479f52c55 diff --git a/app-editors/editra/editra-0.7.20-r1.ebuild b/app-editors/editra/editra-0.7.20-r1.ebuild new file mode 100644 index 000000000000..ee0f358044f4 --- /dev/null +++ b/app-editors/editra/editra-0.7.20-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils fdo-mime + +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[${PYTHON_USEDEP}] + >=dev-python/setuptools-0.6[${PYTHON_USEDEP}]" +# setuptools is RDEPEND because it's used by the runtime for installing plugins +RDEPEND="${DEPEND} + spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )" + +S="${WORKDIR}"/${MY_PN}-${PV} + +python_compile() { + # http://code.google.com/p/editra/issues/detail?id=481 + distutils-r1_python_compile --no-clean +} + +python_install() { + distutils-r1_python_install --no-clean +} + +python_install_all() { + distutils-r1_python_install_all + + doicon "${S}"/pixmaps/editra.png + make_desktop_entry editra Editra editra "Utility;TextEditor" + dodoc FAQ THANKS +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/app-editors/editra/editra-0.7.20.ebuild b/app-editors/editra/editra-0.7.20.ebuild new file mode 100644 index 000000000000..86a005ef1bb1 --- /dev/null +++ b/app-editors/editra/editra-0.7.20.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +SUPPORT_PYTHON_ABIS=1 +PYTHON_DEPEND="2:2.6" +RESTRICT_PYTHON_ABIS="2.5 3.* *-jython 2.7-pypy-*" + +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 )" + +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 + doicon "${S}"/pixmaps/editra.png + make_desktop_entry editra Editra editra "Utility;TextEditor" + dodoc FAQ THANKS +} + +pkg_postinst() { + distutils_pkg_postinst + fdo-mime_desktop_database_update +} + +pkg_postrm() { + distutils_pkg_postrm + fdo-mime_desktop_database_update +} diff --git a/app-editors/editra/metadata.xml b/app-editors/editra/metadata.xml new file mode 100644 index 000000000000..a191ef54b9b3 --- /dev/null +++ b/app-editors/editra/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>wxwidgets</herd> +</pkgmetadata> |