Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4f4514965c
!16 Modify invalid source
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-11-22 07:46:04 +00:00
cherry530
ed3a4ff0c0 Modify invalid source
Signed-off-by: cherry530 <xuping33@huawei.com>
2022-11-22 15:24:44 +08:00
openeuler-ci-bot
889c794e13
!15 Update to1.14.0
From: @caodongxia 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2022-10-21 03:21:42 +00:00
caodongxia
75d27ce7b7 Updateto1.14.0 2022-10-21 10:38:08 +08:00
openeuler-ci-bot
6e3af62ba9 !6 Completing build dependencies
From: @hht8
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-06-03 10:10:24 +08:00
hht8
e2ab0ee26d Completing build dependencies 2021-06-01 14:55:33 +08:00
openeuler-ci-bot
84f78d4133 !3 upgrade to v1.12.1
From: @xiezhipeng1
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2020-10-15 14:36:22 +08:00
Zhipeng Xie
e0620cd79d upgrade to v1.12.1
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-10-14 04:20:06 -04:00
openeuler-ci-bot
e7250a3ce9 !2 Del python2-wrapt
Merge pull request !2 from zhangtao2020/master
2020-08-11 19:08:41 +08:00
zhangtao2020
34b75ece0c Remove python2-wrapt subpackage 2020-08-11 17:28:35 +08:00
5 changed files with 46 additions and 119 deletions

Binary file not shown.

BIN
1.14.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,36 +0,0 @@
# python-wrapt
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,39 +0,0 @@
# python-wrapt
#### 介绍
{**以下是码云平台说明,您可以替换此简介**
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,12 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-wrapt
Version: 1.10.11
Release: 6
Version: 1.14.0
Release: 2
Summary: A Python module for decorators, wrappers and monkey patching
License: BSD
License: BSD-2-Clause
URL: https://github.com/GrahamDumpleton/wrapt
Source0: https://github.com/GrahamDumpleton/wrapt/archive/%{version}.tar.gz
BuildRequires: python2-devel python3-devel python3-sphinx
source0: https://github.com/GrahamDumpleton/wrapt/archive/refs/tags/%{version}.tar.gz
%description
The aim of the wrapt module is to provide a transparent object proxy for Python,
@ -16,62 +15,65 @@ such as functools.wraps() to ensure that decorators preserve introspectability,
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 -n python2-wrapt
Summary: Python2 module for wrapt module
%{?python_provide:%python_provide python2-wrapt}
%description -n python2-wrapt
Python2 module for wrapt module.
%package help
Summary: Documentation for the python-wrapt
BuildRequires: python2-sphinx python2-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
Summary: Module for decorators, wrappers and monkey patching.
Provides: python-wrapt
# Base build requires
BuildRequires: python3-sphinx
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
%description -n python3-wrapt
Python3 module for wrapt module.
%package help
Summary: Module for decorators, wrappers and monkey patching.
Provides: python3-wrapt-doc
%description help
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.
%prep
%autosetup -n wrapt-%{version} -p1
rm -rf wrapt.egg-info
rm -rf %{py3dir}
cp -a . %{py3dir}
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build
cd %{py3dir}
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
cd -
cd docs
%py3_build
pushd docs
sphinx-build -b html -d build/doctrees . build/html
cd -
popd
%install
cd %{py3dir}
%{__python3} setup.py install --skip-build --root %{buildroot}
cd -
%{__python2} setup.py install --skip-build --root %{buildroot}
%files -n python2-wrapt
%doc README.rst LICENSE
%{python2_sitearch}/{wrapt,wrapt-%{version}-py?.?.egg-info}
%py3_install
%files -n python3-wrapt
%doc README.rst LICENSE
%{python3_sitearch}/{wrapt,wrapt-%{version}-py?.?.egg-info}
%{python3_sitearch}/{wrapt,wrapt-%{version}-py*.egg-info}
%files help
%doc docs/build/html
%changelog
* Tue Nov 22 2022 xu_ping <xuping33@h-partners.com> - 1.14.0-2
- Modify invalid source
* Fri Oct 21 2022 caodongxia <caodongxia@h-partners.com> - 1.14.0-1
- Update to 1.14.0
* 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