/[gentoo-x86]/dev-python/qscintilla-python/qscintilla-python-2.4.6.ebuild
Gentoo

Contents of /dev-python/qscintilla-python/qscintilla-python-2.4.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jun 27 13:42:26 2012 UTC (2 years, 5 months ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump and remove old.

(Portage version: 2.2.0_alpha113/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.4.6.ebuild,v 1.3 2012/03/25 17:59:08 pesa Exp $
4
5 EAPI="3"
6 PYTHON_EXPORT_PHASE_FUNCTIONS="1"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
9
10 inherit eutils python toolchain-funcs
11
12 MY_P="QScintilla-gpl-${PV/_pre/-snapshot-}"
13
14 DESCRIPTION="Python bindings for Qscintilla"
15 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
16 SRC_URI="http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/${MY_P}.tar.gz"
17
18 LICENSE="|| ( GPL-2 GPL-3 )"
19 SLOT="0"
20 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
21 IUSE="debug"
22
23 DEPEND=">=dev-python/sip-4.10
24 >=dev-python/PyQt4-4.7[X]
25 ~x11-libs/qscintilla-${PV}"
26 RDEPEND="${DEPEND}"
27
28 S="${WORKDIR}/${MY_P}/Python"
29
30 src_prepare() {
31 epatch "${FILESDIR}"/${PN}-2.4-nostrip.patch
32
33 python_copy_sources
34 }
35
36 src_configure() {
37 configuration() {
38 local myconf=("$(PYTHON)"
39 configure.py
40 -p 4
41 --destdir="${EPREFIX}$(python_get_sitedir)/PyQt4"
42 $(use debug && echo --debug))
43 echo "${myconf[@]}"
44 "${myconf[@]}"
45 }
46 python_execute_function -s configuration
47 }
48
49 src_compile() {
50 building() {
51 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)"
52 }
53 python_execute_function -s building
54 }

  ViewVC Help
Powered by ViewVC 1.1.20