diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-spiketoolkit.spec | 108 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 110 insertions, 0 deletions
@@ -0,0 +1 @@ +/spiketoolkit-0.7.7.tar.gz 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 @@ -0,0 +1 @@ +27aa183c70640961bf63dbd3ceabdf55 spiketoolkit-0.7.7.tar.gz |
