14
0

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:
2019-02-20 13:13:12 +00:00
committed by Git OBS Bridge
4 changed files with 20 additions and 15 deletions

View File

@@ -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> Tue Dec 4 12:53:07 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-slugify # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-python-slugify Name: python-python-slugify
Version: 1.2.5 Version: 2.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://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: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module Unidecode >= 0.04.16}
%endif
Conflicts: python-awesome-slugify Conflicts: python-awesome-slugify
Requires: python-Unidecode >= 0.04.16 Requires: python-Unidecode >= 0.04.16
BuildArch: noarch BuildArch: noarch
@@ -51,14 +48,11 @@ A Python Slugify application that handles Unicode
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check %check
%python_exec setup.py test %python_exec ./test.py
%endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %doc CHANGELOG.md README.md
%doc CHANGELOG.md README.rst
%license LICENSE %license LICENSE
%python3_only %{_bindir}/slugify %python3_only %{_bindir}/slugify
%{python_sitelib}/python_slugify-%{version}-py*.egg-info %{python_sitelib}/python_slugify-%{version}-py*.egg-info

View File

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

View File

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