commit python-inflection for openSUSE:Factory

2020-08-29 Thread root
Hello community,

here is the log from the commit of package python-inflection for 
openSUSE:Factory checked in at 2020-08-29 20:44:36

Comparing /work/SRC/openSUSE:Factory/python-inflection (Old)
 and  /work/SRC/openSUSE:Factory/.python-inflection.new.3399 (New)


Package is "python-inflection"

Sat Aug 29 20:44:36 2020 rev:5 rq:830446 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Factory/python-inflection/python-inflection.changes  
2020-08-04 20:25:19.817041228 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-inflection.new.3399/python-inflection.changes
2020-08-29 20:44:54.821529386 +0200
@@ -1,0 +2,9 @@
+Sat Aug 22 08:35:11 UTC 2020 - Sebastian Wagner 
+
+- update to version 0.5.1:
+ - fix: type hint config so they are available to mypy
+   @sanzoghenzo correctly pointed out that a `py.typed` file alone wasn't
+   enough to get the typing working, we also need to move inflection into
+   a package. fixes: #49
+
+---

Old:

  inflection-0.5.0.tar.gz

New:

  inflection-0.5.1.tar.gz



Other differences:
--
++ python-inflection.spec ++
--- /var/tmp/diff_new_pack.KSA6z6/_old  2020-08-29 20:44:55.365529612 +0200
+++ /var/tmp/diff_new_pack.KSA6z6/_new  2020-08-29 20:44:55.365529612 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-inflection
-Version:0.5.0
+Version:0.5.1
 Release:0
 Summary:A port of Ruby on Rails inflector to Python
 License:MIT

++ inflection-0.5.0.tar.gz -> inflection-0.5.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inflection-0.5.0/PKG-INFO 
new/inflection-0.5.1/PKG-INFO
--- old/inflection-0.5.0/PKG-INFO   2020-06-06 10:04:19.762203500 +0200
+++ new/inflection-0.5.1/PKG-INFO   2020-08-22 10:15:01.469698400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: inflection
-Version: 0.5.0
+Version: 0.5.1
 Summary: A port of Ruby on Rails inflector to Python
 Home-page: https://github.com/jpvanhal/inflection
 Author: Janne Vanhala
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inflection-0.5.0/inflection/__init__.py 
new/inflection-0.5.1/inflection/__init__.py
--- old/inflection-0.5.0/inflection/__init__.py 1970-01-01 01:00:00.0 
+0100
+++ new/inflection-0.5.1/inflection/__init__.py 2020-08-22 10:13:03.0 
+0200
@@ -0,0 +1,426 @@
+# -*- coding: utf-8 -*-
+"""
+inflection
+
+
+A port of Ruby on Rails' inflector to Python.
+
+:copyright: (c) 2012-2020 by Janne Vanhala
+
+:license: MIT, see LICENSE for more details.
+"""
+import re
+import unicodedata
+
+__version__ = '0.5.1'
+
+PLURALS = [
+(r"(?i)(quiz)$", r'\1zes'),
+(r"(?i)^(oxen)$", r'\1'),
+(r"(?i)^(ox)$", r'\1en'),
+(r"(?i)(m|l)ice$", r'\1ice'),
+(r"(?i)(m|l)ouse$", r'\1ice'),
+(r"(?i)(passer)s?by$", r'\1sby'),
+(r"(?i)(matr|vert|ind)(?:ix|ex)$", r'\1ices'),
+(r"(?i)(x|ch|ss|sh)$", r'\1es'),
+(r"(?i)([^aeiouy]|qu)y$", r'\1ies'),
+(r"(?i)(hive)$", r'\1s'),
+(r"(?i)([lr])f$", r'\1ves'),
+(r"(?i)([^f])fe$", r'\1ves'),
+(r"(?i)sis$", 'ses'),
+(r"(?i)([ti])a$", r'\1a'),
+(r"(?i)([ti])um$", r'\1a'),
+(r"(?i)(buffal|potat|tomat)o$", r'\1oes'),
+(r"(?i)(bu)s$", r'\1ses'),
+(r"(?i)(alias|status)$", r'\1es'),
+(r"(?i)(octop|vir)i$", r'\1i'),
+(r"(?i)(octop|vir)us$", r'\1i'),
+(r"(?i)^(ax|test)is$", r'\1es'),
+(r"(?i)s$", 's'),
+(r"$", 's'),
+]
+
+SINGULARS = [
+(r"(?i)(database)s$", r'\1'),
+(r"(?i)(quiz)zes$", r'\1'),
+(r"(?i)(matr)ices$", r'\1ix'),
+(r"(?i)(vert|ind)ices$", r'\1ex'),
+(r"(?i)(passer)sby$", r'\1by'),
+(r"(?i)^(ox)en", r'\1'),
+(r"(?i)(alias|status)(es)?$", r'\1'),
+(r"(?i)(octop|vir)(us|i)$", r'\1us'),
+(r"(?i)^(a)x[ie]s$", r'\1xis'),
+(r"(?i)(cris|test)(is|es)$", r'\1is'),
+(r"(?i)(shoe)s$", r'\1'),
+(r"(?i)(o)es$", r'\1'),
+(r"(?i)(bus)(es)?$", r'\1'),
+(r"(?i)(m|l)ice$", r'\1ouse'),
+(r"(?i)(x|ch|ss|sh)es$", r'\1'),
+(r"(?i)(m)ovies$", r'\1ovie'),
+(r"(?i)(s)eries$", r'\1eries'),
+(r"(?i)([^aeiouy]|qu)ies$", r'\1y'),
+(r"(?i)([lr])ves$", r'\1f'),
+(r"(?i)(tive)s$", r'\1'),
+(r"(?i)(hive)s$", r'\1'),
+(r"(?i)([^f])ves$", r'\1fe'),
+(r"(?i)(t)he(sis|ses)$", r"\1hesis"),
+(r"(?i)(s)ynop(sis|ses)$", r"\1ynopsis"),
+(r"(?i)(p)rogno(sis|ses)$", r"\1rognosis"),
+(r"(?i)(p)arenthe(sis|ses)$", r"\1arenthesis"),
+(r"(?i)(d)iagno(sis|ses)$", r"\1iagnosis"),
+(r"(?i)(b)a(sis|ses)$", r"\1asis"),
+

commit python-inflection for openSUSE:Factory

2020-08-04 Thread root
Hello community,

here is the log from the commit of package python-inflection for 
openSUSE:Factory checked in at 2020-08-04 20:24:55

Comparing /work/SRC/openSUSE:Factory/python-inflection (Old)
 and  /work/SRC/openSUSE:Factory/.python-inflection.new.3592 (New)


Package is "python-inflection"

Tue Aug  4 20:24:55 2020 rev:4 rq:824332 version:0.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-inflection/python-inflection.changes  
2020-04-14 16:30:49.748083196 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-inflection.new.3592/python-inflection.changes
2020-08-04 20:25:19.817041228 +0200
@@ -1,0 +2,6 @@
+Tue Jul 28 12:05:16 UTC 2020 - Sebastian Wagner 
+
+- update to version 0.5.0:
+ -  Add type hints (#45)
+
+---

Old:

  inflection-0.4.0.tar.gz

New:

  inflection-0.5.0.tar.gz



Other differences:
--
++ python-inflection.spec ++
--- /var/tmp/diff_new_pack.jzNRpQ/_old  2020-08-04 20:25:21.757041882 +0200
+++ /var/tmp/diff_new_pack.jzNRpQ/_new  2020-08-04 20:25:21.761041883 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-inflection
-Version:0.4.0
+Version:0.5.0
 Release:0
 Summary:A port of Ruby on Rails inflector to Python
 License:MIT

++ inflection-0.4.0.tar.gz -> inflection-0.5.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inflection-0.4.0/PKG-INFO 
new/inflection-0.5.0/PKG-INFO
--- old/inflection-0.4.0/PKG-INFO   2020-04-06 21:28:11.525230400 +0200
+++ new/inflection-0.5.0/PKG-INFO   2020-06-06 10:04:19.762203500 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: inflection
-Version: 0.4.0
+Version: 0.5.0
 Summary: A port of Ruby on Rails inflector to Python
 Home-page: https://github.com/jpvanhal/inflection
 Author: Janne Vanhala
Binary files old/inflection-0.4.0/docs/__pycache__/conf.cpython-38.pyc and 
new/inflection-0.5.0/docs/__pycache__/conf.cpython-38.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inflection-0.4.0/docs/conf.py 
new/inflection-0.5.0/docs/conf.py
--- old/inflection-0.4.0/docs/conf.py   2020-04-06 21:15:59.0 +0200
+++ new/inflection-0.5.0/docs/conf.py   2020-06-06 09:58:38.0 +0200
@@ -13,6 +13,8 @@
 
 import sys, os
 
+from typing import Dict
+
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -124,7 +126,7 @@
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+#html_static_path = ['_static']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
@@ -182,7 +184,7 @@
 
 # Additional stuff for the LaTeX preamble.
 #'preamble': '',
-}
+} # type: Dict[str, str]
 
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, documentclass 
[howto/manual]).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inflection-0.4.0/inflection.egg-info/PKG-INFO 
new/inflection-0.5.0/inflection.egg-info/PKG-INFO
--- old/inflection-0.4.0/inflection.egg-info/PKG-INFO   2020-04-06 
21:28:11.0 +0200
+++ new/inflection-0.5.0/inflection.egg-info/PKG-INFO   2020-06-06 
10:04:19.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: inflection
-Version: 0.4.0
+Version: 0.5.0
 Summary: A port of Ruby on Rails inflector to Python
 Home-page: https://github.com/jpvanhal/inflection
 Author: Janne Vanhala
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inflection-0.4.0/inflection.py 
new/inflection-0.5.0/inflection.py
--- old/inflection-0.4.0/inflection.py  2020-04-06 21:15:47.0 +0200
+++ new/inflection-0.5.0/inflection.py  2020-06-06 09:58:44.0 +0200
@@ -12,7 +12,7 @@
 import re
 import unicodedata
 
-__version__ = '0.4.0'
+__version__ = '0.5.0'
 
 PLURALS = [
 (r"(?i)(quiz)$", r'\1zes'),
@@ -88,7 +88,7 @@
 'species'}
 
 
-def _irregular(singular, plural):
+def _irregular(singular: str, plural: str) -> None:
 """
 A convenience function to add appropriate rules to plurals and singular
 for irregular words.
@@ -96,7 +96,7 @@
 :param singular: 

commit python-inflection for openSUSE:Factory

2020-04-14 Thread root
Hello community,

here is the log from the commit of package python-inflection for 
openSUSE:Factory checked in at 2020-04-14 15:11:20

Comparing /work/SRC/openSUSE:Factory/python-inflection (Old)
 and  /work/SRC/openSUSE:Factory/.python-inflection.new.2738 (New)


Package is "python-inflection"

Tue Apr 14 15:11:20 2020 rev:3 rq:793755 version:0.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-inflection/python-inflection.changes  
2018-12-24 11:38:26.813608916 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-inflection.new.2738/python-inflection.changes
2020-04-14 16:30:49.748083196 +0200
@@ -1,0 +2,27 @@
+Tue Apr  7 07:42:02 UTC 2020 - Sebastian Wagner 
+
+- Disable Python2 build, upstream says they stopped support for it.
+
+---
+Tue Apr  7 07:39:01 UTC 2020 - Sebastian Wagner 
+
+- update to version 0.4.0:
+ - BREAKING CHANGES
+  - Drop support for Python 2.6 and 3.3 (2dfa5f6)
+  - Drop support for Python 2.7 (a826dac)
+  - Drop support for Python 3.4 (351a0f5)
+  - Drop support for PyPy (88a0a5f)
+ - Features
+  - Include docs in releases (4c85b45)
+  - Add universal wheel distribution (2daa3c7)
+  - Add support for Python 3.5 and 3.6 (2dfa5f6)
+  - Add support for Python 3.7 and 3.8 (09efb13)
+  - Add support for PyPy 3 (2d2d379)
+  - Move Changelog to GitHub releases (5181192)
+ - Bug Fixes
+  - Fix typo in camelize docs (5f44276)
+  - Fix doctest blocks in docstrings (1d6c78f) (#11)
+  - Fix "passerby" pluralized as "passerbys" and not "passersby (1969b3a) (#40)
+  - Fix titleize() capitalizing only words starting with A-Z (e32443b) (#33)
+
+---

Old:

  inflection-0.3.1.tar.gz

New:

  inflection-0.4.0.tar.gz



Other differences:
--
++ python-inflection.spec ++
--- /var/tmp/diff_new_pack.56wT9E/_old  2020-04-14 16:30:50.204083543 +0200
+++ /var/tmp/diff_new_pack.56wT9E/_new  2020-04-14 16:30:50.208083546 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-inflection
 #
-# 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
@@ -17,13 +17,14 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-inflection
-Version:0.3.1
+Version:0.4.0
 Release:0
 Summary:A port of Ruby on Rails inflector to Python
 License:MIT
 Group:  Development/Languages/Python
-Url:http://github.com/jpvanhal/inflection
+URL:http://github.com/jpvanhal/inflection
 Source: 
https://files.pythonhosted.org/packages/source/i/inflection/inflection-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -54,7 +55,7 @@
 %python_exec setup.py test
 
 %files %{python_files}
-%doc CHANGES.rst README.rst
+%doc README.rst
 %%license LICENSE
 %{python_sitelib}/*
 

++ inflection-0.3.1.tar.gz -> inflection-0.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inflection-0.3.1/CHANGES.rst 
new/inflection-0.4.0/CHANGES.rst
--- old/inflection-0.3.1/CHANGES.rst2015-05-03 10:06:13.0 +0200
+++ new/inflection-0.4.0/CHANGES.rst1970-01-01 01:00:00.0 +0100
@@ -1,42 +0,0 @@
-Changelog
--
-
-Here you can see the full list of changes between each Inflection release.
-
-0.3.1 (May 3, 2015)
-^^^
-
-- Fixed trove classifiers not showing up on PyPI.
-- Fixed "human" pluralized as "humen" and not "humans".
-- Fixed "potato" pluralized as "potatos" and not "potatoes".
-
-0.3.0 (March 1, 2015)
-+
-
-- Added `tableize()` function.
-
-0.2.1 (September 3, 2014)
-+
-
-- Added Python 2, Python 3 and Python 3.4 trove classifiers.
-
-0.2.0 (June 15, 2013)
-+
-
-- Added initial support for Python 3.
-- Dropped Python 2.5 support.
-
-0.1.2 (March 13, 2012)
-++
-
-- Added Python 2.5 support.
-
-0.1.1 (February 24, 2012)
-+
-
-- Fixed some files not included in the distribution package.
-
-0.1.0 (February 24, 2012)
-+
-
-- Initial public release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inflection-0.3.1/LICENSE new/inflection-0.4.0/LICENSE
--- old/inflection-0.3.1/LICENSE2015-03-01 18:29:02.0 +0100
+++ new/inflection-0.4.0/LICENSE2020-04-06 21:15:38.0 +0200
@@ -1,4 +1,4 @@
-Copyright (C) 

commit python-inflection for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-inflection for 
openSUSE:Factory checked in at 2018-12-24 11:38:25

Comparing /work/SRC/openSUSE:Factory/python-inflection (Old)
 and  /work/SRC/openSUSE:Factory/.python-inflection.new.28833 (New)


Package is "python-inflection"

Mon Dec 24 11:38:25 2018 rev:2 rq:659440 version:0.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-inflection/python-inflection.changes  
2017-12-14 11:00:00.560298062 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-inflection.new.28833/python-inflection.changes
   2018-12-24 11:38:26.813608916 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:49:19 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-inflection.spec ++
--- /var/tmp/diff_new_pack.5NIk3b/_old  2018-12-24 11:38:27.253608525 +0100
+++ /var/tmp/diff_new_pack.5NIk3b/_new  2018-12-24 11:38:27.257608522 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-inflection
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,22 +12,22 @@
 # 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-inflection
 Version:0.3.1
 Release:0
-License:MIT
 Summary:A port of Ruby on Rails inflector to Python
-Url:http://github.com/jpvanhal/inflection
+License:MIT
 Group:  Development/Languages/Python
+Url:http://github.com/jpvanhal/inflection
 Source: 
https://files.pythonhosted.org/packages/source/i/inflection/inflection-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
 # /SECTION