commit f3f359ba8a7fff9fe220114fbb88b1efcc587eac198a9aaad5c1dc0b404116bd Author: Steve Kowalik Date: Wed Jun 11 06:27:20 2025 +0000 - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-slugify?expand=0&rev=27 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..5b228de --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + https://github.com/un33k/python-slugify.git + git + v8.0.4 + v8.0.4 + enable + v(.*) + + + + + gz + *.tar + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..78402bb --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/un33k/python-slugify.git + f85f9488520148d5f6899b5639199882b605e30a \ No newline at end of file diff --git a/python-python-slugify.changes b/python-python-slugify.changes new file mode 100644 index 0000000..886b3d3 --- /dev/null +++ b/python-python-slugify.changes @@ -0,0 +1,149 @@ +------------------------------------------------------------------- +Wed Jun 11 05:49:34 UTC 2025 - Steve Kowalik + +- 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 + +- add sle15_python_module_pythons + +------------------------------------------------------------------- +Mon Dec 6 18:23:52 UTC 2021 - Dirk Müller + +- update to 5.0.2: + * Drop support for python 2.7, 3.5 & tox, clean up + * Add support for Py 3.9 + +------------------------------------------------------------------- +Wed Aug 5 08:35:13 UTC 2020 - Marketa Calabkova + +- update to 4.0.1 + * Add support for Py 3.8 + +------------------------------------------------------------------- +Wed May 20 07:26:54 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- +Fri Mar 20 11:17:22 UTC 2020 - pgajdos@suse.com + +- version update to 4.0.0 + * Drop support from 2.6, & < 3.4.5 + * Fixed encoding in special.py + * Add test for pre-translation (e.g German Umlaut) + * Add special char supports (optional Use) + * Now supporting text-unidecode>=1.3 + * Now supporting Unidecode>=1.1.1 + +------------------------------------------------------------------- +Mon Aug 26 11:27:46 UTC 2019 - Antonio Larrosa + +- Update to 3.0.3: + * Add Options to readme + * Add more unit tests + +------------------------------------------------------------------- +Sat May 25 08:55:08 UTC 2019 - Tomáš Chvátal + +- Update to 3.0.2: + * Add official support of Py 3.7 + +------------------------------------------------------------------- +Tue Mar 26 04:29:33 UTC 2019 - John Vandenberg + +- Use PyPI sdist +- Switch from requiring python-Unidecode to requiring + python-text-unidecode >= 1.2 +- Update to v3.0.1 + * add test to manifest +- from v3.0.0 + * Upgrade Unidecode to 1.2 + * Promote text-unidecode as the primary decoding package + * Add Unidecode as an optional extra + +------------------------------------------------------------------- +Tue Feb 19 17:11:03 UTC 2019 - John Vandenberg + +- Activated test suite +- Update to v2.0.1 + * Add replacements option e.g. [['|', 'or'], ['%', 'percent'], ['-', '_']] +- from 2.0.0 + * Fix alternative dependency installation +- from 1.2.6 + * Add support for case sensitive slugs + +------------------------------------------------------------------- +Tue Dec 4 12:53:07 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Wed May 9 23:12:48 UTC 2018 - toddrme2178@gmail.com + +- Update to version 1.2.5 + * Add support for using text-unidecode (@bolkedebruin) + * Switch to pycodestyle instead of pep8 +- Use license tag + +------------------------------------------------------------------- +Mon Nov 27 16:29:15 UTC 2017 - toddrme2178@gmail.com + +- Conflict with python-awesome-slugify + They share the same module name + +------------------------------------------------------------------- +Fri Oct 20 16:17:56 UTC 2017 - toddrme2178@gmail.com + +- initial version diff --git a/python-python-slugify.spec b/python-python-slugify.spec new file mode 100644 index 0000000..e204604 --- /dev/null +++ b/python-python-slugify.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-python-slugify +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +%define short_name python-slugify +Name: python-%{short_name} +Version: 8.0.4 +Release: 0 +Summary: Slugify application that handles Unicode +License: MIT +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 +%python_subpackages + +%description +A Python Slugify application that handles Unicode. + +%prep +%setup -q -n %{short_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_clone -a %{buildroot}%{_bindir}/slugify +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec ./test.py + +%post +%python_install_alternative slugify + +%postun +%python_uninstall_alternative slugify + +%files %{python_files} +%doc CHANGELOG.md README.md +%license LICENSE +%python_alternative %{_bindir}/slugify +%{python_sitelib}/python_slugify-%{version}.dist-info +%{python_sitelib}/slugify/ + +%changelog diff --git a/python-slugify-8.0.1.obscpio b/python-slugify-8.0.1.obscpio new file mode 100644 index 0000000..d194822 --- /dev/null +++ b/python-slugify-8.0.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92ce88d894f4085e3413a66343dd63e9ffb8b2622f8e919e26c3958da937aff3 +size 58379 diff --git a/python-slugify-8.0.4.obscpio b/python-slugify-8.0.4.obscpio new file mode 100644 index 0000000..da6f093 --- /dev/null +++ b/python-slugify-8.0.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5edc0cfa58f113d315129ed20c31a3a531f803ade162f68429bf9612cc11b64c +size 60427 diff --git a/python-slugify.obsinfo b/python-slugify.obsinfo new file mode 100644 index 0000000..c23d6b0 --- /dev/null +++ b/python-slugify.obsinfo @@ -0,0 +1,4 @@ +name: python-slugify +version: 8.0.4 +mtime: 1707417145 +commit: f85f9488520148d5f6899b5639199882b605e30a