From 5ca6c74935048b7d1217c0aeefd3c5ecba7e3e23f6329bf9af0770136e7bacda Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 10 Jan 2024 16:31:03 +0000 Subject: [PATCH] - update to 4.4.3: * Remove zope.interface. * Fix an issue where auto_reload is enabled and a file is loaded from a package that wasn't zip-compressed. * Drop support for Python 3.7. * Fix names of dependencies for importlib_resources and importlib_metadata. * Local variable scope is now iterable, completing dict interface. * Minor optimizations to rendering logic. * Implicit translation now provides the translation context, domain, and target language to the translation function (if applicable). Previously, the target language was provided, but this did not respect a change via i18n:target. * Replace pkg_resources with newer and faster importlib.resources and importlib.metadata. Just importing pkg_resources becomes slower and slower the more packages are installed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Chameleon?expand=0&rev=45 --- Chameleon-4.2.0.tar.gz | 3 --- Chameleon-4.4.3.tar.gz | 3 +++ python-Chameleon.changes | 22 ++++++++++++++++++++++ python-Chameleon.spec | 7 +++++-- 4 files changed, 30 insertions(+), 5 deletions(-) delete mode 100644 Chameleon-4.2.0.tar.gz create mode 100644 Chameleon-4.4.3.tar.gz diff --git a/Chameleon-4.2.0.tar.gz b/Chameleon-4.2.0.tar.gz deleted file mode 100644 index 62d9a5a..0000000 --- a/Chameleon-4.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74745322830a58b28735536baf3109a5b1a92424fd3691f0ca4043bef289d773 -size 140486 diff --git a/Chameleon-4.4.3.tar.gz b/Chameleon-4.4.3.tar.gz new file mode 100644 index 0000000..879de41 --- /dev/null +++ b/Chameleon-4.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e15c82cdd43eb93767107094c0d7559ac9717928b9a6ac5cfa3635921d82676 +size 141947 diff --git a/python-Chameleon.changes b/python-Chameleon.changes index dde05c6..ceb7977 100644 --- a/python-Chameleon.changes +++ b/python-Chameleon.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Wed Jan 10 16:27:29 UTC 2024 - Dirk Müller + +- update to 4.4.3: + * Remove zope.interface. + * Fix an issue where auto_reload is enabled and a file is + loaded from a package that wasn't zip-compressed. + * Drop support for Python 3.7. + * Fix names of dependencies for importlib_resources and + importlib_metadata. + * Local variable scope is now iterable, + completing dict interface. + * Minor optimizations to rendering logic. + * Implicit translation now provides the translation context, + domain, and target language to the translation function (if + applicable). Previously, the target language was provided, + but this did not respect a change via i18n:target. + * Replace pkg_resources with newer and faster + importlib.resources and importlib.metadata. Just importing + pkg_resources becomes slower and slower the more packages are + installed. + ------------------------------------------------------------------- Mon Oct 2 07:19:53 UTC 2023 - Dirk Müller diff --git a/python-Chameleon.spec b/python-Chameleon.spec index 97b9690..3d46e9d 100644 --- a/python-Chameleon.spec +++ b/python-Chameleon.spec @@ -1,7 +1,7 @@ # # spec file for package python-Chameleon # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-Chameleon -Version: 4.2.0 +Version: 4.4.3 Release: 0 Summary: Fast HTML/XML Template Compiler License: BSD-3-Clause AND BSD-4-Clause AND Python-2.0 AND ZPL-2.1 @@ -32,6 +32,9 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools +%if %{python_version_nodots} < 310 +Requires: python-importlib-metadata +%endif BuildArch: noarch %python_subpackages