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 261C3138C9D for ; Wed, 3 Jun 2015 10:21:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A397EE0831; Wed, 3 Jun 2015 10:21:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33ED3E0869 for ; Wed, 3 Jun 2015 10:21:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1D784340CD2 for ; Wed, 3 Jun 2015 10:21:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C30BCA17 for ; Wed, 3 Jun 2015 10:21:35 +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: <1432977741.9fbb6c322745d7684c0ff6cee95f28336798402f.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pyfftw/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/pyfftw/ChangeLog dev-python/pyfftw/pyfftw-9999.ebuild X-VCS-Directories: dev-python/pyfftw/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 9fbb6c322745d7684c0ff6cee95f28336798402f X-VCS-Branch: master Date: Wed, 3 Jun 2015 10:21:35 +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: 6b58ca9e-fcd9-4b3d-b15f-c47d36a0aed8 X-Archives-Hash: 38d18313b520b6709c9ace3b8a0b5466 commit: 9fbb6c322745d7684c0ff6cee95f28336798402f Author: Marius Brehler linux sungazer de> AuthorDate: Sat May 30 09:22:21 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sat May 30 09:22:21 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9fbb6c32 dev-python/pyfftw: Implement python_test() Package-Manager: portage-2.2.18 dev-python/pyfftw/ChangeLog | 3 +++ dev-python/pyfftw/pyfftw-9999.ebuild | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dev-python/pyfftw/ChangeLog b/dev-python/pyfftw/ChangeLog index 3c19f1e..abebe19 100644 --- a/dev-python/pyfftw/ChangeLog +++ b/dev-python/pyfftw/ChangeLog @@ -1,6 +1,9 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 30 May 2015; Marius Brehler pyfftw-9999.ebuild: + Implement python_test() + *pyfftw-9999 (04 Feb 2015) *pyfftw-0.9.2 (04 Feb 2015) diff --git a/dev-python/pyfftw/pyfftw-9999.ebuild b/dev-python/pyfftw/pyfftw-9999.ebuild index 962cf05..ff5aea1 100644 --- a/dev-python/pyfftw/pyfftw-9999.ebuild +++ b/dev-python/pyfftw/pyfftw-9999.ebuild @@ -23,10 +23,18 @@ fi LICENSE="BSD" SLOT="0" +IUSE="test" RDEPEND=" >=dev-python/numpy-1.8.0[${PYTHON_USEDEP}] >=sci-libs/fftw-3.3.3 >=dev-python/cython-0.19.1[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + " + +python_test() { + distutils_install_for_testing + esetup.py test || die +}