/[gentoo-x86]/app-editors/editra/editra-0.7.20.ebuild
Gentoo

Contents of /app-editors/editra/editra-0.7.20.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jan 8 04:31:28 2013 UTC (20 months, 1 week ago) by dirtyepic
Branch: MAIN
Version bump. Drop python 2.5 support as it's been broken for the last three
releases and no one noticed. Remove old.

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 957A8463)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/editra/editra-0.7.12.ebuild,v 1.2 2012/09/05 08:40:44 jlec Exp $
4
5 EAPI=5
6 SUPPORT_PYTHON_ABIS=1
7 PYTHON_DEPEND="2:2.6"
8 RESTRICT_PYTHON_ABIS="2.5 3.* *-jython 2.7-pypy-*"
9
10 inherit distutils eutils fdo-mime python
11
12 MY_PN=${PN/e/E}
13
14 DESCRIPTION="Multi-platform text editor supporting over 50 programming languages."
15 HOMEPAGE="http://editra.org http://pypi.python.org/pypi/Editra"
16 SRC_URI="http://editra.org/uploads/src/${MY_PN}-${PV}.tar.gz"
17
18 LICENSE="wxWinLL-3.1"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="spell"
22
23 DEPEND=">=dev-python/wxpython-2.8.9.2:2.8
24 >=dev-python/setuptools-0.6"
25 # setuptools is RDEPEND because it's used by the runtime for installing plugins
26 RDEPEND="${DEPEND}
27 spell? ( dev-python/pyenchant )"
28
29 S="${WORKDIR}"/${MY_PN}-${PV}
30
31 src_compile() {
32 distutils_src_compile --no-clean # http://code.google.com/p/editra/issues/detail?id=481
33 }
34
35 src_install() {
36 distutils_src_install --no-clean
37 doicon "${S}"/pixmaps/editra.png
38 make_desktop_entry editra Editra editra "Utility;TextEditor"
39 dodoc FAQ THANKS
40 }
41
42 pkg_postinst() {
43 distutils_pkg_postinst
44 fdo-mime_desktop_database_update
45 }
46
47 pkg_postrm() {
48 distutils_pkg_postrm
49 fdo-mime_desktop_database_update
50 }

  ViewVC Help
Powered by ViewVC 1.1.20