summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-17 05:00:38 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-17 05:00:38 +0000
commitd78a2d8c985d557920097266c70ee47be6e2488a (patch)
treedef21aceba0045398b54bd127b6d0c8648aec2cc
parent73ad7948110793cbdb1d6f135c2a42ab5c43c0ef (diff)
automatic import of python-py-ecg-detectors
-rw-r--r--.gitignore1
-rw-r--r--python-py-ecg-detectors.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a7543fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/py-ecg-detectors-1.3.4.tar.gz
diff --git a/python-py-ecg-detectors.spec b/python-py-ecg-detectors.spec
new file mode 100644
index 0000000..b55da9d
--- /dev/null
+++ b/python-py-ecg-detectors.spec
@@ -0,0 +1,77 @@
+%global _empty_manifest_terminate_build 0
+Name: python-py-ecg-detectors
+Version: 1.3.4
+Release: 1
+Summary: Eight ECG heartbeat detection algorithms and heartrate variability analysis
+License: GPL 3.0
+URL: https://github.com/berndporr/py-ecg-qrs-detectors
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c0/25/8850c18f7038a6a221d79e5a5e8dc8cf59c387a2f9e553495a41b7f980b1/py-ecg-detectors-1.3.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-pathlib2
+Requires: python3-gatspy
+Requires: python3-numpy
+Requires: python3-pywavelets
+Requires: python3-scipy
+
+%description
+
+
+%package -n python3-py-ecg-detectors
+Summary: Eight ECG heartbeat detection algorithms and heartrate variability analysis
+Provides: python-py-ecg-detectors
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-py-ecg-detectors
+
+
+%package help
+Summary: Development documents and examples for py-ecg-detectors
+Provides: python3-py-ecg-detectors-doc
+%description help
+
+
+%prep
+%autosetup -n py-ecg-detectors-1.3.4
+
+%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-py-ecg-detectors -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..041d6a0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7d3ddb557aa0b0c5cc520e519330993e py-ecg-detectors-1.3.4.tar.gz