Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/spyking-circus/
Date: Thu, 31 Dec 2020 13:54:56
Message-Id: 1609422860.b6aeb6766d4080589509466509a2450e7dcf81d6.epsilon-0@gentoo
1 commit: b6aeb6766d4080589509466509a2450e7dcf81d6
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Thu Dec 31 13:41:51 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Thu Dec 31 13:54:20 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b6aeb676
7
8 sci-libs/spyking-circus: version bump, bump py targets
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12 Closes: https://github.com/gentoo/sci/pull/1019
13 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
14
15 .../spyking-circus/spyking-circus-0.9.6.ebuild | 39 ----------------------
16 ...us-0.9.9.ebuild => spyking-circus-1.0.6.ebuild} | 12 +++++--
17 2 files changed, 9 insertions(+), 42 deletions(-)
18
19 diff --git a/sci-libs/spyking-circus/spyking-circus-0.9.6.ebuild b/sci-libs/spyking-circus/spyking-circus-0.9.6.ebuild
20 deleted file mode 100644
21 index 8c610c478..000000000
22 --- a/sci-libs/spyking-circus/spyking-circus-0.9.6.ebuild
23 +++ /dev/null
24 @@ -1,39 +0,0 @@
25 -# Copyright 1999-2020 Gentoo Authors
26 -# Distributed under the terms of the GNU General Public License v2
27 -
28 -EAPI=7
29 -PYTHON_COMPAT=( python3_{6,7} )
30 -
31 -inherit distutils-r1
32 -
33 -DESCRIPTION="Fast and scalable spike sorting in Python"
34 -HOMEPAGE="http://spyking-circus.rtfd.org"
35 -SRC_URI="https://github.com/spyking-circus/spyking-circus/archive/${PV}.tar.gz"
36 -
37 -LICENSE="CeCILL-2"
38 -SLOT="0"
39 -KEYWORDS="~amd64 ~x86"
40 -IUSE="test"
41 -
42 -RDEPEND="
43 - dev-python/mpi4py[${PYTHON_USEDEP}]
44 - dev-python/numpy[${PYTHON_USEDEP}]
45 - dev-python/cython[${PYTHON_USEDEP}]
46 - dev-python/scipy[${PYTHON_USEDEP}]
47 - dev-python/matplotlib[${PYTHON_USEDEP}]
48 - dev-python/h5py[${PYTHON_USEDEP}]
49 - dev-python/colorama[${PYTHON_USEDEP}]
50 - dev-python/psutil[${PYTHON_USEDEP}]
51 - dev-python/tqdm[${PYTHON_USEDEP}]
52 - dev-python/blosc[${PYTHON_USEDEP}]
53 - dev-python/statsmodels[${PYTHON_USEDEP}]
54 -"
55 -DEPEND=""
56 -
57 -# Tests do not yet work as per upstream, also a qt5 dependency may need to be added for them in the future:
58 -# https://github.com/spyking-circus/spyking-circus/issues/234
59 -
60 -RESTRICT="test"
61 -python_test() {
62 - nosetests || die "Tests failed under ${EPYTHON}"
63 -}
64
65 diff --git a/sci-libs/spyking-circus/spyking-circus-0.9.9.ebuild b/sci-libs/spyking-circus/spyking-circus-1.0.6.ebuild
66 similarity index 85%
67 rename from sci-libs/spyking-circus/spyking-circus-0.9.9.ebuild
68 rename to sci-libs/spyking-circus/spyking-circus-1.0.6.ebuild
69 index ec6f5ee6c..b0881a38a 100644
70 --- a/sci-libs/spyking-circus/spyking-circus-0.9.9.ebuild
71 +++ b/sci-libs/spyking-circus/spyking-circus-1.0.6.ebuild
72 @@ -3,17 +3,20 @@
73
74 EAPI=7
75
76 -PYTHON_COMPAT=( python3_{6..8} )
77 +PYTHON_COMPAT=( python3_{7..9} )
78
79 inherit distutils-r1
80
81 DESCRIPTION="Fast spike sorting by template matching"
82 HOMEPAGE="https://github.com/spyking-circus/spyking-circus/"
83 SRC_URI="https://github.com/spyking-circus/spyking-circus/archive/${PV}.tar.gz"
84 -LICENSE="CeCILL-2"
85
86 +LICENSE="CeCILL-2"
87 SLOT="0"
88 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
89 +KEYWORDS="~amd64 ~x86"
90 +
91 +# TODO: Fix this
92 +RESTRICT="test"
93
94 RDEPEND="
95 >=dev-python/blosc-1.8[${PYTHON_USEDEP}]
96 @@ -32,3 +35,6 @@ RDEPEND="
97 || ( <=sys-cluster/openmpi-3.0.0 >=sys-cluster/mpich-2.0 )
98 "
99 DEPEND="${RDEPEND}"
100 +
101 +distutils_enable_sphinx docs_sphinx --no-autodoc
102 +distutils_enable_tests --install pytest