/[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.1 - (hide annotations) (download)
Mon Sep 3 00:24:27 2012 UTC (6 years, 3 months ago) by dirtyepic
Branch: MAIN
Version bump, remove old. Update desktop category.

(Portage version: 2.2.0_alpha123-r2/cvs/Linux x86_64)

1 dirtyepic 1.1 # Copyright 1999-2012 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.08.ebuild,v 1.1 2012/07/21 02:30:57 dirtyepic Exp $
4    
5     EAPI=2
6     SUPPORT_PYTHON_ABIS=1
7     PYTHON_DEPEND="2:2.5"
8     RESTRICT_PYTHON_ABIS="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     insinto /usr/share/pixmaps
38     doins "${S}"/pixmaps/editra.png
39     make_desktop_entry editra Editra editra "Utility;TextEditor"
40     dodoc FAQ THANKS
41     }
42    
43     pkg_postinst() {
44     distutils_pkg_postinst
45     fdo-mime_desktop_database_update
46     }
47    
48     pkg_postrm() {
49     distutils_pkg_postrm
50     fdo-mime_desktop_database_update
51     }

  ViewVC Help
Powered by ViewVC 1.1.20