Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
94b89e491d
!18 【轻量级 PR】:Rebuild for next release
From: @zhangruifang2020 
Reviewed-by: @lvying6 
Signed-off-by: @lvying6
2022-10-27 02:19:11 +00:00
张瑞方
f107920c07
Rebuild for next release
Signed-off-by: 张瑞方 <xdzhangruifang@163.com>
2022-10-26 06:44:39 +00:00
openeuler-ci-bot
4cb06bc879 !14 provide pythonXdist(markupsafe)
Merge pull request !14 from 桐小哥/openEuler-22.03-LTS-Next
2021-12-29 03:55:37 +00:00
桐小哥
7ab7bb4735 provide pythonXdist(markupsafe) 2021-12-29 10:47:16 +08:00
openeuler-ci-bot
f288620ec1 !13 [sync] PR-12: upgrade version to 2.0.1
Merge pull request !13 from openeuler-sync-bot/sync-pr12-master-to-openEuler-22.03-LTS-Next
2021-12-28 03:25:17 +00:00
Anonymous_Z
921ecd03be upgrade version to 2.0.1
(cherry picked from commit be36d38a999ccdbeb3b0ea17df90769ffa296b59)
2021-12-25 11:04:40 +08:00
openeuler-ci-bot
0683b425b5 !9 add buildrequires gcc
From: @xinyingchao
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-06-24 02:53:27 +00:00
yangl777
5c3873e034 add buildrequires gcc 2021-06-23 15:51:16 +08:00
openeuler-ci-bot
c4d7182da6 !6 remove python2
From: @wcc_140409
Reviewed-by: @overweight
Signed-off-by: @overweight
2020-11-05 16:38:19 +08:00
19909236985
c57c330c67 remove python2 2020-11-04 14:38:41 +08:00
3 changed files with 26 additions and 16 deletions

Binary file not shown.

BIN
MarkupSafe-2.0.1.tar.gz Normal file

Binary file not shown.

View File

@ -4,23 +4,20 @@ Characters that have special meanings are replaced so that they display as the a
This mitigates injection attacks, meaning untrusted user input can safely be displayed on a page.
Name: python-markupsafe
Version: 1.1.1
Release: 6
Version: 2.0.1
Release: 3
Summary: Safely add untrusted strings to HTML/XML markup.
License: BSD
URL: https://pypi.org/project/MarkupSafe/
Source0: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
%description %_description
%package -n python2-markupsafe
Summary: %{summary}
BuildRequires: python2-devel python2-setuptools
%{?python_provide:%python_provide python2-markupsafe}
%description -n python2-markupsafe %_description
%package -n python3-markupsafe
Summary: %{summary}
BuildRequires: python3-devel python2-setuptools
BuildRequires: python3-devel python3-setuptools gcc
Provides: python%{python3_pkgversion}dist(markupsafe) = %{version}
Provides: python%{python3_version}dist(markupsafe) = %{version}
%{?python_provide:%python_provide python3-markupsafe}
%description -n python3-markupsafe %_description
@ -31,24 +28,16 @@ BuildRequires: python3-devel python2-setuptools
%autosetup -n MarkupSafe-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%{__python2} setup.py test
%{__python3} setup.py test
%files -n python2-markupsafe
%{python2_sitearch}/*.egg-info/
%exclude %{python2_sitearch}/markupsafe/_speedups.c
%{python2_sitearch}/markupsafe/
%files -n python3-markupsafe
%{python3_sitearch}/*.egg-info/
%exclude %{python3_sitearch}/markupsafe/_speedups.c
@ -58,6 +47,27 @@ BuildRequires: python3-devel python2-setuptools
%doc README.rst
%changelog
* Wed Oct 26 2022 zhangruifang <zhangruifang1@h-partners.com> - 2.0.1-3
- Rebuild for next release
* Wed Dec 29 2021 shixuantong <shixuantong@huawei.com> - 2.0.1-2
- provide pythonXdist(markupsafe)
* Thu Nov 25 2021 liudabo <liudabo1@huawei.com> - 2.0.1-1
- upgrade version to 2.0.1
* Wed Jun 23 2021 yuanxin<yuanxin24@huawei.com> - 1.1.1-8
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add buildrequires gcc
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 1.1.1-7
- Type:bufix
- CVE:NA
- SUG:NA
- DESC:remove python2
* Sat Jul 25 2020 tianwei <tianwei12@huawei.com> - 1.1.1-6
- Type:enhancement
- ID:NA