summaryrefslogtreecommitdiff
blob: 85053671493bbb1f56db19285a75f4ea7310a483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-0.5.1-r1.ebuild,v 1.1 2010/12/29 06:42:20 ayoy Exp $

EAPI="2"

PYTHON_DEPEND="2:2.5"

inherit cmake-utils python

DESCRIPTION="A tool for creating Python bindings for C++ libraries"
HOMEPAGE="http://www.pyside.org/"
SRC_URI="http://www.pyside.org/files/${P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

DEPEND=">=dev-python/apiextractor-0.8.1
	>=dev-python/generatorrunner-0.6.1
	>=x11-libs/qt-core-4.5.0"
RDEPEND="${DEPEND}
	!dev-python/boostpythongenerator"

PATCHES=( "${FILESDIR}/${P}-fix-pkgconfig.patch" )

pkg_setup() {
	python_set_active_version 2
}

src_install() {
	cmake-utils_src_install
	dodoc ChangeLog || die "dodoc failed"
}