Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jaraco.text for openSUSE:Factory checked in at 2022-12-07 17:34:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jaraco.text (Old) and /work/SRC/openSUSE:Factory/.python-jaraco.text.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jaraco.text" Wed Dec 7 17:34:42 2022 rev:11 rq:1040724 version:3.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jaraco.text/python-jaraco.text.changes 2022-10-27 13:52:13.731976508 +0200 +++ /work/SRC/openSUSE:Factory/.python-jaraco.text.new.1835/python-jaraco.text.changes 2022-12-07 17:35:59.688877453 +0100 @@ -1,0 +2,6 @@ +Tue Dec 6 03:48:18 UTC 2022 - Yogalakshmi Arunachalam <[email protected]> + +- Update to version 3.11.0 + * Added strip-prefix script. + +------------------------------------------------------------------- Old: ---- jaraco.text-3.10.0.tar.gz New: ---- jaraco.text-3.11.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jaraco.text.spec ++++++ --- /var/tmp/diff_new_pack.oBGg6t/_old 2022-12-07 17:36:00.468881724 +0100 +++ /var/tmp/diff_new_pack.oBGg6t/_new 2022-12-07 17:36:00.484881812 +0100 @@ -18,7 +18,7 @@ %define skip_python2 1 Name: python-jaraco.text -Version: 3.10.0 +Version: 3.11.0 Release: 0 Summary: Tools to work with text License: MIT ++++++ jaraco.text-3.10.0.tar.gz -> jaraco.text-3.11.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.10.0/CHANGES.rst new/jaraco.text-3.11.0/CHANGES.rst --- old/jaraco.text-3.10.0/CHANGES.rst 2022-10-20 20:22:46.000000000 +0200 +++ new/jaraco.text-3.11.0/CHANGES.rst 2022-11-20 18:14:27.000000000 +0100 @@ -1,3 +1,8 @@ +v3.11.0 +======= + +Added ``strip-prefix`` script. + v3.10.0 ======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.10.0/PKG-INFO new/jaraco.text-3.11.0/PKG-INFO --- old/jaraco.text-3.10.0/PKG-INFO 2022-10-20 20:23:27.848896500 +0200 +++ new/jaraco.text-3.11.0/PKG-INFO 2022-11-20 18:14:54.420488000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: jaraco.text -Version: 3.10.0 +Version: 3.11.0 Summary: Module for text manipulation Home-page: https://github.com/jaraco/jaraco.text Author: Jason R. Coombs @@ -16,12 +16,9 @@ License-File: LICENSE .. image:: https://img.shields.io/pypi/v/jaraco.text.svg - :target: `PyPI link`_ + :target: https://pypi.org/project/jaraco.text .. image:: https://img.shields.io/pypi/pyversions/jaraco.text.svg - :target: `PyPI link`_ - -.. _PyPI link: https://pypi.org/project/jaraco.text .. image:: https://github.com/jaraco/jaraco.text/workflows/tests/badge.svg :target: https://github.com/jaraco/jaraco.text/actions?query=workflow%3A%22tests%22 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.10.0/README.rst new/jaraco.text-3.11.0/README.rst --- old/jaraco.text-3.10.0/README.rst 2022-10-20 20:22:46.000000000 +0200 +++ new/jaraco.text-3.11.0/README.rst 2022-11-20 18:14:27.000000000 +0100 @@ -1,10 +1,7 @@ .. image:: https://img.shields.io/pypi/v/jaraco.text.svg - :target: `PyPI link`_ + :target: https://pypi.org/project/jaraco.text .. image:: https://img.shields.io/pypi/pyversions/jaraco.text.svg - :target: `PyPI link`_ - -.. _PyPI link: https://pypi.org/project/jaraco.text .. image:: https://github.com/jaraco/jaraco.text/workflows/tests/badge.svg :target: https://github.com/jaraco/jaraco.text/actions?query=workflow%3A%22tests%22 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.10.0/jaraco/text/strip-prefix.py new/jaraco.text-3.11.0/jaraco/text/strip-prefix.py --- old/jaraco.text-3.10.0/jaraco/text/strip-prefix.py 1970-01-01 01:00:00.000000000 +0100 +++ new/jaraco.text-3.11.0/jaraco/text/strip-prefix.py 2022-11-20 18:14:27.000000000 +0100 @@ -0,0 +1,21 @@ +import sys + +import autocommand + +from jaraco.text import Stripper + + +def strip_prefix(): + r""" + Strip any common prefix from stdin. + + >>> import io, pytest + >>> getfixture('monkeypatch').setattr('sys.stdin', io.StringIO('abcdef\nabc123')) + >>> strip_prefix() + def + 123 + """ + sys.stdout.writelines(Stripper.strip_prefix(sys.stdin).lines) + + +autocommand.autocommand(__name__)(strip_prefix) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.10.0/jaraco.text.egg-info/PKG-INFO new/jaraco.text-3.11.0/jaraco.text.egg-info/PKG-INFO --- old/jaraco.text-3.10.0/jaraco.text.egg-info/PKG-INFO 2022-10-20 20:23:27.000000000 +0200 +++ new/jaraco.text-3.11.0/jaraco.text.egg-info/PKG-INFO 2022-11-20 18:14:54.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: jaraco.text -Version: 3.10.0 +Version: 3.11.0 Summary: Module for text manipulation Home-page: https://github.com/jaraco/jaraco.text Author: Jason R. Coombs @@ -16,12 +16,9 @@ License-File: LICENSE .. image:: https://img.shields.io/pypi/v/jaraco.text.svg - :target: `PyPI link`_ + :target: https://pypi.org/project/jaraco.text .. image:: https://img.shields.io/pypi/pyversions/jaraco.text.svg - :target: `PyPI link`_ - -.. _PyPI link: https://pypi.org/project/jaraco.text .. image:: https://github.com/jaraco/jaraco.text/workflows/tests/badge.svg :target: https://github.com/jaraco/jaraco.text/actions?query=workflow%3A%22tests%22 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.10.0/jaraco.text.egg-info/SOURCES.txt new/jaraco.text-3.11.0/jaraco.text.egg-info/SOURCES.txt --- old/jaraco.text-3.10.0/jaraco.text.egg-info/SOURCES.txt 2022-10-20 20:23:27.000000000 +0200 +++ new/jaraco.text-3.11.0/jaraco.text.egg-info/SOURCES.txt 2022-11-20 18:14:54.000000000 +0100 @@ -27,5 +27,6 @@ jaraco/text/__init__.py jaraco/text/layouts.py jaraco/text/show-newlines.py +jaraco/text/strip-prefix.py jaraco/text/to-dvorak.py jaraco/text/to-qwerty.py \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco.text-3.10.0/mypy.ini new/jaraco.text-3.11.0/mypy.ini --- old/jaraco.text-3.10.0/mypy.ini 2022-10-20 20:22:46.000000000 +0200 +++ new/jaraco.text-3.11.0/mypy.ini 2022-11-20 18:14:27.000000000 +0100 @@ -1,2 +1,5 @@ [mypy] ignore_missing_imports = True +# required to support namespace packages +# https://github.com/python/mypy/issues/14057 +explicit_package_bases = True
