commit 9cdd16e8274ddf26be2765848624d6ae22f6aefcaf6904019e1ed2285859f6dc Author: Adrian Schröter Date: Fri May 3 22:37:56 2024 +0200 Sync from SUSE:SLFO:Main python-python-slugify revision 09967b0edc6bc1653848aeeea569156a 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/python-python-slugify.changes b/python-python-slugify.changes new file mode 100644 index 0000000..779bc79 --- /dev/null +++ b/python-python-slugify.changes @@ -0,0 +1,94 @@ +------------------------------------------------------------------- +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..cbf9e43 --- /dev/null +++ b/python-python-slugify.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-python-slugify +# +# Copyright (c) 2023 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} +Name: python-python-slugify +Version: 5.0.2 +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 +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module text-unidecode >= 1.3} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-setuptools +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 python-slugify-%{version} +sed -i 's/==/>=/' setup.py + +%build +%python_build + +%install +%python_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}-py*.egg-info +%{python_sitelib}/slugify/ + +%changelog diff --git a/python-slugify-5.0.2.tar.gz b/python-slugify-5.0.2.tar.gz new file mode 100644 index 0000000..f06b170 --- /dev/null +++ b/python-slugify-5.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f13383a0b9fcbe649a1892b9c8eb4f8eab1d6d84b84bb7a624317afa98159cab +size 11959