Hello community, here is the log from the commit of package python-titlecase for openSUSE:Factory checked in at 2018-05-17 18:04:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-titlecase (Old) and /work/SRC/openSUSE:Factory/.python-titlecase.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-titlecase" Thu May 17 18:04:04 2018 rev:1 rq:607702 version:0.12.0 Changes: -------- New Changes file: --- /dev/null 2018-04-25 19:14:53.472341877 +0200 +++ /work/SRC/openSUSE:Factory/.python-titlecase.new/python-titlecase.changes 2018-05-17 18:04:10.598605530 +0200 @@ -0,0 +1,31 @@ +------------------------------------------------------------------- +Tue May 15 19:57:54 UTC 2018 - [email protected] + +- Update to 0.12.0 + * Use unicode_literals for Py2 compatibility + * Handle case of `str` in python 2. + * More robust against unicode chars + * Mark strings written by callbacks as immutable + * Add various dash types + * cmd: fix check for no additional parameters + * add small_first_last option + * allow titlecase to be a command line utility + * tests for hyphenated McName-Names + * improve MAC_MC match handling + * Support for hyphen and em dash delimited sub-phrases. + * Fix APOS_SECOND possessive noun + * Add function for customizing small-word list + * 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 + * Allow numbers in 'ALL_CAPS' strings + * Fix MAC/emcee/MacHine casing; add test cases +- Complete rewrite of spec file +- Implement single-spec version + +------------------------------------------------------------------- +Wed Jun 29 17:42:51 UTC 2011 - [email protected] + +- Initial package, version 0.5.1 + New: ---- python-titlecase.changes python-titlecase.spec titlecase-0.12.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-titlecase.spec ++++++ # # spec file for package python-titlecase # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-titlecase Version: 0.12.0 Release: 0 License: MIT Summary: Python library to capitalize strings Url: https://github.com/ppannuto/python-titlecase Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/t/titlecase/titlecase-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module nose >= 1.0} # /SECTION BuildArch: noarch %python_subpackages %description This filter changes all words to Title Caps, and attempts to be clever about SMALL words like a/an/the in the input. The list of "SMALL words" which are not capped comes from the New York Times Manual of Style, plus some others like 'vs' and 'v'. %prep %setup -q -n titlecase-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} %doc README.rst %python3_only %{_bindir}/titlecase %{python_sitelib}/* %changelog
