forked from pool/python-Unidecode
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Unidecode?expand=0&rev=49
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -23,10 +23,11 @@ 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
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user