代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/python-Bottleneck 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%bcond_with docs
%global upname Bottleneck
Summary: Collection of fast NumPy array functions written in Cython
Name: python-%{upname}
Version: 1.4.0
Release: 1%{?dist}
License: BSD
URL: https://pypi.org/project/Bottleneck/
Source0: https://files.pythonhosted.org/packages/source/B/%{upname}/%{upname}-%{version}.tar.gz
BuildRequires: gcc
%description
%{name} is a collection of fast NumPy array functions
written in Cython.
%if %{with docs}
%package doc
Summary: Documentation files for %{name}
BuildArch: noarch
%description doc
This package contains the HTML-docs for %{name}.
%endif
%package -n python3-%{upname}
Summary: Collection of fast NumPy array functions written in Cython
BuildRequires: python3-devel python3-pytest python3-numpy python3-scipy python3-setuptools
%if %{with docs}
BuildRequires: python3-numpydoc python3-sphinx
%endif
Requires: python3-numpy python3-scipy
%description -n python3-%{upname}
python3-%{upname} is a collection of fast NumPy array functions
written in Cython.
%prep
%autosetup -n %{upname}-%{version} -p 1
rm -fr .egg* *.egg*
rm -f doc/sphinxext/numpydoc.py*
sed -i /contributors/d doc/source/conf.py
%build
%py3_build
%install
%py3_install
rm -rf %{buildroot}%{python3_sitearch}/bottleneck/LICENSE
%{_fixperms} %{buildroot}/*
%if %{with docs}
export PYTHONPATH="%{buildroot}%{python3_sitearch}"
export READTHEDOCS=1
sphinx-build -b html doc/source doc/html
rm -rf doc/html/{.buildinfo,.doctrees}
%endif
%check
pushd %{buildroot}%{python3_sitearch}
pytest-%{python3_version} bottleneck -v
popd
rm -rf %{buildroot}%{python3_sitearch}/.pytest_cache
%if %{with docs}
%files doc
%license LICENSE
%doc README* RELEASE* doc/html
%endif
%files -n python3-%{upname}
%license LICENSE
%doc README* RELEASE*
%{python3_sitearch}/bottleneck
%{python3_sitearch}/%{upname}-%{version}-py%{python3_version}.egg-info
%changelog
* Mon Sep 23 2024 Upgrade Robot <upbot@opencloudos.tech> - 1.4.0-1
- Upgrade to version 1.4.0
* Fri Aug 16 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.3.7-4
- Rebuilt for loongarch release
* Tue Sep 19 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.3.7-3
- Rebuilt for python 3.11
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.3.7-2
- Rebuilt for OpenCloudOS Stream 23.09
* Mon Sep 04 2023 cunshunxia <cunshunxia@tencent.com> - 1.3.7-1
- upgrade to 1.3.7
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.3.2-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.3.2-2
- Rebuilt for OpenCloudOS Stream 23
* Thu Feb 09 2023 Miaojun Dong <zoedong@tencent.com> - 1.3.2-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。