forked from pool/python-python-slugify
Accepting request 677459 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/677459 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-slugify?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-slugify
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,21 +17,18 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_with test
|
||||
Name: python-python-slugify
|
||||
Version: 1.2.5
|
||||
Version: 2.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://files.pythonhosted.org/packages/source/p/python-slugify/python-slugify-%{version}.tar.gz
|
||||
Source: https://github.com/un33k/python-slugify/archive/%{version}.tar.gz#/python-slugify-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Unidecode >= 0.04.16}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Unidecode >= 0.04.16}
|
||||
%endif
|
||||
Conflicts: python-awesome-slugify
|
||||
Requires: python-Unidecode >= 0.04.16
|
||||
BuildArch: noarch
|
||||
@@ -51,14 +48,11 @@ A Python Slugify application that handles Unicode
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
%python_exec ./test.py
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG.md README.rst
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE
|
||||
%python3_only %{_bindir}/slugify
|
||||
%{python_sitelib}/python_slugify-%{version}-py*.egg-info
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5dbb360b882b2dabe0471a1a92f604504d83c2a73c71f2098d004ab62e695534
|
||||
size 6594
|
3
python-slugify-2.0.1.tar.gz
Normal file
3
python-slugify-2.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a63e563d35cb6593e7411e18d9dbf90bd48866b45cb97c88c8cf0eaa14b0cca8
|
||||
size 8453
|
Reference in New Issue
Block a user