summaryrefslogtreecommitdiff
path: root/python-spiketoolkit.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 07:27:52 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 07:27:52 +0000
commit317346d3c1df3175ae62b3266118ae8a731a2eb8 (patch)
tree131f3caab94697b3fcff2e7e00b5c71029c62a4a /python-spiketoolkit.spec
parentb903e522e8029a57fe2a11f3e88eaa858a555f16 (diff)
automatic import of python-spiketoolkit
Diffstat (limited to 'python-spiketoolkit.spec')
-rw-r--r--python-spiketoolkit.spec108
1 files changed, 108 insertions, 0 deletions
diff --git a/python-spiketoolkit.spec b/python-spiketoolkit.spec
new file mode 100644
index 0000000..670e459
--- /dev/null
+++ b/python-spiketoolkit.spec
@@ -0,0 +1,108 @@
+%global _empty_manifest_terminate_build 0
+Name: python-spiketoolkit
+Version: 0.7.7
+Release: 1
+Summary: Python toolkit for analysis, visualization, and comparison of spike sorting output
+License: Apache Software License
+URL: https://github.com/alejoe91/spiketoolkit
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5d/9d/4b71b2cfdae129814ff83e0303b9fe52758f7927d42b401295e6ad47eff3/spiketoolkit-0.7.7.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-spikeextractors
+Requires: python3-spikemetrics
+Requires: python3-spikefeatures
+Requires: python3-scikit-learn
+Requires: python3-scipy
+Requires: python3-pandas
+Requires: python3-networkx
+Requires: python3-joblib
+
+%description
+# spiketoolkit (LEGACY)
+
+The `spiketoolkit` package has now been integrated into [spikeinterface](https://github.com/SpikeInterface/spikeinterface).
+
+This package will be maintained for a while for bug fixes only, then it will be deprecated.
+
+New features and improvements will only be implemented for the `spikeinterface` package.
+
+
+
+
+%package -n python3-spiketoolkit
+Summary: Python toolkit for analysis, visualization, and comparison of spike sorting output
+Provides: python-spiketoolkit
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-spiketoolkit
+# spiketoolkit (LEGACY)
+
+The `spiketoolkit` package has now been integrated into [spikeinterface](https://github.com/SpikeInterface/spikeinterface).
+
+This package will be maintained for a while for bug fixes only, then it will be deprecated.
+
+New features and improvements will only be implemented for the `spikeinterface` package.
+
+
+
+
+%package help
+Summary: Development documents and examples for spiketoolkit
+Provides: python3-spiketoolkit-doc
+%description help
+# spiketoolkit (LEGACY)
+
+The `spiketoolkit` package has now been integrated into [spikeinterface](https://github.com/SpikeInterface/spikeinterface).
+
+This package will be maintained for a while for bug fixes only, then it will be deprecated.
+
+New features and improvements will only be implemented for the `spikeinterface` package.
+
+
+
+
+%prep
+%autosetup -n spiketoolkit-0.7.7
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-spiketoolkit -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.7-1
+- Package Spec generated