14
0

- update to 2.4.1:

* Fix invalid escape sequence warning

- add setuptools_scm to get proper versions in the metadata
- Update to version 2.4
  * cmd: fix check for no additional parameters
  * Fix APOS_SECOND possessive noun
  * Defer lowering all caps until recursion is done
  * More restrictive regex for 'Mc'
  * Handle `/`'s with recursion so all logic applies
  * Handle single letter + apostrophe better
  * Fix MAC/emcee/MacHine casing; add test cases

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-titlecase?expand=0&rev=13
This commit is contained in:
2023-10-24 14:02:10 +00:00
committed by Git OBS Bridge
parent 8356f03a12
commit 3f950c473e
4 changed files with 27 additions and 14 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Oct 24 14:01:36 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.4.1:
* Fix invalid escape sequence warning
-------------------------------------------------------------------
Tue Oct 24 14:00:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add setuptools_scm to get proper versions in the metadata
-------------------------------------------------------------------
Tue Oct 11 16:00:24 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-titlecase
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-titlecase
Version: 2.4
Version: 2.4.1
Release: 0
Summary: Python library to capitalize strings
License: MIT
@@ -26,6 +26,7 @@ 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_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -68,6 +69,7 @@ York Times Manual of Style, plus some others like 'vs' and 'v'.
%files %{python_files}
%doc README.rst
%python_alternative %{_bindir}/titlecase
%{python_sitelib}/*
%{python_sitelib}/titlecase
%{python_sitelib}/titlecase-%{version}*-info
%changelog

3
titlecase-2.4.1.tar.gz Normal file
View File

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

View File

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