commit:     b6aeb6766d4080589509466509a2450e7dcf81d6
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Dec 31 13:41:51 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Dec 31 13:54:20 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b6aeb676

sci-libs/spyking-circus: version bump, bump py targets

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
Closes: https://github.com/gentoo/sci/pull/1019
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 .../spyking-circus/spyking-circus-0.9.6.ebuild     | 39 ----------------------
 ...us-0.9.9.ebuild => spyking-circus-1.0.6.ebuild} | 12 +++++--
 2 files changed, 9 insertions(+), 42 deletions(-)

diff --git a/sci-libs/spyking-circus/spyking-circus-0.9.6.ebuild 
b/sci-libs/spyking-circus/spyking-circus-0.9.6.ebuild
deleted file mode 100644
index 8c610c478..000000000
--- a/sci-libs/spyking-circus/spyking-circus-0.9.6.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit distutils-r1
-
-DESCRIPTION="Fast and scalable spike sorting in Python"
-HOMEPAGE="http://spyking-circus.rtfd.org";
-SRC_URI="https://github.com/spyking-circus/spyking-circus/archive/${PV}.tar.gz";
-
-LICENSE="CeCILL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RDEPEND="
-       dev-python/mpi4py[${PYTHON_USEDEP}]
-       dev-python/numpy[${PYTHON_USEDEP}]
-       dev-python/cython[${PYTHON_USEDEP}]
-       dev-python/scipy[${PYTHON_USEDEP}]
-       dev-python/matplotlib[${PYTHON_USEDEP}]
-       dev-python/h5py[${PYTHON_USEDEP}]
-       dev-python/colorama[${PYTHON_USEDEP}]
-       dev-python/psutil[${PYTHON_USEDEP}]
-       dev-python/tqdm[${PYTHON_USEDEP}]
-       dev-python/blosc[${PYTHON_USEDEP}]
-       dev-python/statsmodels[${PYTHON_USEDEP}]
-"
-DEPEND=""
-
-# Tests do not yet work as per upstream, also a qt5 dependency may need to be 
added for them in the future:
-# https://github.com/spyking-circus/spyking-circus/issues/234
-
-RESTRICT="test"
-python_test() {
-       nosetests || die "Tests failed under ${EPYTHON}"
-}

diff --git a/sci-libs/spyking-circus/spyking-circus-0.9.9.ebuild 
b/sci-libs/spyking-circus/spyking-circus-1.0.6.ebuild
similarity index 85%
rename from sci-libs/spyking-circus/spyking-circus-0.9.9.ebuild
rename to sci-libs/spyking-circus/spyking-circus-1.0.6.ebuild
index ec6f5ee6c..b0881a38a 100644
--- a/sci-libs/spyking-circus/spyking-circus-0.9.9.ebuild
+++ b/sci-libs/spyking-circus/spyking-circus-1.0.6.ebuild
@@ -3,17 +3,20 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6..8} )
+PYTHON_COMPAT=( python3_{7..9} )
 
 inherit distutils-r1
 
 DESCRIPTION="Fast spike sorting by template matching"
 HOMEPAGE="https://github.com/spyking-circus/spyking-circus/";
 SRC_URI="https://github.com/spyking-circus/spyking-circus/archive/${PV}.tar.gz";
-LICENSE="CeCILL-2"
 
+LICENSE="CeCILL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~x86"
+
+# TODO: Fix this
+RESTRICT="test"
 
 RDEPEND="
        >=dev-python/blosc-1.8[${PYTHON_USEDEP}]
@@ -32,3 +35,6 @@ RDEPEND="
        || ( <=sys-cluster/openmpi-3.0.0 >=sys-cluster/mpich-2.0 )
 "
 DEPEND="${RDEPEND}"
+
+distutils_enable_sphinx docs_sphinx --no-autodoc
+distutils_enable_tests --install pytest

Reply via email to