diff --git a/klusta-3.0.16.tar.gz b/klusta-3.0.16.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..57a5aec51880c2171832249b0c288d5e4d381a9c Binary files /dev/null and b/klusta-3.0.16.tar.gz differ diff --git a/python-klusta.spec b/python-klusta.spec new file mode 100644 index 0000000000000000000000000000000000000000..76ffeec225a10c98904906bf38f1169be05ce8e4 --- /dev/null +++ b/python-klusta.spec @@ -0,0 +1,52 @@ +%global pypi_name klusta +%global pypi_version 3.0.16 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1 +Summary: Spike detection and automatic clustering for spike sorting + +License: BSD +URL: https://klusta.cortexlab.net +Source0: https://files.pythonhosted.org/packages/source/%/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +automatic spike sorting up to 64 channels + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3-setuptools +%description -n python3-%{pypi_name} +automatic spike sorting up to 64 channels + + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{_bindir}/klusta +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Fri Jan 28 2022 zhangkea - 3.0.16-1 +- Initial package. \ No newline at end of file