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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Tue Jan 8 20:12:36 2013 UTC (5 years, 6 months ago) by nimiux
Branch: MAIN
Changes since 1.3: +2 -2 lines
Marked stable for amd64 wrt bug #450788

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key D628E536)

1 dirtyepic 1.3 # Copyright 1999-2013 Gentoo Foundation
2 dirtyepic 1.1 # Distributed under the terms of the GNU General Public License v2
3 nimiux 1.4 # $Header: /var/cvsroot/gentoo-x86/app-editors/editra/editra-0.7.12.ebuild,v 1.3 2013/01/08 04:31:27 dirtyepic Exp $
4 dirtyepic 1.1
5     EAPI=2
6     SUPPORT_PYTHON_ABIS=1
7 dirtyepic 1.3 PYTHON_DEPEND="2:2.6"
8     RESTRICT_PYTHON_ABIS="2.5 3.* *-jython 2.7-pypy-*"
9 dirtyepic 1.1
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 nimiux 1.4 KEYWORDS="amd64 ~x86"
21 dirtyepic 1.1 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 jlec 1.2 doicon "${S}"/pixmaps/editra.png
38 dirtyepic 1.1 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