forked from pool/python-inflect
Accepting request 793901 from home:polslinux:branches:devel:languages:python
- 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. OBS-URL: https://build.opensuse.org/request/show/793901 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=6
This commit is contained in:
parent
cae6d9db97
commit
0219d1eeea
@ -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
3
inflect-4.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:def6f3791be9181f0c01e0bf5949304007ec6e04c6674fbef7cc49c657b8a9a5
|
||||||
|
size 72200
|
@ -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>
|
Tue Jun 11 08:38:40 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-inflect
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-inflect
|
Name: python-inflect
|
||||||
Version: 2.1.0
|
Version: 4.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Methods for working on numbers and nouns
|
Summary: Methods for working on numbers and nouns
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/jazzband/inflect
|
URL: https://github.com/jazzband/inflect
|
||||||
Source0: https://files.pythonhosted.org/packages/source/i/inflect/inflect-%{version}.tar.gz
|
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 setuptools_scm}
|
||||||
|
BuildRequires: %{python_module toml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-toml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -38,6 +43,7 @@ Correctly generate plurals, singular nouns, ordinals, indefinite articles; conve
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n inflect-%{version}
|
%setup -q -n inflect-%{version}
|
||||||
rm -rf inflect.egg-info
|
rm -rf inflect.egg-info
|
||||||
|
sed -i 's/addopts=--doctest-modules --flake8 --black --cov/addopts=--doctest-modules/g' pytest.ini
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -47,11 +53,11 @@ rm -rf inflect.egg-info
|
|||||||
%python_exec %fdupes %{buildroot}%{$python_sitelib}
|
%python_exec %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand nosetests-%{$python_bin_suffix}
|
%pytest tests/
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES.txt README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user