summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 07:06:40 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 07:06:40 +0000
commita198bc8410873bbf6c87a27d4bc3b1b604e6b9b9 (patch)
tree5622926421284e9049edbd8e954a233825ca6e1d
parent8aa2cca63a9a13226d7204d6cdfff24263700af8 (diff)
automatic import of python-wquantilesopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-wquantiles.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d3abd3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/wquantiles-0.6.tar.gz
diff --git a/python-wquantiles.spec b/python-wquantiles.spec
new file mode 100644
index 0000000..92077d3
--- /dev/null
+++ b/python-wquantiles.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-wquantiles
+Version: 0.6
+Release: 1
+Summary: Weighted quantiles, including weighted median, based on numpy
+License: MIT
+URL: http://github.com/nudomarinero/wquantiles/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/eb/24/ae0216512052aee6cf68cba89f83ce011e06feff7a4cae5b03d78d078b24/wquantiles-0.6.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+
+%description
+
+
+%package -n python3-wquantiles
+Summary: Weighted quantiles, including weighted median, based on numpy
+Provides: python-wquantiles
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-wquantiles
+
+
+%package help
+Summary: Development documents and examples for wquantiles
+Provides: python3-wquantiles-doc
+%description help
+
+
+%prep
+%autosetup -n wquantiles-0.6
+
+%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-wquantiles -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f9b0a6b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+336de3009c1c1f97c7bbe8ef2f57bbee wquantiles-0.6.tar.gz