From 3d4659c6f7c0bec07c871721453c8899e6241f7c4b8d97890aacb32ccfd78c46 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 9 May 2018 23:17:55 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + python-python-slugify.changes | 18 ++++++++++ python-python-slugify.spec | 67 +++++++++++++++++++++++++++++++++++ python-slugify-1.2.5.tar.gz | 3 ++ 5 files changed, 112 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-python-slugify.changes create mode 100644 python-python-slugify.spec create mode 100644 python-slugify-1.2.5.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-python-slugify.changes b/python-python-slugify.changes new file mode 100644 index 0000000..7e01e34 --- /dev/null +++ b/python-python-slugify.changes @@ -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 diff --git a/python-python-slugify.spec b/python-python-slugify.spec new file mode 100644 index 0000000..026cbc0 --- /dev/null +++ b/python-python-slugify.spec @@ -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 diff --git a/python-slugify-1.2.5.tar.gz b/python-slugify-1.2.5.tar.gz new file mode 100644 index 0000000..427b08e --- /dev/null +++ b/python-slugify-1.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dbb360b882b2dabe0471a1a92f604504d83c2a73c71f2098d004ab62e695534 +size 6594