14
0

Accepting request 822656 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/822656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-titlecase?expand=0&rev=4
This commit is contained in:
2020-07-26 14:19:02 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 5 deletions

View File

@@ -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>

View File

@@ -18,16 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-titlecase
Version: 0.12.0
Version: 1.1.1
Release: 0
Summary: Python library to capitalize strings
License: MIT
Group: Development/Languages/Python
URL: https://github.com/ppannuto/python-titlecase
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: fdupes
BuildRequires: python-rpm-macros
Requires: python-regex >= 2020.4.4
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
@@ -55,7 +57,7 @@ York Times Manual of Style, plus some others like 'vs' and 'v'.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%python_expand nosetests-%{$python_bin_suffix} titlecase.tests
%post
%python_install_alternative titlecase

View File

@@ -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
View File

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