%global srcname neo %global _description %{expand: \ Neo is a package for representing 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. The goal of Neo is to improve interoperability between Python tools for analyzing, visualizing and generating electrophysiology data (such as OpenElectrophy, NeuroTools, G-node, Helmholtz, PyNN) by providing a common, shared object model. In order to be as lightweight a dependency as possible, Neo is deliberately limited to represention of data, with no functions for data analysis or visualization. Neo implements a hierarchical data model well adapted to intracellular and extracellular electrophysiology and EEG data with support for multi-electrodes (for example tetrodes). Neos data objects build on the quantities_ package, which in turn builds on NumPy by adding support for physical dimensions. Thus neo objects behave just like normal NumPy arrays, but with additional metadata, checks for dimensional consistency and automatic unit conversion. Read the documentation at http://neo.readthedocs.io/} Name: python-%{srcname} Version: 0.10.0 Release: 1%{?dist} Summary: Represent electrophysiology data in Python License: BSD URL: http://neuralensemble.org/%{srcname}/ Source0: https://github.com/neuralensemble/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch %description %{_description} %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: %{py3_dist setuptools} BuildRequires: %{py3_dist nose} BuildRequires: %{py3_dist numpy} BuildRequires: %{py3_dist quantities} BuildRequires: %{py3_dist coverage} BuildRequires: %{py3_dist tox} # Basic requires picked up by autogenerator # Extra requires: # Not in fedora yet, to be updated as these are added # Recommends: %%{py3_dist stfio} Recommends: %{py3_dist nixio} Recommends: %{py3_dist klusta} Recommends: %{py3_dist scipy} Recommends: %{py3_dist hypy} Recommends: %{py3_dist igor} %py_provides python3-%{srcname} %description -n python3-%{srcname} %{_description} %prep %autosetup # stray backup file? rm -fv neo/io/nwbio_BACKUP_4246.py rm -rf neo.egg-info %build %py3_build %install %py3_install %check nosetests-%{python3_version} -vx --exclude=iotest --exclude=rawio %files -n python3-%{srcname} %license LICENSE.txt %doc README.rst examples doc/source/authors.rst CODE_OF_CONDUCT.md CITATION.txt %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/%{srcname}/ %changelog * Fri Jul 30 2021 Ankur Sinha - 0.10.0-1 - Update to latest release * Fri Jul 23 2021 Fedora Release Engineering - 0.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.9.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Nov 28 2020 Ankur Sinha - 0.9.0-1 - Update to latest release * Wed Jul 29 2020 Fedora Release Engineering - 0.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.8.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Oct 15 2019 Ankur Sinha - 0.8.0-1 - Update to 0.8.0 - Add packaged recommends * Mon Aug 19 2019 Miro Hrončok - 0.8.0-0.3.20190215git49b6041 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.8.0-0.2.20190215git49b6041 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 15 2019 Antonio Trande - 0.8.0-0.1.20190215git49b6041 - Pre-release 0.8.0 - Tests activated * Wed Feb 06 2019 Antonio Trande - 0.7.1-1 - Release 0.7.1 * Sat Feb 02 2019 Fedora Release Engineering - 0.6.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Nov 08 2018 Ankur Sinha - 0.6.1-6 - Cosmetic improvements - Re-add py2 subpackage but disable from F30+ * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.6.1-5 - Subpackage python2-neo has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jul 01 2018 Miro Hrončok - 0.6.1-3 - Rebuilt for Python 3.7 * Mon Jun 18 2018 Ankur Sinha - 0.6.1-2 - Use python dist macros - Use github source * Sat Jun 09 2018 Ankur Sinha - 0.6.1-1 - Update to latest upstream release - Remove doc subpackage. Use readthedocs instead. - Skip tests, they fetch data from the internet * Sun Jan 07 2018 Ankur Sinha - 0.5.2-1 - Update to latest upstream release - update requires and recommends * Mon Jun 26 2017 Ankur Sinha - 0.5.1-1 - Update to latest upstream release * Wed Feb 01 2017 Ankur Sinha - 0.4.1-1 - Update to latest upstream release * Tue Oct 07 2014 Ankur Sinha 0.3.3-1 - Initial rpmbuild