Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
16a9bae537
!19 master branche upgrade python-wrapt 1.15.0
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-04-06 08:26:46 +00:00
cherry530
09c7c77ec4 Upgrade 1.15.0
Signed-off-by: cherry530 <xuping33@huawei.com>
2023-04-04 15:47:22 +08:00
openeuler-ci-bot
a109820f52
!18 upgrade version to 1.14.1
From: @dingdingaaaaa 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-12-08 08:29:45 +00:00
dingdingaaaaa
4f67979b7c Upgrade version to 1.14.1 2022-12-08 00:43:44 +08:00
openeuler-ci-bot
e09e1fb698
!14 Modify the install way to provides python3dist module
From: @caodongxia 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-07-14 01:47:47 +00:00
caodongxia
0e33a833f3 Modify the install way to provides python3dist module 2022-07-13 19:18:45 +08:00
openeuler-ci-bot
2313876591
!12 Package upgrade
From: @starlet-dx 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
2022-06-28 02:25:55 +00:00
starlet-dx
732e70f4af Package upgrade 2022-06-27 14:46:42 +08:00
openeuler-ci-bot
09f05a7806
!11 upgrade the version to 1.13.3
From: @huyuqi2 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-06-11 04:04:44 +00:00
yuqi
354e88576a Upgrade the version of python-wrapt to 1.13.3 2022-06-10 15:06:17 +00:00
3 changed files with 44 additions and 23 deletions

BIN
1.15.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-wrapt
Version: 1.12.1
Release: 4
Version: 1.15.0
Release: 1
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
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,35 +15,42 @@ 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 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
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
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
cd docs
%py3_build
pushd docs
sphinx-build -b html -d build/doctrees . build/html
cd -
popd
%install
%{__python3} setup.py install --skip-build --root %{buildroot}
%py3_install
%files -n python3-wrapt
%doc README.rst LICENSE
@ -54,6 +60,21 @@ cd -
%doc docs/build/html
%changelog
* Tue Apr 04 2023 xu_ping <xuping33@h-partners.com> - 1.15.0-1
- Upgrade version to 1.15.0
* Wed Dec 07 2022 dingdingaaaaa <dingziwei@kylinos.cn> - 1.14.1-1
- Upgrade version to 1.14.1
* Wed Jul 13 2022 caodongxia <caodongxia@h-partners.com> - 1.14.0-2
- Modify the install way to provides python3dist module
* Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.14.0-1
- Upgrade to version 1.14.0
* Sat Jun 04 2022 OpenStack_SIG <openstack@openeuler.org> - 1.13.3-1
- upgrade package python3-wrapt to version 1.13.3
* Tue May 10 2022 yangping <yangping69@h-partners> - 1.12.1-4
- License compliance rectification

Binary file not shown.