Sync from SUSE:SLFO:Main python-python-slugify revision 279d6a1938ad41ade789f76fd79f981a

This commit is contained in:
Adrian Schröter 2025-06-27 15:53:51 +02:00
parent 1b638cac33
commit 06f5fbef6b
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 11 05:49:34 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 03 09:19:12 UTC 2025 - opensuse_buildservice@ojkastl.de Fri Jan 03 09:19:12 UTC 2025 - opensuse_buildservice@ojkastl.de

View File

@ -23,11 +23,12 @@ Version: 8.0.4
Release: 0 Release: 0
Summary: Slugify application that handles Unicode Summary: Slugify application that handles Unicode
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/un33k/python-slugify URL: https://github.com/un33k/python-slugify
Source: %{short_name}-%{version}.tar.gz Source: %{short_name}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module text-unidecode >= 1.3} BuildRequires: %{python_module text-unidecode >= 1.3}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-text-unidecode >= 1.3 Requires: python-text-unidecode >= 1.3
@ -45,10 +46,10 @@ A Python Slugify application that handles Unicode.
%setup -q -n %{short_name}-%{version} %setup -q -n %{short_name}-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/slugify %python_clone -a %{buildroot}%{_bindir}/slugify
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -65,7 +66,7 @@ A Python Slugify application that handles Unicode.
%doc CHANGELOG.md README.md %doc CHANGELOG.md README.md
%license LICENSE %license LICENSE
%python_alternative %{_bindir}/slugify %python_alternative %{_bindir}/slugify
%{python_sitelib}/python_slugify-%{version}-py*.egg-info %{python_sitelib}/python_slugify-%{version}.dist-info
%{python_sitelib}/slugify/ %{python_sitelib}/slugify/
%changelog %changelog