From 9688ec87846480e08e4cdbac86225a453d1b1b00ba55cd8f56401236bb1f7268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 26 Mar 2019 07:32:55 +0000 Subject: [PATCH] Accepting request 688522 from home:jayvdb:django - 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 - 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 - Remove superfluous devel dependency for noarch package - Update to version 1.2.5 * Add support for using text-unidecode (@bolkedebruin) * Switch to pycodestyle instead of pep8 - Use license tag - Conflict with python-awesome-slugify They share the same module name - initial version OBS-URL: https://build.opensuse.org/request/show/688522 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-slugify?expand=0&rev=7 --- python-python-slugify.changes | 15 ++++++++++++++- python-python-slugify.spec | 12 +++++++----- python-slugify-2.0.1.tar.gz | 3 --- python-slugify-3.0.1.tar.gz | 3 +++ 4 files changed, 24 insertions(+), 9 deletions(-) delete mode 100644 python-slugify-2.0.1.tar.gz create mode 100644 python-slugify-3.0.1.tar.gz diff --git a/python-python-slugify.changes b/python-python-slugify.changes index d6c5ca5..bb24b6e 100644 --- a/python-python-slugify.changes +++ b/python-python-slugify.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +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 @@ -6,7 +19,7 @@ Tue Feb 19 17:11:03 UTC 2019 - John Vandenberg * Add replacements option e.g. [['|', 'or'], ['%', 'percent'], ['-', '_']] - from 2.0.0 * Fix alternative dependency installation --from 1.2.6 +- from 1.2.6 * Add support for case sensitive slugs ------------------------------------------------------------------- diff --git a/python-python-slugify.spec b/python-python-slugify.spec index e692ee2..242417a 100644 --- a/python-python-slugify.spec +++ b/python-python-slugify.spec @@ -18,28 +18,30 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-slugify -Version: 2.0.1 +Version: 3.0.1 Release: 0 Summary: Slugify application that handles Unicode License: MIT Group: Development/Languages/Python Url: https://github.com/un33k/python-slugify -Source: https://github.com/un33k/python-slugify/archive/%{version}.tar.gz#/python-slugify-%{version}.tar.gz -BuildRequires: %{python_module Unidecode >= 0.04.16} +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.2} BuildRequires: fdupes BuildRequires: python-rpm-macros Conflicts: python-awesome-slugify -Requires: python-Unidecode >= 0.04.16 +Requires: python-text-unidecode >= 1.2 +Suggests: python-Unidecode >= 1.0.23 BuildArch: noarch %python_subpackages %description -A Python Slugify application that handles Unicode +A Python Slugify application that handles Unicode. %prep %setup -q -n python-slugify-%{version} +sed -i 's/==/>=/' setup.py %build %python_build diff --git a/python-slugify-2.0.1.tar.gz b/python-slugify-2.0.1.tar.gz deleted file mode 100644 index 9d59780..0000000 --- a/python-slugify-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a63e563d35cb6593e7411e18d9dbf90bd48866b45cb97c88c8cf0eaa14b0cca8 -size 8453 diff --git a/python-slugify-3.0.1.tar.gz b/python-slugify-3.0.1.tar.gz new file mode 100644 index 0000000..aa835a6 --- /dev/null +++ b/python-slugify-3.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:492b27e5a12495340e50652ab4eab3a229ef7167c44b66b3a2861450e68b269a +size 7910