14
0

Accepting request 688589 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/688589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-slugify?expand=0&rev=4
This commit is contained in:
2019-03-26 14:45:29 +00:00
committed by Git OBS Bridge
4 changed files with 24 additions and 9 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
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> Tue Feb 19 17:11:03 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
@@ -6,7 +19,7 @@ Tue Feb 19 17:11:03 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
* Add replacements option e.g. [['|', 'or'], ['%', 'percent'], ['-', '_']] * Add replacements option e.g. [['|', 'or'], ['%', 'percent'], ['-', '_']]
- from 2.0.0 - from 2.0.0
* Fix alternative dependency installation * Fix alternative dependency installation
-from 1.2.6 - from 1.2.6
* Add support for case sensitive slugs * Add support for case sensitive slugs
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@@ -18,28 +18,30 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-slugify Name: python-python-slugify
Version: 2.0.1 Version: 3.0.1
Release: 0 Release: 0
Summary: Slugify application that handles Unicode Summary: Slugify application that handles Unicode
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/un33k/python-slugify Url: https://github.com/un33k/python-slugify
Source: https://github.com/un33k/python-slugify/archive/%{version}.tar.gz#/python-slugify-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/python-slugify/python-slugify-%{version}.tar.gz
BuildRequires: %{python_module Unidecode >= 0.04.16}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module text-unidecode >= 1.2}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Conflicts: python-awesome-slugify Conflicts: python-awesome-slugify
Requires: python-Unidecode >= 0.04.16 Requires: python-text-unidecode >= 1.2
Suggests: python-Unidecode >= 1.0.23
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
A Python Slugify application that handles Unicode A Python Slugify application that handles Unicode.
%prep %prep
%setup -q -n python-slugify-%{version} %setup -q -n python-slugify-%{version}
sed -i 's/==/>=/' setup.py
%build %build
%python_build %python_build

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a63e563d35cb6593e7411e18d9dbf90bd48866b45cb97c88c8cf0eaa14b0cca8
size 8453

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:492b27e5a12495340e50652ab4eab3a229ef7167c44b66b3a2861450e68b269a
size 7910