forked from pool/python-titlecase
Accepting request 822596 from home:mcalabkova:branches:devel:languages:python
- Update to 1.1.1 * This adds support for user-customized wordlists * This adds a new keyword argument to the `titlecase()` method. * This adds environment checks for a wordlist file in the home directory. * This drops Py2k support and add 3.8 * #35: Add fancy double quote to punctuation; Thanks @dwaynebailey! * #45: Fix deprecation warning regarding invalid escape sequences. Thanks @tirkarthi * #46: Add support for titlecasing non-ASCII letters; Thanks @acabal! * #47: Add sphinx documentation to titlecase function; Thanks @1kastner! * #49: Remove closing bracket in parser help text; Thanks @1kastner! * #53: Add table with examples; Thanks @1kastner! * #53: Terms with only consonants should be ALL CAPS; Thanks @Garret-R! OBS-URL: https://build.opensuse.org/request/show/822596 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-titlecase?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
c394b5f908
commit
87d1ef585e
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 24 08:17:11 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.1.1
|
||||||
|
* This adds support for user-customized wordlists
|
||||||
|
* This adds a new keyword argument to the `titlecase()` method.
|
||||||
|
* This adds environment checks for a wordlist file in the home directory.
|
||||||
|
* This drops Py2k support and add 3.8
|
||||||
|
* #35: Add fancy double quote to punctuation; Thanks @dwaynebailey!
|
||||||
|
* #45: Fix deprecation warning regarding invalid escape sequences. Thanks @tirkarthi
|
||||||
|
* #46: Add support for titlecasing non-ASCII letters; Thanks @acabal!
|
||||||
|
* #47: Add sphinx documentation to titlecase function; Thanks @1kastner!
|
||||||
|
* #49: Remove closing bracket in parser help text; Thanks @1kastner!
|
||||||
|
* #53: Add table with examples; Thanks @1kastner!
|
||||||
|
* #53: Terms with only consonants should be ALL CAPS; Thanks @Garret-R!
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 18 09:10:30 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
Mon May 18 09:10:30 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@@ -18,16 +18,18 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-titlecase
|
Name: python-titlecase
|
||||||
Version: 0.12.0
|
Version: 1.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python library to capitalize strings
|
Summary: Python library to capitalize strings
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/ppannuto/python-titlecase
|
URL: https://github.com/ppannuto/python-titlecase
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/titlecase/titlecase-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/titlecase/titlecase-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module regex >= 2020.4.4}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-regex >= 2020.4.4
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -55,7 +57,7 @@ York Times Manual of Style, plus some others like 'vs' and 'v'.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%python_expand nosetests-%{$python_bin_suffix} titlecase.tests
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative titlecase
|
%python_install_alternative titlecase
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:84de7a97fb702c400e5ba11c6b30849944b39db12e20fbf4515a23c7538a0611
|
|
||||||
size 7030
|
|
3
titlecase-1.1.1.tar.gz
Normal file
3
titlecase-1.1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:16e279edf085293bc9c44a68ce959c7d6cd5c653e6b5669a3a3640015cb63eb6
|
||||||
|
size 9765
|
Reference in New Issue
Block a user