From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C2E5715ACFC for ; Tue, 2 May 2023 21:52:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7624CE08BB; Tue, 2 May 2023 21:52:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42462E08BB for ; Tue, 2 May 2023 21:52:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1387F3416DD for ; Tue, 2 May 2023 21:52:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 985308B7 for ; Tue, 2 May 2023 21:52:14 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1683055762.053104aaf88b9c2dd64c850242b9249968881b0e.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/neo/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/neo/metadata.xml dev-python/neo/neo-0.11.0.ebuild dev-python/neo/neo-0.11.1.ebuild X-VCS-Directories: dev-python/neo/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 053104aaf88b9c2dd64c850242b9249968881b0e X-VCS-Branch: master Date: Tue, 2 May 2023 21:52:14 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4898ff4f-94d0-4d77-9c5f-01e3b586f6fa X-Archives-Hash: 35945cf6b1cbe23687a72482ba61689c commit: 053104aaf88b9c2dd64c850242b9249968881b0e Author: Horea Christian chymera eu> AuthorDate: Tue May 2 19:28:52 2023 +0000 Commit: Horea Christian gmail com> CommitDate: Tue May 2 19:29:22 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=053104aa dev-python/neo: brought back This reverts commit bc1b39b9d1c02d4006dd5f82bbd466913ac51c58. Signed-off-by: Horea Christian chymera.eu> dev-python/neo/metadata.xml | 23 +++++++++++++++ dev-python/neo/neo-0.11.0.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++ dev-python/neo/neo-0.11.1.ebuild | 55 +++++++++++++++++++++++++++++++++++ 3 files changed, 140 insertions(+) diff --git a/dev-python/neo/metadata.xml b/dev-python/neo/metadata.xml new file mode 100644 index 000000000..5a50da2a7 --- /dev/null +++ b/dev-python/neo/metadata.xml @@ -0,0 +1,23 @@ + + + + + gentoo@chymera.eu + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + Neo is a Python package for working with electrophysiology data in Python, + together with support for reading a wide range of neurophysiology file + formats, including Spike2, NeuroExplorer, AlphaOmega, Axon, Blackrock, + Plexon, Tdt, and support for writing to a subset of these formats plus + non-proprietary formats including HDF5. + + + NeuralEnsemble/python-neo + neo + + diff --git a/dev-python/neo/neo-0.11.0.ebuild b/dev-python/neo/neo-0.11.0.ebuild new file mode 100644 index 000000000..c66b2b951 --- /dev/null +++ b/dev-python/neo/neo-0.11.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +MY_PN="python-neo" + +DESCRIPTION="Read and represent a wide range of neurophysiology file formats in Python" +HOMEPAGE="https://github.com/NeuralEnsemble/python-neo" +SRC_URI="https://github.com/NeuralEnsemble/python-neo/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/quantities[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/probeinterface[${PYTHON_USEDEP}] + dev-python/pynwb[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/datalad[${PYTHON_USEDEP}] + ) +" +# Testing deps also need: +# igor +# pyedflib https://github.com/holgern/pyedflib +# klusta +# nixio +# sonpy +# ipython + +S="${WORKDIR}/${MY_PN}-${PV}" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + neo/test/utils/test_datasets.py::TestDownloadDataset::test_download_dataset +) + +# Reported upstream +# https://github.com/NeuralEnsemble/python-neo/issues/1037 +python_test() { + local EPYTEST_IGNORE=( + neo/test/iotest/* + neo/test/rawiotest/* + ) + epytest +} diff --git a/dev-python/neo/neo-0.11.1.ebuild b/dev-python/neo/neo-0.11.1.ebuild new file mode 100644 index 000000000..c7a36d0e3 --- /dev/null +++ b/dev-python/neo/neo-0.11.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Read and represent a wide range of neurophysiology file formats in Python" +HOMEPAGE="https://github.com/NeuralEnsemble/python-neo" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +#SRC_URI="https://github.com/NeuralEnsemble/python-neo/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/quantities[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/probeinterface[${PYTHON_USEDEP}] + dev-python/pynwb[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/datalad[${PYTHON_USEDEP}] + ) +" +# Testing deps also need: +# igor +# pyedflib https://github.com/holgern/pyedflib +# klusta +# nixio +# sonpy +# ipython + +distutils_enable_tests pytest + +# Reported upstream +# https://github.com/NeuralEnsemble/python-neo/issues/1037 +python_test() { + local EPYTEST_IGNORE=( + neo/test/iotest/* + neo/test/rawiotest/* + ) + epytest +}