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 7E47013881B for ; Wed, 23 Sep 2015 10:20:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA42C21C01E; Wed, 23 Sep 2015 10:19:59 +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 2A023E0856 for ; Wed, 23 Sep 2015 10:19:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A6DB3409FE for ; Wed, 23 Sep 2015 10:19:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B599D23E for ; Wed, 23 Sep 2015 10:19:55 +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: <1442990487.7432faf85f53435c898db232f970e1e1aa92df0d.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pyfftw/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/pyfftw/pyfftw-0.9.2.ebuild 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: 7432faf85f53435c898db232f970e1e1aa92df0d X-VCS-Branch: master Date: Wed, 23 Sep 2015 10:19:55 +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: a111f1e3-1606-4e4a-8ea2-2b7942c3f413 X-Archives-Hash: fb8d6edc186e14b282787c9805610ca0 commit: 7432faf85f53435c898db232f970e1e1aa92df0d Author: Marius Brehler linux sungazer de> AuthorDate: Wed Sep 23 06:41:27 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Sep 23 06:41:27 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7432faf8 dev-python/pyfftw: Replace symlink dev-python/pyfftw/pyfftw-0.9.2.ebuild | 37 ++++++++++++++++++++++++++++++++++- dev-python/pyfftw/pyfftw-9999.ebuild | 12 ++---------- 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/dev-python/pyfftw/pyfftw-0.9.2.ebuild b/dev-python/pyfftw/pyfftw-0.9.2.ebuild deleted file mode 120000 index c3e80cf..0000000 --- a/dev-python/pyfftw/pyfftw-0.9.2.ebuild +++ /dev/null @@ -1 +0,0 @@ -pyfftw-9999.ebuild \ No newline at end of file diff --git a/dev-python/pyfftw/pyfftw-0.9.2.ebuild b/dev-python/pyfftw/pyfftw-0.9.2.ebuild new file mode 100644 index 0000000..6ccb3d3 --- /dev/null +++ b/dev-python/pyfftw/pyfftw-0.9.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +MY_PN="pyFFTW" + +DESCRIPTION="FFTW wrapper for python" +HOMEPAGE="http://hgomersall.github.io/pyFFTW/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +KEYWORDS="~amd64" + +LICENSE="BSD" +SLOT="0" +IUSE="test" + +S="${WORKDIR}/${MY_PN}-${PV}" + +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}" + +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}"/lib || die + cp "${S}"/setup.py "${TEST_DIR}"/lib/ || die + cp -r "${S}"/test "${TEST_DIR}"/lib/ || die + esetup.py test || die +} diff --git a/dev-python/pyfftw/pyfftw-9999.ebuild b/dev-python/pyfftw/pyfftw-9999.ebuild index e1f59e9..300828a 100644 --- a/dev-python/pyfftw/pyfftw-9999.ebuild +++ b/dev-python/pyfftw/pyfftw-9999.ebuild @@ -5,21 +5,13 @@ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} ) -inherit distutils-r1 +inherit distutils-r1 git-r3 MY_PN="pyFFTW" DESCRIPTION="FFTW wrapper for python" HOMEPAGE="http://hgomersall.github.io/pyFFTW/" - -if [ ${PV} == "9999" ] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hgomersall/${MY_PN}.git git://github.com/hgomersall/${MY_PN}.git" -else - SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${MY_PN}-${PV}" -fi +EGIT_REPO_URI="https://github.com/hgomersall/${MY_PN}.git git://github.com/hgomersall/${MY_PN}.git" LICENSE="BSD" SLOT="0"