diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2013-02-05 04:31:08 +1100 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2013-02-05 04:31:08 +1100 |
| commit | ad2e64dd0c5d7494d923c749d6f009cf5bf40400 (patch) | |
| tree | 94c2f246f32fdb7463f45f02bdd8f7f27a5a8cca /kde-base/pykde4/pykde4-4.9.98.ebuild | |
| parent | 61a67a84d5ccf5f62b7ce2e8bf751d24c73575db (diff) | |
| download | kde-ad2e64dd0c5d7494d923c749d6f009cf5bf40400.tar.gz kde-ad2e64dd0c5d7494d923c749d6f009cf5bf40400.tar.bz2 kde-ad2e64dd0c5d7494d923c749d6f009cf5bf40400.zip | |
[kde-base/pykde4] Use run_in_build_dir. Add python-3.3 support.
Package-Manager: portage-2.1.11.50
Diffstat (limited to 'kde-base/pykde4/pykde4-4.9.98.ebuild')
| -rw-r--r-- | kde-base/pykde4/pykde4-4.9.98.ebuild | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/kde-base/pykde4/pykde4-4.9.98.ebuild b/kde-base/pykde4/pykde4-4.9.98.ebuild index a7d4eff4992..28e4825e010 100644 --- a/kde-base/pykde4/pykde4-4.9.98.ebuild +++ b/kde-base/pykde4/pykde4-4.9.98.ebuild @@ -3,14 +3,14 @@ # $Header: $ EAPI=5 -PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} ) +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} ) PYTHON_REQ_USE="threads" OPENGL_REQUIRED="always" inherit python-r1 portability kde4-base multilib DESCRIPTION="Python bindings for KDE4" -KEYWORDS="" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="debug doc examples semantic-desktop test" REQUIRED_USE="test? ( semantic-desktop )" @@ -73,7 +73,6 @@ src_prepare() { src_configure() { configuration() { - pushd "${BUILD_DIR}" > /dev/null local mycmakeargs=( -DWITH_PolkitQt=OFF -DWITH_QScintilla=OFF @@ -85,10 +84,9 @@ src_configure() { ) local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI} kde4-base_src_configure - popd > /dev/null } - python_foreach_impl configuration + python_foreach_impl run_in_build_dir configuration } echo_and_run() { @@ -98,12 +96,10 @@ echo_and_run() { src_compile() { compilation() { - pushd "${BUILD_DIR}" > /dev/null local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI} kde4-base_src_compile - popd > /dev/null } - python_foreach_impl compilation + python_foreach_impl run_in_build_dir compilation if ${have_python2}; then pushd "${WORKDIR}/wrapper" > /dev/null @@ -126,24 +122,17 @@ src_compile() { } src_test() { - testing() { - pushd "${BUILD_DIR}" > /dev/null - kde4-base_src_test - popd > /dev/null - } - python_foreach_impl testing + python_foreach_impl run_in_build_dir kde4-base_src_test } src_install() { installation() { - pushd "${BUILD_DIR}" > /dev/null emake DESTDIR="${D}" install - popd > /dev/null mv "${ED}"/usr/bin/pykdeuic4-{${EPYTHON/python/},${EPYTHON}} || die python_optimize } - python_foreach_impl installation + python_foreach_impl run_in_build_dir installation dosym python-exec /usr/bin/pykdeuic4 |
