Sync from SUSE:ALP:Source:Standard:1.0 python-python-slugify revision 09967b0edc6bc1653848aeeea569156a
This commit is contained in:
commit
351629e587
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
94
python-python-slugify.changes
Normal file
94
python-python-slugify.changes
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 10 08:54:14 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- add sle15_python_module_pythons
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 6 18:23:52 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- update to 4.0.1
|
||||||
|
* Add support for Py 3.8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 20 07:26:54 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
- %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 <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.0.3:
|
||||||
|
* Add Options to readme
|
||||||
|
* Add more unit tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 25 08:55:08 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.0.2:
|
||||||
|
* Add official support of Py 3.7
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 26 04:29:33 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- 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 <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- 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 <mcepl@suse.com>
|
||||||
|
|
||||||
|
- 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
|
72
python-python-slugify.spec
Normal file
72
python-python-slugify.spec
Normal file
@ -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
|
BIN
python-slugify-5.0.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
python-slugify-5.0.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user