summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 09:52:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 09:52:43 +0000
commitb5a6ddf7443f0b38c9b71a1c2bd0a41138abea0c (patch)
tree412a09392704c45b6d5b8f73ae0b5b3d3178df9b
parente11eceea25b2ae574a27749050454b962d44ad58 (diff)
automatic import of python-turbo-seti
-rw-r--r--.gitignore1
-rw-r--r--python-turbo-seti.spec112
-rw-r--r--sources1
3 files changed, 114 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..05d9c2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/turbo_seti-2.3.2.tar.gz
diff --git a/python-turbo-seti.spec b/python-turbo-seti.spec
new file mode 100644
index 0000000..17489db
--- /dev/null
+++ b/python-turbo-seti.spec
@@ -0,0 +1,112 @@
+%global _empty_manifest_terminate_build 0
+Name: python-turbo-seti
+Version: 2.3.2
+Release: 1
+Summary: Analysis tool for the search of narrow band drifting signals in filterbank data
+License: MIT License
+URL: https://github.com/UCBerkeleySETI/turbo_seti
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cd/ae/d16f70d81ccc38f0dd346be128b9f1698b8890d1e3bda87fe88e1d8c04c2/turbo_seti-2.3.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-astropy
+Requires: python3-numpy
+Requires: python3-blimpy
+Requires: python3-pandas
+Requires: python3-toolz
+Requires: python3-fsspec
+Requires: python3-dask
+Requires: python3-dask[bag]
+Requires: python3-numba
+Requires: python3-cloudpickle
+
+%description
+***turbo*SETI** is an analysis tool for the search of narrow band drifting signals in filterbank data (frequency vs. time).
+The main purpose of the code is to hopefully one day find signals of extraterrestrial origin!!
+It can search the data for hundreds of drift rates (in Hz/sec). It can handle either .fil or .h5 file formats.
+**NOTE**:
+This code is stable, but new features are currently under development.
+Some details for the expert eye:
+- Python based, with taylor tree in Numba for improved performance.
+- Pre-calculated `drift index arrays`.
+- Output plain text file with information on each hit.
+- Including output reader into a pandas DataFrame.
+It was originally based on `dedoppler` [dedoppler](http://github.com/cs150bf/gbt_seti/); which is based on `rawdopplersearch.c` [`gbt_seti/src/rawdopplersearch.c`](https://github.com/UCBerkeleySETI/gbt_seti/tree/master/src/rawdopplersearch.c))
+
+%package -n python3-turbo-seti
+Summary: Analysis tool for the search of narrow band drifting signals in filterbank data
+Provides: python-turbo-seti
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-turbo-seti
+***turbo*SETI** is an analysis tool for the search of narrow band drifting signals in filterbank data (frequency vs. time).
+The main purpose of the code is to hopefully one day find signals of extraterrestrial origin!!
+It can search the data for hundreds of drift rates (in Hz/sec). It can handle either .fil or .h5 file formats.
+**NOTE**:
+This code is stable, but new features are currently under development.
+Some details for the expert eye:
+- Python based, with taylor tree in Numba for improved performance.
+- Pre-calculated `drift index arrays`.
+- Output plain text file with information on each hit.
+- Including output reader into a pandas DataFrame.
+It was originally based on `dedoppler` [dedoppler](http://github.com/cs150bf/gbt_seti/); which is based on `rawdopplersearch.c` [`gbt_seti/src/rawdopplersearch.c`](https://github.com/UCBerkeleySETI/gbt_seti/tree/master/src/rawdopplersearch.c))
+
+%package help
+Summary: Development documents and examples for turbo-seti
+Provides: python3-turbo-seti-doc
+%description help
+***turbo*SETI** is an analysis tool for the search of narrow band drifting signals in filterbank data (frequency vs. time).
+The main purpose of the code is to hopefully one day find signals of extraterrestrial origin!!
+It can search the data for hundreds of drift rates (in Hz/sec). It can handle either .fil or .h5 file formats.
+**NOTE**:
+This code is stable, but new features are currently under development.
+Some details for the expert eye:
+- Python based, with taylor tree in Numba for improved performance.
+- Pre-calculated `drift index arrays`.
+- Output plain text file with information on each hit.
+- Including output reader into a pandas DataFrame.
+It was originally based on `dedoppler` [dedoppler](http://github.com/cs150bf/gbt_seti/); which is based on `rawdopplersearch.c` [`gbt_seti/src/rawdopplersearch.c`](https://github.com/UCBerkeleySETI/gbt_seti/tree/master/src/rawdopplersearch.c))
+
+%prep
+%autosetup -n turbo-seti-2.3.2
+
+%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-turbo-seti -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7352634
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6d1490368ff101c8dd6180528615d18b turbo_seti-2.3.2.tar.gz