Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-markupsafe revision b932edc36c831ae26c5c54d5fed3f53d

This commit is contained in:
Adrian Schröter 2024-07-15 12:54:20 +02:00
commit 49ec3719d1
4 changed files with 221 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
MarkupSafe-2.1.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,125 @@
-------------------------------------------------------------------
Thu Dec 14 16:42:01 UTC 2023 - Victor Zhestkov <vzhestkov@suse.com>
- Update to 2.1.3:
* Implement ``format_map``, ``casefold``, ``removeprefix``,
and ``removesuffix`` methods.
* Fix static typing for basic ``str`` methods on ``Markup``.
* Use ``Self`` for annotating return types. :pr:`379`
- Update to 2.1.2:
* Fix ``striptags`` not stripping tags containing newlines.
-------------------------------------------------------------------
Fri Jul 22 08:36:54 UTC 2022 - Victor Zhestkov <victor.zhestkov@suse.com>
- update to version 2.1.1:
* Avoid ambiguous regex matches in "striptags". :pr:`293`
- changes from version 2.1.0:
* Drop support for Python 3.6. :pr:`262`
* Remove "soft_unicode", which was previously deprecated. Use
"soft_str" instead. :pr:`261`
* Raise error on missing single placeholder during string
interpolation. :issue:`225`
* Disable speedups module for GraalPython. :issue:`277`
- Added:
* MarkupSafe-2.1.1.tar.gz
- Removed:
* MarkupSafe-2.0.1.tar.gz
-------------------------------------------------------------------
Mon Apr 4 11:40:54 UTC 2022 - Victor Zhestkov <victor.zhestkov@suse.com>
- Strictly require Python 3.10 with saltbundlepy requrement
- Update to v2.0.1
- Added:
* MarkupSafe-2.0.1.tar.gz
- Removed:
* MarkupSafe-1.0.tar.gz
-------------------------------------------------------------------
Tue Apr 4 15:13:20 UTC 2017 - jmatejek@suse.com
- update source url
- fix obs/prov to refer to old python
- drop _speedups.c from installed directory
-------------------------------------------------------------------
Wed Mar 22 15:11:29 UTC 2017 - tbechtold@suse.com
- Add missing BuildRequires for python-rpm-macros
-------------------------------------------------------------------
Wed Mar 22 13:08:44 UTC 2017 - tbechtold@suse.com
- update to 1.0.0
+ No upstream changelog
- Switch to singlespec approach
-------------------------------------------------------------------
Tue Jul 15 10:42:00 UTC 2014 - toddrme2178@gmail.com
- Update to 0.23
+ No upstream changelog
-------------------------------------------------------------------
Thu May 8 13:51:56 UTC 2014 - toddrme2178@gmail.com
- Update to 0.21
+ No upstream changelog
-------------------------------------------------------------------
Thu Mar 13 14:03:44 UTC 2014 - mcihar@suse.cz
- update to 0.19:
+ Various Python 3.x fixes
-------------------------------------------------------------------
Thu Oct 24 11:08:17 UTC 2013 - speilicke@suse.com
- Require python-setuptools instead of distribute (upstreams merged)
-------------------------------------------------------------------
Tue Jun 25 11:56:41 UTC 2013 - dmueller@suse.com
- update to 0.18:
+ Fixed interpolation on tuples
+ Varios Python 3.x fixes
-------------------------------------------------------------------
Wed May 23 05:24:01 UTC 2012 - highwaystar.ru@gmail.com
- python3 package added
- minor spec improvement
-------------------------------------------------------------------
Thu Sep 8 20:24:51 UTC 2011 - andrea.turrini@gmail.com
- Fixed typo in description of python-MarkupSafe.spec
-------------------------------------------------------------------
Thu Sep 1 13:31:24 UTC 2011 - saschpe@suse.de
- Update to 0.15
- Changed license to BSD-3-Clause
- Renamed to python-MarkupSafe (from python-markupsafe)
-------------------------------------------------------------------
Mon Aug 30 16:06:34 UTC 2010 - jfunk@funktronics.ca
- Update to 0.11
Since MarkupSafe 0.10 there is now also a separate escape function
called `escape_silent` that returns an empty string for `None` for
consistency with other systems that return empty strings for `None`
when escaping (for instance Pylons' webhelpers).
-------------------------------------------------------------------
Thu Jul 1 18:08:55 UTC 2010 - jfunk@funktronics.ca
- Initial release

View File

@ -0,0 +1,70 @@
#
# spec file for package saltbundlepy-markupsafe
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}}
%define pythons saltbundlepy
# Disable python bytecompile for all distros
# It's called explicitly in the spec
%global __brp_python_bytecompile %{nil}
Name: saltbundlepy-markupsafe
Version: 2.1.3
Release: 0
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/pallets/markupsafe
Source: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{saltbundlepy_module devel >= 3.10}
BuildRequires: %{saltbundlepy_module pip}
BuildRequires: %{saltbundlepy_module wheel}
BuildRequires: fdupes
BuildRequires: saltbundlepy-rpm-macros
Requires: saltbundlepy-base
%python_subpackages
%description
Implements a unicode subclass that supports HTML strings. This can be used to
safely encode strings for dynamically generated web pages.
%prep
%setup -q -n MarkupSafe-%{version}
%build
export CFLAGS="%{optflags}"
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_expand rm %{buildroot}%{$python_sitearch}/markupsafe/_speedups.c
%if %{with test}
%check
%pytest_arch
%endif
%files %{python_files}
%license LICENSE.rst
%doc README.rst docs/
%{python_sitearch}/markupsafe/
%{python_sitearch}/MarkupSafe-%{version}.dist-info
%changelog