diff options
Diffstat (limited to 'dev-python/shiboken/shiboken-1.0.10.ebuild')
-rw-r--r-- | dev-python/shiboken/shiboken-1.0.10.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/shiboken/shiboken-1.0.10.ebuild b/dev-python/shiboken/shiboken-1.0.10.ebuild new file mode 100644 index 000000000000..76ad27e3dd99 --- /dev/null +++ b/dev-python/shiboken/shiboken-1.0.10.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.0.10.ebuild,v 1.1 2011/12/27 09:03:20 patrick Exp $ + +EAPI=3 + +PYTHON_DEPEND="2:2.5" + +inherit python versionator cmake-utils + +MY_PV=$(replace_version_separator '_' '~') +MY_P=${PN}-${MY_PV} + +DESCRIPTION="A tool for creating Python bindings for C++ libraries" +HOMEPAGE="http://www.pyside.org/" +SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug test" + +DEPEND=">=dev-python/apiextractor-0.10.8 + >=dev-python/generatorrunner-0.6.14 + >=x11-libs/qt-core-4.7.0" +RDEPEND="${DEPEND} + !dev-python/boostpythongenerator" + +PATCHES=( "${FILESDIR}/${PN}-1.0.9-fix-pkgconfig.patch" ) + +DOCS=( ChangeLog ) + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + python_set_active_version 2 +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_build test TESTS) + ) + cmake-utils_src_configure +} |