Hello community, here is the log from the commit of package python3-regex for openSUSE:Factory checked in at 2016-10-19 13:14:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-regex (Old) and /work/SRC/openSUSE:Factory/.python3-regex.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-regex" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-regex/python3-regex.changes 2016-10-18 10:39:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-regex.new/python3-regex.changes 2016-10-19 13:15:23.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Oct 18 16:49:29 UTC 2016 - toddrme2...@gmail.com + +- Update to 2016.09.22 + * No upstream changelog +- Enable unit tests. + +------------------------------------------------------------------- Old: ---- regex-2016.08.27.tar.gz New: ---- regex-2016.09.22.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-regex.spec ++++++ --- /var/tmp/diff_new_pack.3a9SCw/_old 2016-10-19 13:15:24.000000000 +0200 +++ /var/tmp/diff_new_pack.3a9SCw/_new 2016-10-19 13:15:24.000000000 +0200 @@ -15,7 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ Name: python3-regex -Version: 2016.08.27 +Version: 2016.09.22 Release: 0 License: Python-2.0 Summary: Alternative regular expression module, to replace re @@ -23,6 +23,7 @@ Group: Development/Libraries/Python Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz BuildRequires: python3-devel +BuildRequires: python3-testsuite %description This new regex implementation is intended eventually to @@ -41,6 +42,9 @@ %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +PYTHONPATH=%{buildroot}%{python3_sitearch} python3 Python3/test_regex.py + %files %defattr(-,root,root) %doc README ++++++ regex-2016.08.27.tar.gz -> regex-2016.09.22.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-2016.08.27/PKG-INFO new/regex-2016.09.22/PKG-INFO --- old/regex-2016.08.27/PKG-INFO 2016-08-27 21:52:21.000000000 +0200 +++ new/regex-2016.09.22/PKG-INFO 2016-09-22 18:28:50.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: regex -Version: 2016.08.27 +Version: 2016.09.22 Summary: Alternative regular expression module, to replace re. Home-page: https://bitbucket.org/mrabarnett/mrab-regex Author: Matthew Barnett @@ -1057,6 +1057,7 @@ Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 Classifier: Topic :: Scientific/Engineering :: Information Analysis Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Text Processing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-2016.08.27/Python2/_regex_core.py new/regex-2016.09.22/Python2/_regex_core.py --- old/regex-2016.08.27/Python2/_regex_core.py 2016-07-21 20:31:29.000000000 +0200 +++ new/regex-2016.09.22/Python2/_regex_core.py 2016-09-22 18:21:22.000000000 +0200 @@ -2838,6 +2838,9 @@ def is_atomic(self): return self.min_count == self.max_count and self.subpattern.is_atomic() + def can_be_affix(self): + return False + def contains_group(self): return self.subpattern.contains_group() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-2016.08.27/Python2/regex.py new/regex-2016.09.22/Python2/regex.py --- old/regex-2016.08.27/Python2/regex.py 2016-08-27 20:58:50.000000000 +0200 +++ new/regex-2016.09.22/Python2/regex.py 2016-09-22 18:25:18.000000000 +0200 @@ -239,7 +239,7 @@ "U", "UNICODE", "V0", "VERSION0", "V1", "VERSION1", "X", "VERBOSE", "W", "WORD", "error", "Regex"] -__version__ = "2.4.107" +__version__ = "2.4.108" # -------------------------------------------------------------------- # Public interface. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-2016.08.27/Python2/test_regex.py new/regex-2016.09.22/Python2/test_regex.py --- old/regex-2016.08.27/Python2/test_regex.py 2016-07-21 20:34:31.000000000 +0200 +++ new/regex-2016.09.22/Python2/test_regex.py 2016-09-22 18:24:33.000000000 +0200 @@ -3692,6 +3692,10 @@ self.assertEqual(bool(regex.match(r'(?(?=.*\!.*)(?P<true>.*\!\w*\:.*)|(?P<false>.*))', '!')), False) + # Hg issue 220: Misbehavior of group capture with OR operand + self.assertEqual(regex.match(r'\w*(ea)\w*|\w*e(?!a)\w*', + 'easier').groups(), ('ea', )) + def test_subscripted_captures(self): self.assertEqual(regex.match(r'(?P<x>.)+', 'abc').expandf('{0} {0[0]} {0[-1]}'), 'abc abc abc') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-2016.08.27/Python3/_regex_core.py new/regex-2016.09.22/Python3/_regex_core.py --- old/regex-2016.08.27/Python3/_regex_core.py 2016-07-21 20:31:29.000000000 +0200 +++ new/regex-2016.09.22/Python3/_regex_core.py 2016-09-22 18:21:22.000000000 +0200 @@ -2828,6 +2828,9 @@ def is_atomic(self): return self.min_count == self.max_count and self.subpattern.is_atomic() + def can_be_affix(self): + return False + def contains_group(self): return self.subpattern.contains_group() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-2016.08.27/Python3/regex.py new/regex-2016.09.22/Python3/regex.py --- old/regex-2016.08.27/Python3/regex.py 2016-08-27 20:58:50.000000000 +0200 +++ new/regex-2016.09.22/Python3/regex.py 2016-09-22 18:25:18.000000000 +0200 @@ -239,7 +239,7 @@ "U", "UNICODE", "V0", "VERSION0", "V1", "VERSION1", "X", "VERBOSE", "W", "WORD", "error", "Regex"] -__version__ = "2.4.107" +__version__ = "2.4.108" # -------------------------------------------------------------------- # Public interface. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-2016.08.27/Python3/test_regex.py new/regex-2016.09.22/Python3/test_regex.py --- old/regex-2016.08.27/Python3/test_regex.py 2016-07-21 20:34:31.000000000 +0200 +++ new/regex-2016.09.22/Python3/test_regex.py 2016-09-22 18:24:33.000000000 +0200 @@ -3796,6 +3796,10 @@ self.assertEqual(bool(regex.match(r'(?(?=.*\!.*)(?P<true>.*\!\w*\:.*)|(?P<false>.*))', '!')), False) + # Hg issue 220: Misbehavior of group capture with OR operand + self.assertEqual(regex.match(r'\w*(ea)\w*|\w*e(?!a)\w*', + 'easier').groups(), ('ea', )) + def test_subscripted_captures(self): self.assertEqual(regex.match(r'(?P<x>.)+', 'abc').expandf('{0} {0[0]} {0[-1]}'), 'abc abc abc') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-2016.08.27/README new/regex-2016.09.22/README --- old/regex-2016.08.27/README 2015-06-18 21:26:04.000000000 +0200 +++ new/regex-2016.09.22/README 2016-09-22 18:28:50.000000000 +0200 @@ -1,6 +1,6 @@ regex is an alternative to the re package in the Python standard library. It is intended to act as a drop in replacement, and one day to replace re. regex is -supported on Python v2.5 to v2.7 and v3.1 to v3.5. +supported on Python v2.5 to v2.7 and v3.1 to v3.6. For a full list of features see Python2/Features.rst or Python3/Features.rst. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-2016.08.27/setup.py new/regex-2016.09.22/setup.py --- old/regex-2016.08.27/setup.py 2016-08-27 21:52:21.000000000 +0200 +++ new/regex-2016.09.22/setup.py 2016-09-22 18:28:50.000000000 +0200 @@ -13,7 +13,7 @@ setup( name='regex', - version='2016.08.27', + version='2016.09.22', description='Alternative regular expression module, to replace re.', long_description=open(os.path.join(DOCS_DIR, 'Features.rst')).read(), @@ -38,6 +38,7 @@ 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering :: Information Analysis', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Text Processing',