commit python-titlecase for openSUSE:Factory
Hello community, here is the log from the commit of package python-titlecase for openSUSE:Factory checked in at 2020-07-26 16:19:02 Comparing /work/SRC/openSUSE:Factory/python-titlecase (Old) and /work/SRC/openSUSE:Factory/.python-titlecase.new.3592 (New) Package is "python-titlecase" Sun Jul 26 16:19:02 2020 rev:4 rq:822656 version:1.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-titlecase/python-titlecase.changes 2020-05-19 14:48:53.384124037 +0200 +++ /work/SRC/openSUSE:Factory/.python-titlecase.new.3592/python-titlecase.changes 2020-07-26 16:19:50.868836557 +0200 @@ -1,0 +2,16 @@ +Fri Jul 24 08:17:11 UTC 2020 - Marketa Calabkova + +- 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! + +--- Old: titlecase-0.12.0.tar.gz New: titlecase-1.1.1.tar.gz Other differences: -- ++ python-titlecase.spec ++ --- /var/tmp/diff_new_pack.QrcL0b/_old 2020-07-26 16:19:51.324836984 +0200 +++ /var/tmp/diff_new_pack.QrcL0b/_new 2020-07-26 16:19:51.328836988 +0200 @@ -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 @@ %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 ++ titlecase-0.12.0.tar.gz -> titlecase-1.1.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/titlecase-0.12.0/PKG-INFO new/titlecase-1.1.1/PKG-INFO --- old/titlecase-0.12.0/PKG-INFO 2017-09-19 18:39:50.0 +0200 +++ new/titlecase-1.1.1/PKG-INFO2020-06-12 19:53:54.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: titlecase -Version: 0.12.0 +Version: 1.1.1 Summary: Python Port of John Gruber's titlecase.pl Home-page: https://github.com/ppannuto/python-titlecase Author: Pat Pannuto, Stuart Colville, John Gruber @@ -14,13 +14,27 @@ .. image:: https://coveralls.io/repos/github/ppannuto/python-titlecase/badge.svg?branch=master :target: https://coveralls.io/github/ppannuto/python-titlecase?branch=master -This filter changes all words to Title Caps, and attempts to be clever +This filter changes a given text 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'. -This is a resurrection of `Stuart Colville's +The filter employs some heuristics to guess abbreviations that don't need conversion. + ++--++ +| Original | Conversion | ++==++ +| this is a test | This Is a Test | ++--++ +| THIS IS A TEST | This Is a Test | ++--++ +| this is a TEST | This Is a TEST | ++--++ + +More examples and expected behavior for corner cases are available in the +`package test suite
commit python-titlecase for openSUSE:Factory
Hello community, here is the log from the commit of package python-titlecase for openSUSE:Factory checked in at 2020-05-19 14:48:51 Comparing /work/SRC/openSUSE:Factory/python-titlecase (Old) and /work/SRC/openSUSE:Factory/.python-titlecase.new.2738 (New) Package is "python-titlecase" Tue May 19 14:48:51 2020 rev:3 rq:806969 version:0.12.0 Changes: --- /work/SRC/openSUSE:Factory/python-titlecase/python-titlecase.changes 2019-01-24 14:14:21.447297159 +0100 +++ /work/SRC/openSUSE:Factory/.python-titlecase.new.2738/python-titlecase.changes 2020-05-19 14:48:53.384124037 +0200 @@ -1,0 +2,5 @@ +Mon May 18 09:10:30 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-titlecase.spec ++ --- /var/tmp/diff_new_pack.c1DRLv/_old 2020-05-19 14:48:54.100125625 +0200 +++ /var/tmp/diff_new_pack.c1DRLv/_new 2020-05-19 14:48:54.104125634 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-titlecase # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,16 +23,17 @@ Summary:Python library to capitalize strings License:MIT 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 BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module nose >= 1.0} # /SECTION -BuildArch: noarch - %python_subpackages %description @@ -50,14 +51,21 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/titlecase %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test +%post +%python_install_alternative titlecase + +%postun +%python_uninstall_alternative titlecase + %files %{python_files} %doc README.rst -%python3_only %{_bindir}/titlecase +%python_alternative %{_bindir}/titlecase %{python_sitelib}/* %changelog
commit python-titlecase for openSUSE:Factory
Hello community, here is the log from the commit of package python-titlecase for openSUSE:Factory checked in at 2019-01-24 14:14:20 Comparing /work/SRC/openSUSE:Factory/python-titlecase (Old) and /work/SRC/openSUSE:Factory/.python-titlecase.new.28833 (New) Package is "python-titlecase" Thu Jan 24 14:14:20 2019 rev:2 rq:667869 version:0.12.0 Changes: --- /work/SRC/openSUSE:Factory/python-titlecase/python-titlecase.changes 2018-05-17 18:04:10.598605530 +0200 +++ /work/SRC/openSUSE:Factory/.python-titlecase.new.28833/python-titlecase.changes 2019-01-24 14:14:21.447297159 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:55:19 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-titlecase.spec ++ --- /var/tmp/diff_new_pack.GT3tIg/_old 2019-01-24 14:14:21.887296651 +0100 +++ /var/tmp/diff_new_pack.GT3tIg/_new 2019-01-24 14:14:21.887296651 +0100 @@ -12,19 +12,19 @@ # 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/ +# Please submit bugfixes or comments via https://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 +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 devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros
commit python-titlecase for openSUSE:Factory
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 - toddrme2...@gmail.com + +- 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 - hvo...@novell.com + +- 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