summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 09:32:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 09:32:13 +0000
commitfca640b49f74a696032c4f71b079cd4a04e8fa40 (patch)
tree7f34ce78ad731fc8dd5aa4e467c1f5e892a12245
parent62bd183aff499d1e36f683d873c9629a46b644f6 (diff)
automatic import of python-neurospeedopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-neurospeed.spec121
-rw-r--r--sources1
3 files changed, 123 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..367bc86 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/neurospeed-2.1.7.tar.gz
diff --git a/python-neurospeed.spec b/python-neurospeed.spec
new file mode 100644
index 0000000..9a42f48
--- /dev/null
+++ b/python-neurospeed.spec
@@ -0,0 +1,121 @@
+%global _empty_manifest_terminate_build 0
+Name: python-neurospeed
+Version: 2.1.7
+Release: 1
+Summary: NeuroSpeed Python API
+License: LICENSE.txt
+URL: https://bitbucket.org/neurobrave/neurospeed_python_api
+Source0: https://mirrors.aliyun.com/pypi/web/packages/f1/8b/bde48a27814942c7e5d126378f99f81e178c7e8cd592e9870e42b8e8588d/neurospeed-2.1.7.tar.gz
+BuildArch: noarch
+
+Requires: python3-socketio[client]
+
+%description
+![neurospeed logo](/images/logo.png)
+
+public API for working with **NeuroSpeed.IO** cloud-based biosignal processing engine.
+NeuroSpeed.IO API main features:
+* user-level access:
+* operate raw sensor data
+* operate processed data
+* operate cognitive insights
+* attach callbacks to streaming data packets for easy operation
+* handle sensor connect/disconnect events
+* operate data recorder - export multi-sensor recordings to file
+* customer-level access:
+* handle user connectivity
+
+working with the API requires **neurospeed.io** user account. Get one for free at http://neurobrave.com
+
+
+
+%package -n python3-neurospeed
+Summary: NeuroSpeed Python API
+Provides: python-neurospeed
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-neurospeed
+![neurospeed logo](/images/logo.png)
+
+public API for working with **NeuroSpeed.IO** cloud-based biosignal processing engine.
+NeuroSpeed.IO API main features:
+* user-level access:
+* operate raw sensor data
+* operate processed data
+* operate cognitive insights
+* attach callbacks to streaming data packets for easy operation
+* handle sensor connect/disconnect events
+* operate data recorder - export multi-sensor recordings to file
+* customer-level access:
+* handle user connectivity
+
+working with the API requires **neurospeed.io** user account. Get one for free at http://neurobrave.com
+
+
+
+%package help
+Summary: Development documents and examples for neurospeed
+Provides: python3-neurospeed-doc
+%description help
+![neurospeed logo](/images/logo.png)
+
+public API for working with **NeuroSpeed.IO** cloud-based biosignal processing engine.
+NeuroSpeed.IO API main features:
+* user-level access:
+* operate raw sensor data
+* operate processed data
+* operate cognitive insights
+* attach callbacks to streaming data packets for easy operation
+* handle sensor connect/disconnect events
+* operate data recorder - export multi-sensor recordings to file
+* customer-level access:
+* handle user connectivity
+
+working with the API requires **neurospeed.io** user account. Get one for free at http://neurobrave.com
+
+
+
+%prep
+%autosetup -n neurospeed-2.1.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-neurospeed -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.7-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..8346da8
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c55b8d6af412fbd3c3fde7e69bd39e72 neurospeed-2.1.7.tar.gz