1
0

Accepting request 793908 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/793908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-04-15 17:54:27 +00:00 committed by Git OBS Bridge
commit 8e792486d2
4 changed files with 23 additions and 8 deletions

View File

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

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

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Apr 14 11:03:28 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Update to 4.1.0
* Certain operations now allow ignore arbitrary leading words.
* Require Python 3.6 or later.
* Drop support for Python 3.4.
* Project now builds on jaraco/skeleton for shared package management.
-------------------------------------------------------------------
Tue Jun 11 08:38:40 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-inflect
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,19 +16,24 @@
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-inflect
Version: 2.1.0
Version: 4.1.0
Release: 0
Summary: Methods for working on numbers and nouns
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jazzband/inflect
Source0: https://files.pythonhosted.org/packages/source/i/inflect/inflect-%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module toml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-toml
BuildArch: noarch
%python_subpackages
@ -38,6 +43,7 @@ Correctly generate plurals, singular nouns, ordinals, indefinite articles; conve
%prep
%setup -q -n inflect-%{version}
rm -rf inflect.egg-info
sed -i 's/addopts=--doctest-modules --flake8 --black --cov/addopts=--doctest-modules/g' pytest.ini
%build
%python_build
@ -47,11 +53,11 @@ rm -rf inflect.egg-info
%python_exec %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand nosetests-%{$python_bin_suffix}
%pytest tests/
%files %{python_files}
%license LICENSE
%doc CHANGES.txt README.rst
%doc CHANGES.rst README.rst
%{python_sitelib}/*
%changelog