代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-wrapt 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-wrapt
Version: 1.12.1
Release: 4
Summary: A Python module for decorators, wrappers and monkey patching
License: BSD-2-Clause
URL: https://github.com/GrahamDumpleton/wrapt
Source0: https://github.com/GrahamDumpleton/wrapt/archive/%{version}.tar.gz#/wrapt-%{version}.tar.gz
BuildRequires: python3-devel python3-sphinx gcc
%description
The aim of the wrapt module is to provide a transparent object proxy for Python,
which can be used as the basis for the construction of function wrappers and decorator functions.
The wrapt module focuses very much on correctness. It therefore goes way beyond existing mechanisms
such as functools.wraps() to ensure that decorators preserve introspectability, signatures,
type checking abilities etc. The decorators that can be constructed using this module will work in
far more scenarios than typical decorators and provide more predictable and consistent behaviour.
%package help
Summary: Documentation for the python-wrapt
BuildRequires: python3-sphinx python3-sphinx_rtd_theme
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
Documentation for the python-wrapt.
%package -n python3-wrapt
Summary: Python3 module for wrapt module
%description -n python3-wrapt
Python3 module for wrapt module.
%prep
%autosetup -n wrapt-%{version} -p1
rm -rf wrapt.egg-info
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
cd docs
sphinx-build -b html -d build/doctrees . build/html
cd -
%install
%{__python3} setup.py install --skip-build --root %{buildroot}
%files -n python3-wrapt
%doc README.rst LICENSE
%{python3_sitearch}/{wrapt,wrapt-%{version}-py*.egg-info}
%files help
%doc docs/build/html
%changelog
* Tue May 10 2022 yangping <yangping69@h-partners> - 1.12.1-4
- License compliance rectification
* Wed Mar 30 2022 xu_ping <xuping33@huawei.com> - 1.12.1-3
- Fix non-recognition ? the installed failed
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 1.12.1-2
- Completing build dependencies
* Wed Oct 14 2020 Zhipeng Xie <xiezhipeng1@huawei.com> - 1.12.1-1
- upgrade to 1.12.1
* Tue Aug 11 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.10.11-7
- Remove python2-wrapt subpackage
* Mon Feb 17 2020 daiqianwen <daiqianwen@huawei.com> - 1.10.11-6
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。