Update to 2.0.0 and fix tests
This commit is contained in:
parent
c0e842fce7
commit
7f6c89040d
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ MarkupSafe-0.9.2.tar.gz
|
||||
/MarkupSafe-1.0.tar.gz
|
||||
/MarkupSafe-1.1.0.tar.gz
|
||||
/MarkupSafe-1.1.1.tar.gz
|
||||
/MarkupSafe-2.0.0.tar.gz
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: python-markupsafe
|
||||
Version: 1.1.1
|
||||
Release: 11%{?dist}
|
||||
Version: 2.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
||||
License: BSD
|
||||
URL: https://pypi.org/project/MarkupSafe/
|
||||
@ -16,6 +16,8 @@ A library for safe markup escaping.
|
||||
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(setuptools)
|
||||
# Test dependencies
|
||||
BuildRequires: python3dist(pytest)
|
||||
%{?python_provide:%python_provide python3-markupsafe}
|
||||
|
||||
%description -n python3-markupsafe
|
||||
@ -37,7 +39,7 @@ rm %{buildroot}%{python3_sitearch}/markupsafe/*.c
|
||||
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
%pytest
|
||||
|
||||
|
||||
%files -n python3-markupsafe
|
||||
@ -48,6 +50,10 @@ rm %{buildroot}%{python3_sitearch}/markupsafe/*.c
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 22 2021 Lumír Balhar <lbalhar@redhat.com> - 2.0.0-1
|
||||
- Update to 2.0.0
|
||||
Resolves: rhbz#1823024
|
||||
|
||||
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.1.1-11
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (MarkupSafe-1.1.1.tar.gz) = f3014e6131a3ab866914c5635b5397ef71906bffb1b6f8c5f2ed2acf167429ff7914236d38943e872683a57a9be9669f4c5aace6274f3307ab21ef25373db0b6
|
||||
SHA512 (MarkupSafe-2.0.0.tar.gz) = 260121db97178d5903645c9d1fd38c5d7c7a5bcd31a8def1d5a921328ff86ad025bf62d73734434a7920a00024ff8c0898352f7406713af51051e750b5df7cab
|
||||
|
||||
Loading…
Reference in New Issue
Block a user