forked from pool/python-Chameleon
Accepting request 894584 from home:pgajdos:python
- version update to 3.9.1 * Avoid various traceback reference cycles. * Removed compatibility code for unsupported Python versions * Dropped support for obsolete Python 3.4 * Fixed namespace handling when redefining a variable in the same tal:define (#237) * Fixed failure computing a template's digest if template.filename is None (#254) - %check: use %pytest macro OBS-URL: https://build.opensuse.org/request/show/894584 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Chameleon?expand=0&rev=37
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7599f9edb1de7af601dcca14aa61c2d02ba383642712725d7dcdf0e3f7def1f
|
||||
size 137012
|
||||
3
Chameleon-3.9.1.tar.gz
Normal file
3
Chameleon-3.9.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:abdc3dda6586bf02522f4f4ef2e18ed9671f0ff5637c869885b99e8722d253f2
|
||||
size 136555
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 20 09:41:02 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- version update to 3.9.1
|
||||
* Avoid various traceback reference cycles.
|
||||
* Removed compatibility code for unsupported Python versions
|
||||
* Dropped support for obsolete Python 3.4
|
||||
* Fixed namespace handling when redefining a variable in the same tal:define (#237)
|
||||
* Fixed failure computing a template's digest if template.filename is None (#254)
|
||||
- %check: use %pytest macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 8 14:03:55 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Chameleon
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# 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
|
||||
@@ -18,13 +18,14 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Chameleon
|
||||
Version: 3.8.1
|
||||
Version: 3.9.1
|
||||
Release: 0
|
||||
Summary: Fast HTML/XML Template Compiler
|
||||
License: BSD-3-Clause AND BSD-4-Clause AND Python-2.0 AND ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/malthe/chameleon
|
||||
Source: https://github.com/malthe/chameleon/archive/%{version}.tar.gz#/Chameleon-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -52,8 +53,9 @@ version of Python (2.5 and up, including 3.x and pypy).
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%python_exec setup.py test
|
||||
# doctest have not run at all so far
|
||||
# AttributeError: '_DocTestSuite' object has no attribute 'test_exc'
|
||||
%pytest -k 'not doctest'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
||||
Reference in New Issue
Block a user