1
0

Accepting request 709104 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/709104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-06-12 11:17:10 +00:00 committed by Git OBS Bridge
commit 402ca47936
4 changed files with 26 additions and 14 deletions

View File

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

3
inflect-2.1.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Jun 11 08:38:40 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 2.1.0
* Relicensed under the more permissive MIT License.
* fix inconsistencies with the inflect method
* Improved unicode handling.
* Fix capitalization issues in processes where more than one word
is involved.
* fix extraneous close parentheses.
* Dropped support for Python 3.3.
* Moved hosting to jazzband.
-------------------------------------------------------------------
Tue Jul 4 18:37:00 UTC 2017 - aloisio@gmx.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-inflect
#
# Copyright (c) 2017 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
@ -12,24 +12,23 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-inflect
Version: 0.2.5
Version: 2.1.0
Release: 0
Summary: Methods for working on numbers and nouns
License: AGPL-3.0
License: MIT
Group: Development/Languages/Python
Url: https://github.com/pwdyson/inflect.py
URL: https://github.com/jazzband/inflect
Source0: https://files.pythonhosted.org/packages/source/i/inflect/inflect-%{version}.tar.gz
BuildRequires: %{python_module base}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@ -45,14 +44,14 @@ rm -rf inflect.egg-info
%install
%python_install
%python_exec %fdupes -s %{buildroot}%{$python_sitelib}
%python_exec %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=build/lib %{_bindir}/nosetests
%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES.txt COPYING.txt README.rst
%license LICENSE
%doc CHANGES.txt README.rst
%{python_sitelib}/*
%changelog