summaryrefslogtreecommitdiff
blob: fc0290afc9876bf076e40cd8b91289cb9330378d (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/pyside-tools-0.1.3.ebuild,v 1.3 2010/08/25 17:16:17 ayoy Exp $

EAPI="2"

inherit cmake-utils python

DESCRIPTION="PySide development tools"
HOMEPAGE="http://www.pyside.org/"
SRC_URI="http://www.pyside.org/files/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug test"

DEPEND=">=dev-python/pyside-0.3.2
	>=x11-libs/qt-core-4.6.0
	>=x11-libs/qt-gui-4.6.0"
RDEPEND="${DEPEND}"

src_test() {
	cd "${S}"/tests/rcc
	./run_test.sh $(PYTHON -a) ./rcc_test.py ./example.qrc . \
		|| die "tests failed"
}

src_install() {
	cmake-utils_src_install
	dobin pyside-uic || die "installing pyside-uic failed"
	dodoc AUTHORS ChangeLog || die "dodoc failed"
}