17
0

6 Commits

Author SHA256 Message Date
a8ea213ccc Accepting request 1301264 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-slugify?expand=0&rev=15
2025-08-25 18:36:28 +00:00
9b4bda263b - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-slugify?expand=0&rev=29
2025-08-25 12:29:54 +00:00
26be22fc49 Accepting request 1284654 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1284654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-slugify?expand=0&rev=14
2025-06-11 14:19:17 +00:00
358cb8069f - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-slugify?expand=0&rev=27
2025-06-11 06:27:20 +00:00
2f6b713c8d Accepting request 1234706 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1234706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-slugify?expand=0&rev=13
2025-01-05 14:30:11 +00:00
5844e7b32c Accepting request 1234702 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 8.0.4

OBS-URL: https://build.opensuse.org/request/show/1234702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-slugify?expand=0&rev=25
2025-01-03 09:55:27 +00:00
7 changed files with 76 additions and 19 deletions

View File

@@ -2,8 +2,8 @@
<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.1</param>
<param name="versionformat">v8.0.1</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>

View File

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

View File

@@ -1,3 +1,46 @@
-------------------------------------------------------------------
Mon Aug 25 12:29:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
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

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-python-slugify
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,37 @@
#
%{?sle15_python_module_pythons}
%define short_name python-slugify
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-%{short_name}
Version: 8.0.1
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: %{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-text-unidecode >= 1.3
Requires(post): update-alternatives
Requires(postun):update-alternatives
Suggests: python-Unidecode >= 1.1.1
Conflicts: python-awesome-slugify
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%python_subpackages
%description
@@ -45,10 +56,10 @@ A Python Slugify application that handles Unicode.
%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}
@@ -61,11 +72,14 @@ A Python Slugify application that handles Unicode.
%postun
%python_uninstall_alternative slugify
%pre
%python_libalternatives_reset_alternative slugify
%files %{python_files}
%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-8.0.1.obscpio (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.

View File

@@ -1,4 +1,4 @@
name: python-slugify
version: 8.0.1
mtime: 1677254351
commit: 58031becacdc8945393ddf628e84a6785cd08066
version: 8.0.4
mtime: 1707417145
commit: f85f9488520148d5f6899b5639199882b605e30a