public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/pykde4/
Date: Mon,  4 Feb 2013 17:31:57 +0000 (UTC)	[thread overview]
Message-ID: <1359999068.ad2e64dd0c5d7494d923c749d6f009cf5bf40400.kensington@gentoo> (raw)

commit:     ad2e64dd0c5d7494d923c749d6f009cf5bf40400
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  4 17:31:08 2013 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Feb  4 17:31:08 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=ad2e64dd

[kde-base/pykde4] Use run_in_build_dir. Add python-3.3 support.

Package-Manager: portage-2.1.11.50

---
 kde-base/pykde4/pykde4-4.10.0.ebuild       |   21 +++++----------------
 kde-base/pykde4/pykde4-4.10.49.9999.ebuild |   21 +++++----------------
 kde-base/pykde4/pykde4-4.9.98.ebuild       |   23 ++++++-----------------
 kde-base/pykde4/pykde4-9999.ebuild         |   21 +++++----------------
 4 files changed, 21 insertions(+), 65 deletions(-)

diff --git a/kde-base/pykde4/pykde4-4.10.0.ebuild b/kde-base/pykde4/pykde4-4.10.0.ebuild
index 999a9cb..28e4825 100644
--- a/kde-base/pykde4/pykde4-4.10.0.ebuild
+++ b/kde-base/pykde4/pykde4-4.10.0.ebuild
@@ -3,7 +3,7 @@
 # $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"
 
@@ -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
 

diff --git a/kde-base/pykde4/pykde4-4.10.49.9999.ebuild b/kde-base/pykde4/pykde4-4.10.49.9999.ebuild
index a7d4eff..7e1bbb8 100644
--- a/kde-base/pykde4/pykde4-4.10.49.9999.ebuild
+++ b/kde-base/pykde4/pykde4-4.10.49.9999.ebuild
@@ -3,7 +3,7 @@
 # $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"
 
@@ -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
 

diff --git a/kde-base/pykde4/pykde4-4.9.98.ebuild b/kde-base/pykde4/pykde4-4.9.98.ebuild
index a7d4eff..28e4825 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
 

diff --git a/kde-base/pykde4/pykde4-9999.ebuild b/kde-base/pykde4/pykde4-9999.ebuild
index a7d4eff..7e1bbb8 100644
--- a/kde-base/pykde4/pykde4-9999.ebuild
+++ b/kde-base/pykde4/pykde4-9999.ebuild
@@ -3,7 +3,7 @@
 # $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"
 
@@ -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
 


             reply	other threads:[~2013-02-04 17:32 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 17:31 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-07 21:49 [gentoo-commits] proj/kde:master commit in: kde-base/pykde4/ Johannes Huber
2014-09-02  8:33 Michael Palimaka
2014-08-06 15:44 Johannes Huber
2014-07-17 11:42 Michael Palimaka
2014-07-17 10:55 Michael Palimaka
2014-06-25  4:15 Jonathan Callen
2014-05-04 23:35 Johannes Huber
2014-05-01 22:46 Johannes Huber
2014-02-25  1:32 Chris Reffett
2013-11-04 12:29 Johannes Huber
2013-11-03 19:41 Andreas Hüttel
2013-10-17 19:26 Johannes Huber
2013-10-06 19:57 Chris Reffett
2013-08-09  5:44 Manuel Rüger
2013-08-08 10:58 Michael Palimaka
2013-08-05 18:51 Andreas Hüttel
2013-07-02 20:37 Johannes Huber
2013-06-30 15:51 Johannes Huber
2013-05-29 15:00 Michael Palimaka
2013-02-02 13:13 Michael Palimaka
2013-01-31  1:41 Jonathan Callen
2013-01-30 16:46 Michael Palimaka
2013-01-30 14:59 Marc Schiffbauer
2013-01-29 18:49 Michael Palimaka
2013-01-18 10:08 Andreas Hüttel
2013-01-17 16:50 Michael Palimaka
2012-12-29 12:33 Andreas Hüttel
2012-12-29 11:51 Andreas Hüttel
2012-12-29 10:03 Andreas Hüttel
2012-11-17 23:11 Andreas Hüttel
2012-06-08 11:12 Andreas Hüttel
2012-05-23 14:04 Michael Palimaka
2012-05-01 17:30 Andreas Hüttel
2012-03-07  2:42 Patrick Lauer
2011-09-07 21:43 Alexey Shvetsov
2011-07-31 21:56 Jonathan Callen
2011-07-12 21:03 Andreas Hüttel
2011-06-24 11:59 Jorge Manuel B. S. Vicetto
2011-06-21 21:51 Andreas Hüttel
2011-06-21 20:58 Andreas Hüttel
2011-05-24 15:12 Jorge Manuel B. S. Vicetto
2011-04-17 17:20 Maciej Mrozowski
2011-04-10  0:54 Marc Schiffbauer
2011-03-26 21:15 Andreas K. Huettel
2011-02-19  1:12 Jonathan Callen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1359999068.ad2e64dd0c5d7494d923c749d6f009cf5bf40400.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox