- Update to 1.2:

* Use pkgutil instead of pkg_resources
  * Cleanup readme
- Execute testsuite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-text-unidecode?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2019-02-14 14:50:08 +00:00 committed by Git OBS Bridge
parent 1f745abcbb
commit 77a9ebcf13
4 changed files with 17 additions and 5 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 14 14:48:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.2:
* Use pkgutil instead of pkg_resources
* Cleanup readme
- Execute testsuite
-------------------------------------------------------------------
Tue Dec 4 12:55:14 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-text-unidecode
#
# 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
@ -18,13 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-text-unidecode
Version: 1.1
Version: 1.2
Release: 0
Summary: The most basic Text::Unidecode port
License: Artistic-1.0
Group: Development/Languages/Python
URL: https://github.com/kmike/text-unidecode/
Source: https://files.pythonhosted.org/packages/source/t/text-unidecode/text-unidecode-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -51,6 +52,9 @@ This port is licensed under Artistic License and supports both Python
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%files %{python_files}
%license LICENSE
%doc README.rst

View File

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

View File

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