summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-12-17 01:19:17 +0000
committerCoprDistGit <infra@openeuler.org>2024-12-17 01:19:17 +0000
commitf3ec98a242f28f32a53ab31d54f6a1f05454bdad (patch)
tree35bcd01b7a6ccf547a583f859558df0a84d66e3b
parentddf9628604a2851e1742163fdb15e9565bcc7e20 (diff)
automatic import of python-Bottleneckopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-Bottleneck.spec47
-rw-r--r--sources2
3 files changed, 25 insertions, 25 deletions
diff --git a/.gitignore b/.gitignore
index 46fca16..2597b16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/Bottleneck-1.3.6.tar.gz
/Bottleneck-1.3.7.tar.gz
+/bottleneck-1.4.2.tar.gz
diff --git a/python-Bottleneck.spec b/python-Bottleneck.spec
index 3b78f20..9d03c48 100644
--- a/python-Bottleneck.spec
+++ b/python-Bottleneck.spec
@@ -1,19 +1,19 @@
%global _empty_manifest_terminate_build 0
Name: python-Bottleneck
-Version: 1.3.7
+Version: 1.4.2
Release: 1
Summary: Fast NumPy array functions written in C
License: Simplified BSD
URL: https://github.com/pydata/bottleneck
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/98/1f/e5c91a94a9e695fe12442aa3a1c0c8fa7b09b1091ab885e288a45733c089/Bottleneck-1.3.7.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/2e/61/9fb34409d58f04e1929da41666a055c36f9495903ff669b80c893bdee65f/bottleneck-1.4.2.tar.gz
-Requires: python3-numpy
-Requires: python3-numpydoc
-Requires: python3-sphinx
-Requires: python3-gitpython
+Requires: (python3-numpy)
+Requires: (python3-numpydoc)
+Requires: (python3-sphinx)
+Requires: (python3-gitpython)
%description
-Bottleneck comes with a benchmark suite::
+Bottleneck comes with a benchmark suite:
>>> bn.bench()
Bottleneck performance benchmark
Bottleneck 1.3.0.dev0+122.gb1615d7; Numpy 1.16.4
@@ -52,7 +52,7 @@ Bottleneck comes with a benchmark suite::
move_median 2236.9 153.9 151.4 171.3 166.9
move_rank 847.1 1.2 1.4 2.3 2.6
You can also run a detailed benchmark for a single function using, for
-example, the command::
+example, the command:
>>> bn.bench_detailed("move_median", fraction_nan=0.3)
Only arrays with data type (dtype) int32, int64, float32, and float64 are
accelerated. All other dtypes result in calls to slower, unaccelerated
@@ -66,11 +66,12 @@ Provides: python-Bottleneck
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
+BuildRequires: python3-wheel
BuildRequires: python3-cffi
BuildRequires: gcc
BuildRequires: gdb
%description -n python3-Bottleneck
-Bottleneck comes with a benchmark suite::
+Bottleneck comes with a benchmark suite:
>>> bn.bench()
Bottleneck performance benchmark
Bottleneck 1.3.0.dev0+122.gb1615d7; Numpy 1.16.4
@@ -109,7 +110,7 @@ Bottleneck comes with a benchmark suite::
move_median 2236.9 153.9 151.4 171.3 166.9
move_rank 847.1 1.2 1.4 2.3 2.6
You can also run a detailed benchmark for a single function using, for
-example, the command::
+example, the command:
>>> bn.bench_detailed("move_median", fraction_nan=0.3)
Only arrays with data type (dtype) int32, int64, float32, and float64 are
accelerated. All other dtypes result in calls to slower, unaccelerated
@@ -121,7 +122,7 @@ accelerated regardless of dtype.
Summary: Development documents and examples for Bottleneck
Provides: python3-Bottleneck-doc
%description help
-Bottleneck comes with a benchmark suite::
+Bottleneck comes with a benchmark suite:
>>> bn.bench()
Bottleneck performance benchmark
Bottleneck 1.3.0.dev0+122.gb1615d7; Numpy 1.16.4
@@ -160,7 +161,7 @@ Bottleneck comes with a benchmark suite::
move_median 2236.9 153.9 151.4 171.3 166.9
move_rank 847.1 1.2 1.4 2.3 2.6
You can also run a detailed benchmark for a single function using, for
-example, the command::
+example, the command:
>>> bn.bench_detailed("move_median", fraction_nan=0.3)
Only arrays with data type (dtype) int32, int64, float32, and float64 are
accelerated. All other dtypes result in calls to slower, unaccelerated
@@ -169,45 +170,43 @@ array on a little-endian operating system) the function will not be
accelerated regardless of dtype.
%prep
-%autosetup -n Bottleneck-1.3.7
+%autosetup -n bottleneck-1.4.2
%build
-%py3_build
+%pyproject_build
%install
-%py3_install
+%pyproject_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
+touch filelist.lst
if [ -d usr/lib64 ]; then
- find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+ 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
+ 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
+ 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
+ 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-Bottleneck -f filelist.lst
-%dir %{python3_sitearch}/*
+%{python3_sitearch}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
-* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.7-1
+* Tue Dec 17 2024 Python_Bot <Python_Bot@openeuler.org> - 1.4.2-1
- Package Spec generated
diff --git a/sources b/sources
index e4878e8..789cf7d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0a49691a5a6627caf1148d267af7c282 Bottleneck-1.3.7.tar.gz
+3fac642a0e58ef58cae86cff0543ede3 bottleneck-1.4.2.tar.gz