dev-python/neo: merged in Gentoo ::science
https://gitweb.gentoo.org/proj/sci.git/commit/?id=a020e3fc5daa38926c05fedc5d4de784f26cc172
This commit is contained in:
parent
db437a89be
commit
049df8f6a5
@ -1,2 +0,0 @@
|
||||
DIST neo-0.11.0.tar.gz 9411608 BLAKE2B 9257fd8ff9eea8ec80b0a4eb701b63a9db10d51e6f145b704eb5e9a394dd13a5c6e567cb3469fa4d86f538637f80e9c660823d358bb7ddfd651291dc5df73450 SHA512 dab4832317c8dc6a794ffc9fb118124734fa2428c0527eb9c86bc3d35195a34bdb162bc0a44a3604cb8067fff7263ab5b106c0f9871007a093e7185df5ba9993
|
||||
DIST neo-0.11.1.tar.gz 3906151 BLAKE2B 26b60c715d6f3ec017cdb909c1f54b1509db4862f0630ab6d60b4b07153d5cb8512fbf16dd9039d1998b08e0f9e828bb271d4f482cc2d34a5d17a010ef4d203b SHA512 1f93a9eea020ee40f792f038bef76e053ff4f6e05951f78afa70bf4009bac3da8222be57c2cee88ae5e7539c5c8978cf50bf52cce787dbacafe6d5450d5e1aa7
|
@ -1,23 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@chymera.eu</email>
|
||||
<name>Horea Christian</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>sci@gentoo.org</email>
|
||||
<name>Gentoo Science Project</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
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.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">NeuralEnsemble/python-neo</remote-id>
|
||||
<remote-id type="pypi">neo</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,62 +0,0 @@
|
||||
# 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
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user