forked from pool/python-flufl.i18n
Accepting request 932382 from devel:languages:python
- Update to version 3.2 * Add a py.typed file to satisfy type checkers. * Improve some QA by re-adding diff-cover, Gitlab SAST during CI, and testing on Python 3.10 beta (except for Windows) * Fix pytest 6.0.0 compatibility * Drop support for Python 3.4 and 3.5. Add support for Python 3.9. * Translator.catalog property is now exposed. * New abstract classes for defining the types in this library: * TranslationContextManager, RuntimeTranslator, TranslationStrategy * When expand() gets an exception, the original exception is re-raised. * Add type annotations and API reference documentation. - Added python-flufl.i18n-fix-setup.patch OBS-URL: https://build.opensuse.org/request/show/932382 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flufl.i18n?expand=0&rev=2
This commit is contained in:
commit
eaec0fa061
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:500976b41cc21a6a927dabce189865e14e4593c9982ab193b50a749b8a6e4fb3
|
||||
size 19106
|
3
flufl.i18n-3.2.tar.gz
Normal file
3
flufl.i18n-3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c35c8f8eab66adb7fd64a1420860105066d2b36cb655b33ffb14afe8e223ed62
|
||||
size 24209
|
10
python-flufl.i18n-fix-setup.patch
Normal file
10
python-flufl.i18n-fix-setup.patch
Normal file
@ -0,0 +1,10 @@
|
||||
Index: flufl.i18n-3.2/setup.cfg
|
||||
===================================================================
|
||||
--- flufl.i18n-3.2.orig/setup.cfg 2021-05-29 20:08:18.854980000 +0200
|
||||
+++ flufl.i18n-3.2/setup.cfg 2021-11-17 10:36:00.095701103 +0100
|
||||
@@ -1,5 +1,4 @@
|
||||
[tool:pytest]
|
||||
-addopts = --cov=flufl
|
||||
testpaths = test docs
|
||||
|
||||
[flake8]
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 17 09:36:44 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Update to version 3.2
|
||||
* Add a py.typed file to satisfy type checkers.
|
||||
* Improve some QA by re-adding diff-cover, Gitlab SAST during
|
||||
CI, and testing on Python 3.10 beta (except for Windows)
|
||||
* Fix pytest 6.0.0 compatibility
|
||||
* Drop support for Python 3.4 and 3.5. Add support for Python 3.9.
|
||||
* Translator.catalog property is now exposed.
|
||||
* New abstract classes for defining the types in this library:
|
||||
* TranslationContextManager, RuntimeTranslator, TranslationStrategy
|
||||
* When expand() gets an exception, the original exception is re-raised.
|
||||
* Add type annotations and API reference documentation.
|
||||
- Added python-flufl.i18n-fix-setup.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 2 12:02:29 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flufl.i18n
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@ -17,30 +17,35 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define pythons python3
|
||||
Name: python-flufl.i18n
|
||||
Version: 2.0.2
|
||||
Version: 3.2
|
||||
Release: 0
|
||||
Summary: A high level API for Python internationalization
|
||||
Summary: High level API for internationalizing Python libraries and applications
|
||||
License: Apache-2.0
|
||||
URL: https://flufli18n.readthedocs.io
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flufl.i18n/flufl.i18n-%{version}.tar.gz
|
||||
Patch0: python-flufl.i18n-fix-setup.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-atpublic
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module atpublic}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module sybil}
|
||||
BuildRequires: %{python_module typing_extensions}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-atpublic
|
||||
Suggests: python-typing_extensions
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A high level API for Python internationalization.
|
||||
High level API for internationalizing Python libraries and applications.
|
||||
|
||||
%prep
|
||||
%setup -q -n flufl.i18n-%{version}
|
||||
%autosetup -n flufl.i18n-%{version} -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user