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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Aug 6 07:21:52 2015 UTC (4 years, 11 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #539436

(Portage version: 2.2.20/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 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.20-r1.ebuild,v 1.2 2015/08/03 12:55:08 ago Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8
9 inherit distutils-r1 eutils fdo-mime
10
11 MY_PN=${PN/e/E}
12
13 DESCRIPTION="Multi-platform text editor supporting over 50 programming languages"
14 HOMEPAGE="http://editra.org http://pypi.python.org/pypi/Editra"
15 SRC_URI="http://editra.org/uploads/src/${MY_PN}-${PV}.tar.gz"
16
17 LICENSE="wxWinLL-3.1"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE="spell"
21
22 DEPEND="
23 >=dev-python/wxpython-2.8.9.2:2.8[${PYTHON_USEDEP}]
24 >=dev-python/setuptools-0.6[${PYTHON_USEDEP}]"
25 # setuptools is RDEPEND because it's used by the runtime for installing plugins
26 RDEPEND="${DEPEND}
27 spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )"
28
29 S="${WORKDIR}"/${MY_PN}-${PV}
30
31 python_compile() {
32 # http://code.google.com/p/editra/issues/detail?id=481
33 distutils-r1_python_compile --no-clean
34 }
35
36 python_install() {
37 distutils-r1_python_install --no-clean
38 }
39
40 python_install_all() {
41 distutils-r1_python_install_all
42
43 doicon "${S}"/pixmaps/editra.png
44 make_desktop_entry editra Editra editra "Utility;TextEditor"
45 dodoc FAQ THANKS
46 }
47
48 pkg_postinst() {
49 fdo-mime_desktop_database_update
50 }
51
52 pkg_postrm() {
53 fdo-mime_desktop_database_update
54 }

  ViewVC Help
Powered by ViewVC 1.1.20