Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pyfftw/
Date: Wed, 23 Sep 2015 10:20:00
Message-Id: 1442990487.7432faf85f53435c898db232f970e1e1aa92df0d.jlec@gentoo
1 commit: 7432faf85f53435c898db232f970e1e1aa92df0d
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Wed Sep 23 06:41:27 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 23 06:41:27 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7432faf8
7
8 dev-python/pyfftw: Replace symlink
9
10 dev-python/pyfftw/pyfftw-0.9.2.ebuild | 37 ++++++++++++++++++++++++++++++++++-
11 dev-python/pyfftw/pyfftw-9999.ebuild | 12 ++----------
12 2 files changed, 38 insertions(+), 11 deletions(-)
13
14 diff --git a/dev-python/pyfftw/pyfftw-0.9.2.ebuild b/dev-python/pyfftw/pyfftw-0.9.2.ebuild
15 deleted file mode 120000
16 index c3e80cf..0000000
17 --- a/dev-python/pyfftw/pyfftw-0.9.2.ebuild
18 +++ /dev/null
19 @@ -1 +0,0 @@
20 -pyfftw-9999.ebuild
21 \ No newline at end of file
22
23 diff --git a/dev-python/pyfftw/pyfftw-0.9.2.ebuild b/dev-python/pyfftw/pyfftw-0.9.2.ebuild
24 new file mode 100644
25 index 0000000..6ccb3d3
26 --- /dev/null
27 +++ b/dev-python/pyfftw/pyfftw-0.9.2.ebuild
28 @@ -0,0 +1,36 @@
29 +# Copyright 1999-2015 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +# $Id$
32 +
33 +EAPI=5
34 +PYTHON_COMPAT=( python{2_7,3_3,3_4} )
35 +
36 +inherit distutils-r1
37 +
38 +MY_PN="pyFFTW"
39 +
40 +DESCRIPTION="FFTW wrapper for python"
41 +HOMEPAGE="http://hgomersall.github.io/pyFFTW/"
42 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
43 +KEYWORDS="~amd64"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +IUSE="test"
48 +
49 +S="${WORKDIR}/${MY_PN}-${PV}"
50 +
51 +RDEPEND="
52 + >=dev-python/numpy-1.8.0[${PYTHON_USEDEP}]
53 + >=sci-libs/fftw-3.3.3
54 + >=dev-python/cython-0.19.1[${PYTHON_USEDEP}]
55 + "
56 +DEPEND="${RDEPEND}"
57 +
58 +python_test() {
59 + distutils_install_for_testing
60 + cd "${TEST_DIR}"/lib || die
61 + cp "${S}"/setup.py "${TEST_DIR}"/lib/ || die
62 + cp -r "${S}"/test "${TEST_DIR}"/lib/ || die
63 + esetup.py test || die
64 +}
65
66 diff --git a/dev-python/pyfftw/pyfftw-9999.ebuild b/dev-python/pyfftw/pyfftw-9999.ebuild
67 index e1f59e9..300828a 100644
68 --- a/dev-python/pyfftw/pyfftw-9999.ebuild
69 +++ b/dev-python/pyfftw/pyfftw-9999.ebuild
70 @@ -5,21 +5,13 @@
71 EAPI=5
72 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
73
74 -inherit distutils-r1
75 +inherit distutils-r1 git-r3
76
77 MY_PN="pyFFTW"
78
79 DESCRIPTION="FFTW wrapper for python"
80 HOMEPAGE="http://hgomersall.github.io/pyFFTW/"
81 -
82 -if [ ${PV} == "9999" ] ; then
83 - inherit git-r3
84 - EGIT_REPO_URI="https://github.com/hgomersall/${MY_PN}.git git://github.com/hgomersall/${MY_PN}.git"
85 -else
86 - SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
87 - KEYWORDS="~amd64"
88 - S="${WORKDIR}/${MY_PN}-${PV}"
89 -fi
90 +EGIT_REPO_URI="https://github.com/hgomersall/${MY_PN}.git git://github.com/hgomersall/${MY_PN}.git"
91
92 LICENSE="BSD"
93 SLOT="0"