Accepting request 678054 from home:jayvdb:moban
- Update to v1.1.0 - Drop support for Python 2.6 and 3.3. - Build wheels for Linux, Mac, and Windows, allowing systems without a compiler to take advantage of the C extension speedups - Use newer CPython API on Python 3, resulting in a 1.5x speedup - ``escape`` wraps ``__html__`` result in ``Markup``, consistent with documented behavior - Switch to using pytest in %check as setup.py test no longer works - Use more precise URL https://github.com/pallets/markupsafe - Add docs/ to %doc, including the changelog - Remove AUTHORS from %doc, removed upstream in 6247e015 OBS-URL: https://build.opensuse.org/request/show/678054 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MarkupSafe?expand=0&rev=27
This commit is contained in:
parent
02ed92135a
commit
1c982ea5d3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665
|
||||
size 14356
|
3
MarkupSafe-1.1.0.tar.gz
Normal file
3
MarkupSafe-1.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e97332c9ce444b0c2c38dd22ddc61c743eb208d916e4265a2a3b575bdccb1d3
|
||||
size 18938
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 21 16:13:28 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Update to v1.1.0
|
||||
- Drop support for Python 2.6 and 3.3.
|
||||
- Build wheels for Linux, Mac, and Windows, allowing systems without
|
||||
a compiler to take advantage of the C extension speedups
|
||||
- Use newer CPython API on Python 3, resulting in a 1.5x speedup
|
||||
- ``escape`` wraps ``__html__`` result in ``Markup``, consistent with
|
||||
documented behavior
|
||||
- Switch to using pytest in %check as setup.py test no longer works
|
||||
- Use more precise URL https://github.com/pallets/markupsafe
|
||||
- Add docs/ to %doc, including the changelog
|
||||
- Remove AUTHORS from %doc, removed upstream in 6247e015
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 14 16:01:46 CET 2019 - kukuk@suse.de
|
||||
|
||||
|
@ -19,15 +19,15 @@
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-MarkupSafe
|
||||
Version: 1.0
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Url: http://dev.pocoo.org/
|
||||
URL: https://github.com/pallets/markupsafe
|
||||
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
%ifpython2
|
||||
@ -43,6 +43,7 @@ safely encode strings for dynamically generated web pages.
|
||||
|
||||
%prep
|
||||
%setup -q -n MarkupSafe-%{version}
|
||||
rm docs/make.bat docs/Makefile docs/conf.py docs/requirements.txt
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
@ -53,12 +54,11 @@ export CFLAGS="%{optflags}"
|
||||
%python_expand rm %{buildroot}%{$python_sitearch}/markupsafe/_speedups.c
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest
|
||||
|
||||
%files %python_files
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%doc AUTHORS README.rst
|
||||
%files %{python_files}
|
||||
%license LICENSE.rst
|
||||
%doc README.rst docs/
|
||||
%{python_sitearch}/markupsafe/
|
||||
%{python_sitearch}/MarkupSafe-%{version}-py*.egg-info
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user