1
0

4 Commits

4 changed files with 31 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cfdb349d46ed3873ece4586b96aa75258726e2fa8ec21d6f00a591d98806c2f4
size 192701

3
Unidecode-1.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce35985008338b676573023acc382d62c264f307c8f7963733405add37ea2b23
size 200149

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Thu Jun 12 05:01:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Thu Apr 24 15:43:09 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 1.4.0:
* Drop support for Python <3.7.
* Add replacements for playing card suits and chess pieces
(thanks to Alan Davidson)
* Add replacements for U+211F "RESPONSE" and 0x2123 "VERSICLE"
(thanks to @ciesiolka on GitHub)
* Fix replacement for U+1D6D5 "MATHEMATICAL BOLD SMALL TAU".
* Fix replacements for U+014A "LATIN CAPITAL LETTER ENG"
and U+014B "LATIN SMALL LETTER ENG".
* Add replacements for U+2103 "DEGREE CELSIUS" and U+2109 "DEGREE
FAHRENHEIT".
-------------------------------------------------------------------
Sun Jan 21 18:00:33 UTC 2024 - Axel Braun <axel.braun@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Unidecode
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,18 +19,19 @@
%{?sle15allpythons}
%define skip_python2 1
Name: python-Unidecode
Version: 1.3.8
Version: 1.4.0
Release: 0
Summary: ASCII transliterations of Unicode text
License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://pypi.python.org/pypi/Unidecode
Source: https://files.pythonhosted.org/packages/source/U/Unidecode/Unidecode-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -76,10 +77,10 @@ Sean M. Burke <sburke@cpan.org>.
%setup -q -n Unidecode-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/unidecode
@@ -97,7 +98,7 @@ export LANG=en_US.UTF-8
%files %{python_files}
%license LICENSE
%doc ChangeLog README.rst
%{python_sitelib}/Unidecode-%{version}*-info
%{python_sitelib}/[Uu]nidecode-%{version}.dist-info
%{python_sitelib}/unidecode
%python_alternative %{_bindir}/unidecode