forked from pool/python-titlecase
- 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:
@@ -1,7 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Tue Oct 11 16:00:24 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to version 2.4
|
- Update to version 2.4
|
||||||
* Add `preserve_blank_lines` option (#88)
|
* Add `preserve_blank_lines` option (#88)
|
||||||
* Add Py3.10, Drop Py3.6
|
* Add Py3.10, Drop Py3.6
|
||||||
* Update unit testing framework
|
* Update unit testing framework
|
||||||
@@ -46,20 +57,20 @@ Tue May 15 19:57:54 UTC 2018 - toddrme2178@gmail.com
|
|||||||
* More robust against unicode chars
|
* More robust against unicode chars
|
||||||
* Mark strings written by callbacks as immutable
|
* Mark strings written by callbacks as immutable
|
||||||
* Add various dash types
|
* Add various dash types
|
||||||
* cmd: fix check for no additional parameters
|
* cmd: fix check for no additional parameters
|
||||||
* add small_first_last option
|
* add small_first_last option
|
||||||
* allow titlecase to be a command line utility
|
* allow titlecase to be a command line utility
|
||||||
* tests for hyphenated McName-Names
|
* tests for hyphenated McName-Names
|
||||||
* improve MAC_MC match handling
|
* improve MAC_MC match handling
|
||||||
* Support for hyphen and em dash delimited sub-phrases.
|
* Support for hyphen and em dash delimited sub-phrases.
|
||||||
* Fix APOS_SECOND possessive noun
|
* Fix APOS_SECOND possessive noun
|
||||||
* Add function for customizing small-word list
|
* Add function for customizing small-word list
|
||||||
* Defer lowering all caps until recursion is done
|
* Defer lowering all caps until recursion is done
|
||||||
* More restrictive regex for 'Mc'
|
* More restrictive regex for 'Mc'
|
||||||
* Handle `/`'s with recursion so all logic applies
|
* Handle `/`'s with recursion so all logic applies
|
||||||
* Handle single letter + apostrophe better
|
* Handle single letter + apostrophe better
|
||||||
* Allow numbers in 'ALL_CAPS' strings
|
* Allow numbers in 'ALL_CAPS' strings
|
||||||
* Fix MAC/emcee/MacHine casing; add test cases
|
* Fix MAC/emcee/MacHine casing; add test cases
|
||||||
- Complete rewrite of spec file
|
- Complete rewrite of spec file
|
||||||
- Implement single-spec version
|
- Implement single-spec version
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-titlecase
|
# 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
|
# 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
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-titlecase
|
Name: python-titlecase
|
||||||
Version: 2.4
|
Version: 2.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python library to capitalize strings
|
Summary: Python library to capitalize strings
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -26,6 +26,7 @@ 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 regex >= 2020.4.4}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -68,6 +69,7 @@ York Times Manual of Style, plus some others like 'vs' and 'v'.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%python_alternative %{_bindir}/titlecase
|
%python_alternative %{_bindir}/titlecase
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/titlecase
|
||||||
|
%{python_sitelib}/titlecase-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
titlecase-2.4.1.tar.gz
Normal file
3
titlecase-2.4.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7d83a277ccbbda11a2944e78a63e5ccaf3d32f828c594312e4862f9a07f635f5
|
||||||
|
size 14434
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:269293cae4b1fc12fdb21224819201a2ab4b97f3ea36b334f90804799b140902
|
|
||||||
size 14413
|
|
Reference in New Issue
Block a user