Compare commits

2 Commits
1.1 ... main

7 changed files with 95 additions and 15 deletions

17
_service Normal file
View File

@@ -0,0 +1,17 @@
<services>
<service mode="manual" name="obs_scm">
<param name="url">https://github.com/un33k/python-slugify.git</param>
<param name="scm">git</param>
<param name="revision">v8.0.4</param>
<param name="versionformat">v8.0.4</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service mode="manual" name="set_version"/>
<service mode="buildtime" name="tar"/>
<service mode="buildtime" name="recompress">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/un33k/python-slugify.git</param>
<param name="changesrevision">f85f9488520148d5f6899b5639199882b605e30a</param></service></servicedata>

View File

@@ -1,3 +1,58 @@
-------------------------------------------------------------------
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
- Update to version 8.0.4:
* Uppercase handling of special chars (#149)
* format
* up version
* fix uppercase pre-translations (#148)
* UpVersion
* Remove compatibility with unsupported Python versions (#146)
* more test
* format fix
* upversion node support
* pre normalize
-------------------------------------------------------------------
Fri Jan 03 09:13:38 UTC 2025 - opensuse_buildservice@ojkastl.de
- Update to version 8.0.3:
* Drop compatibility for unsupported Python Version (#147)
-------------------------------------------------------------------
Fri Jan 03 09:11:54 UTC 2025 - opensuse_buildservice@ojkastl.de
- Update to version 8.0.2:
* Ci - Normalize accented text twice. (#143)
* Add Python 3.12 to test matrix and add classifier to the setup
(#139)
* Add typing and expose py.typed (#137)
* Revert "Replace flake8 and pycodestyle with ruff (#131)" (#136)
* Replace flake8 and pycodestyle with ruff (#131)
* unidecode (advanced) hyperlink
-------------------------------------------------------------------
Fri Dec 29 16:06:08 UTC 2023 - egotthold@suse.com
- Update to version v8.0.1:
* Legal Notice / Readme
* Add note on licensing (#130)
* By default, prefer unidecode if installed
* Update import order for unidecode vs text_unidecode (#126)
* Support Matrix
* SemVer Table
* merge sandbox
* github action revert
* cmdline options
* update dev deps
* Up Version
* Add missing cmdLine options
-------------------------------------------------------------------
Wed May 10 08:54:14 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-slugify
#
# Copyright (c) 2023 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
@@ -17,22 +17,23 @@
%{?sle15_python_module_pythons}
Name: python-python-slugify
Version: 5.0.2
%define short_name python-slugify
Name: python-%{short_name}
Version: 8.0.4
Release: 0
Summary: Slugify application that handles Unicode
License: MIT
Group: Development/Languages/Python
URL: https://github.com/un33k/python-slugify
Source: https://files.pythonhosted.org/packages/source/p/python-slugify/python-slugify-%{version}.tar.gz
Source: %{short_name}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module text-unidecode >= 1.3}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires: python-text-unidecode >= 1.3
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
Suggests: python-Unidecode >= 1.1.1
Conflicts: python-awesome-slugify
BuildArch: noarch
@@ -42,14 +43,13 @@ BuildArch: noarch
A Python Slugify application that handles Unicode.
%prep
%setup -q -n python-slugify-%{version}
sed -i 's/==/>=/' setup.py
%setup -q -n %{short_name}-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/slugify
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -66,7 +66,7 @@ sed -i 's/==/>=/' setup.py
%doc CHANGELOG.md README.md
%license LICENSE
%python_alternative %{_bindir}/slugify
%{python_sitelib}/python_slugify-%{version}-py*.egg-info
%{python_sitelib}/python_slugify-%{version}.dist-info
%{python_sitelib}/slugify/
%changelog

BIN
python-slugify-5.0.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
python-slugify-8.0.4.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

4
python-slugify.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: python-slugify
version: 8.0.4
mtime: 1707417145
commit: f85f9488520148d5f6899b5639199882b605e30a