From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6741F138247 for ; Wed, 4 Dec 2013 15:00:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94AB5E0B4B; Wed, 4 Dec 2013 15:00:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7A3DE0B3E for ; Wed, 4 Dec 2013 15:00:19 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6DB8933F450 for ; Wed, 4 Dec 2013 15:00:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4102D110017 for ; Wed, 4 Dec 2013 15:00:13 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1386168568.bb71e6df208df90cff5540e115b5bd2c0f21999d.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/mdp/ X-VCS-Repository: proj/sci X-VCS-Files: sci-mathematics/mdp/ChangeLog sci-mathematics/mdp/mdp-3.2.ebuild sci-mathematics/mdp/mdp-3.3.ebuild sci-mathematics/mdp/mdp-9999.ebuild X-VCS-Directories: sci-mathematics/mdp/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: bb71e6df208df90cff5540e115b5bd2c0f21999d X-VCS-Branch: master Date: Wed, 4 Dec 2013 15:00:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dd96152a-80f1-4e95-a88c-55324c7a87c0 X-Archives-Hash: bddbeb1fa943458ce7271e5d57bbeca8 commit: bb71e6df208df90cff5540e115b5bd2c0f21999d Author: Justin Lecher gentoo org> AuthorDate: Wed Dec 4 14:49:28 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Dec 4 14:49:28 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bb71e6df sci-mathematics/mdp: Version BUmp; Bump to distutils-r1 eclass Package-Manager: portage-2.2.7 --- sci-mathematics/mdp/ChangeLog | 4 ++++ .../mdp/{mdp-3.2.ebuild => mdp-3.3.ebuild} | 25 +++++++++++----------- sci-mathematics/mdp/mdp-9999.ebuild | 25 +++++++++++++--------- 3 files changed, 32 insertions(+), 22 deletions(-) diff --git a/sci-mathematics/mdp/ChangeLog b/sci-mathematics/mdp/ChangeLog index d86c6ba..005f815 100644 --- a/sci-mathematics/mdp/ChangeLog +++ b/sci-mathematics/mdp/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 04 Dec 2013; Justin Lecher -mdp-3.2.ebuild, + +mdp-3.3.ebuild, mdp-9999.ebuild: + Version BUmp; Bump to distutils-r1 eclass + 03 Mar 2013; Justin Lecher mdp-9999.ebuild, metadata.xml: Clean wrong space and blank lines diff --git a/sci-mathematics/mdp/mdp-3.2.ebuild b/sci-mathematics/mdp/mdp-3.3.ebuild similarity index 51% rename from sci-mathematics/mdp/mdp-3.2.ebuild rename to sci-mathematics/mdp/mdp-3.3.ebuild index 704be41..2a63003 100644 --- a/sci-mathematics/mdp/mdp-3.2.ebuild +++ b/sci-mathematics/mdp/mdp-3.3.ebuild @@ -1,14 +1,13 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="3" +EAPI=5 -PYTHON_DEPEND="2:2.5:2.7 3:3.1:3.2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.4" +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) +PYTHON_COMPAT=( python3_3 ) -inherit distutils +inherit distutils-r1 MY_P="${P/mdp/MDP}" MY_P="${MY_P/_rc/RC}" @@ -23,13 +22,15 @@ KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" -RDEPEND="|| ( >=dev-python/numpy-1.1 >=sci-libs/scipy-0.5.2 )" +RDEPEND="|| ( + >=dev-python/numpy-1.1[${PYTHON_USEDEP}] + >=sci-libs/scipy-0.5.2[${PYTHON_USEDEP}] + )" S="${WORKDIR}/${MY_P}" -src_test() { - testing() { - PYTHONPATH="build-${PYTHON_ABI}/src" "$(PYTHON)" -c "import mdp;mdp.test()" - } - python_execute_function testing +python_test() { + distutils_install_for_testing + cd "${BUILD_DIR}" || die + "${PYTHON}" -c "import mdp;mdp.test()" || die } diff --git a/sci-mathematics/mdp/mdp-9999.ebuild b/sci-mathematics/mdp/mdp-9999.ebuild index 73620f0..b344746 100644 --- a/sci-mathematics/mdp/mdp-9999.ebuild +++ b/sci-mathematics/mdp/mdp-9999.ebuild @@ -2,28 +2,33 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="3" +EAPI=5 -inherit distutils git-2 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit distutils-r1 git-r3 MY_P="${P/mdp/MDP}" MY_P="${MY_P/_rc/RC}" DESCRIPTION="Modular data processing framework for python" HOMEPAGE="http://mdp-toolkit.sourceforge.net/index.html" +SRC_URI="" EGIT_REPO_URI="git://github.com/mdp-toolkit/mdp-toolkit.git" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="" DEPEND="" -RDEPEND="|| ( >=dev-python/numpy-1.1 >=sci-libs/scipy-0.5.2 )" - -S="${WORKDIR}/${MY_P}" +RDEPEND="|| ( + >=dev-python/numpy-1.1[${PYTHON_USEDEP}] + >=sci-libs/scipy-0.5.2[${PYTHON_USEDEP}] + )" -src_test() { - testing() { - PYTHONPATH="build-${PYTHON_ABI}/src" "$(PYTHON)" -c "import mdp;mdp.test()" - } - python_execute_function testing +python_test() { + distutils_install_for_testing + cd "${BUILD_DIR}" || die + "${PYTHON}" -c "import mdp;mdp.test()" || die }