forked from pool/python-flufl.i18n
Accepting request 948294 from devel:languages:python
- Update to 4.0: - Use modern package management by adopting pdm and pyproject.toml, and dropping setup.py and setup.cfg. - Build the docs with Python 3.8. - Update to version 3.0 of Sybil. - Adopt the Furo documentation theme. - Use importlib.metadata.version() as a better way to get the package version number for the documentation. - Drop Python 3.6 support. - Update copyright years. - Remove obsolete python-flufl.i18n-fix-setup.patch OBS-URL: https://build.opensuse.org/request/show/948294 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flufl.i18n?expand=0&rev=3
This commit is contained in:
commit
e3e3e168c4
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c35c8f8eab66adb7fd64a1420860105066d2b36cb655b33ffb14afe8e223ed62
|
|
||||||
size 24209
|
|
3
flufl.i18n-4.0.tar.gz
Normal file
3
flufl.i18n-4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:313ab4763845a7f704c74133b7911a333dccceb0168f16741d04a47c5b9ab166
|
||||||
|
size 21119
|
@ -1,10 +0,0 @@
|
|||||||
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,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 23 23:01:57 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.0:
|
||||||
|
- Use modern package management by adopting pdm and
|
||||||
|
pyproject.toml, and dropping setup.py and setup.cfg.
|
||||||
|
- Build the docs with Python 3.8.
|
||||||
|
- Update to version 3.0 of Sybil.
|
||||||
|
- Adopt the Furo documentation theme.
|
||||||
|
- Use importlib.metadata.version() as a better way to get the
|
||||||
|
package version number for the documentation.
|
||||||
|
- Drop Python 3.6 support.
|
||||||
|
- Update copyright years.
|
||||||
|
- Remove obsolete python-flufl.i18n-fix-setup.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 17 09:36:44 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
|
Wed Nov 17 09:36:44 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-flufl.i18n
|
# spec file for package python-flufl.i18n
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,17 +19,20 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define pythons python3
|
%define pythons python3
|
||||||
Name: python-flufl.i18n
|
Name: python-flufl.i18n
|
||||||
Version: 3.2
|
Version: 4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: High level API for internationalizing Python libraries and applications
|
Summary: High level API for internationalizing Python libraries and applications
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://flufli18n.readthedocs.io
|
URL: https://gitlab.com/warsaw/flufl.i18n
|
||||||
Source: https://files.pythonhosted.org/packages/source/f/flufl.i18n/flufl.i18n-%{version}.tar.gz
|
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 pdm}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module atpublic}
|
BuildRequires: %{python_module atpublic}
|
||||||
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: %{python_module sybil}
|
BuildRequires: %{python_module sybil}
|
||||||
@ -48,10 +51,10 @@ High level API for internationalizing Python libraries and applications.
|
|||||||
%autosetup -n flufl.i18n-%{version} -p1
|
%autosetup -n flufl.i18n-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -60,6 +63,9 @@ High level API for internationalizing Python libraries and applications.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%dir %{python_sitelib}/flufl
|
||||||
|
%{python_sitelib}/flufl/i18n*
|
||||||
|
%{python_sitelib}/flufl.i18n*
|
||||||
|
%{python_sitelib}/flufl.i18n-%{version}*info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user