14
0

Accepting request 605955 from devel:languages:python:misc

Slugify application that handles Unicode

OBS-URL: https://build.opensuse.org/request/show/605955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-slugify?expand=0&rev=1
This commit is contained in:
Todd R
2018-05-09 23:17:55 +00:00
committed by Git OBS Bridge
commit 3d4659c6f7
5 changed files with 112 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,18 @@
-------------------------------------------------------------------
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

View File

@@ -0,0 +1,67 @@
#
# spec file for package python-python-slugify
#
# Copyright (c) 2018 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
# 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 http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-python-slugify
Version: 1.2.5
Release: 0
License: MIT
Summary: Slugify application that handles Unicode
Url: https://github.com/un33k/python-slugify
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/p/python-slugify/python-slugify-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
%if %{with test}
BuildRequires: %{python_module Unidecode >= 0.04.16}
%endif
Conflicts: python-awesome-slugify
Requires: python-Unidecode >= 0.04.16
BuildArch: noarch
%python_subpackages
%description
A Python Slugify application that handles Unicode
%prep
%setup -q -n python-slugify-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGELOG.md README.rst
%license LICENSE
%python3_only %{_bindir}/slugify
%{python_sitelib}/python_slugify-%{version}-py*.egg-info
%{python_sitelib}/slugify/
%changelog

View File

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