commit: 7432faf85f53435c898db232f970e1e1aa92df0d
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Wed Sep 23 06:41:27 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> 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"