Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-exrex for openSUSE:Factory 
checked in at 2021-03-05 13:48:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-exrex (Old)
 and      /work/SRC/openSUSE:Factory/.python-exrex.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-exrex"

Fri Mar  5 13:48:10 2021 rev:5 rq:876827 version:0.10.5+git119

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-exrex/python-exrex.changes        
2020-05-28 09:17:31.776993491 +0200
+++ /work/SRC/openSUSE:Factory/.python-exrex.new.2378/python-exrex.changes      
2021-03-05 13:50:39.947916412 +0100
@@ -1,0 +2,19 @@
+Thu Feb 25 19:25:16 UTC 2021 - Sebastian Wagner <sebix+novell....@sebix.at>
+
+- add fix-setup-encoding.patch to fix encoding issues in setup.py
+- Skip Python 2.
+- run the tests.
+- remove add-license.patch, included in upstream
+- Update to revision 49909345:
+ - Fix: added py_modules
+ - Fix: Typo in email address
+ - Add support for \w and \W
+ - Add full license file
+ - Add MANIFEST to include metafiles
+ - add rstr.xeger
+ - README: group related projects and describe them
+ - fix: utf-8
+ - Add support for min-repeat
+ - Escape literal special characters in sre_to_string method.
+
+-------------------------------------------------------------------

Old:
----
  add-license.patch
  exrex-0.10.5.tar.gz

New:
----
  exrex-0.10.5+git119.tar.gz
  fix-setup-encoding.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-exrex.spec ++++++
--- /var/tmp/diff_new_pack.v4nrmO/_old  2021-03-05 13:50:40.775917247 +0100
+++ /var/tmp/diff_new_pack.v4nrmO/_new  2021-03-05 13:50:40.775917247 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-exrex
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,19 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define revision fd1e21ffc7c16fd5637a5c440224766417e840f9
+%define skip_python2 1
 Name:           python-exrex
-Version:        0.10.5
+Version:        0.10.5+git119
 Release:        0
 Summary:        Irregular methods for regular expressions
 License:        AGPL-3.0-or-later
 Group:          Development/Languages/Python
 URL:            https://github.com/asciimoo/exrex
-Source:         
https://files.pythonhosted.org/packages/source/e/exrex/exrex-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM add-license.patch
-Patch0:         
https://github.com/asciimoo/exrex/pull/32.patch#/add-license.patch
+#Source:         
https://files.pythonhosted.org/packages/source/e/exrex/exrex-%%{version}.tar.gz
+Source:         
https://github.com/asciimoo/exrex/archive/%{revision}.tar.gz#/exrex-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix-setup-encoding.patch
+Patch0:         
https://github.com/asciimoo/exrex/pull/53.patch#/fix-setup-encoding.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -37,10 +40,10 @@
 %python_subpackages
 
 %description
-Exrex is a command line tool and python module that generates all or random 
matching strings to a given regular expression and more.
+A command line tool and python module that generates all or random matching 
strings to a given regular expression and more.
 
 %prep
-%setup -q -n exrex-%{version}
+%setup -q -n exrex-%{revision}
 sed -i '1s/^#!.*//' exrex.py
 %patch0 -p1
 
@@ -54,7 +57,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# no upstream tests
+%{python_expand # comment
+LANG=C.UTF-8 PYTHONPATH=%{buildroot}%{$python_sitelib} $python ./tests.py}
 
 %post
 %python_install_alternative exrex
@@ -65,6 +69,7 @@
 %files %{python_files}
 %{python_sitelib}/*
 %license COPYING
+%doc README.md doc/
 %python_alternative %{_bindir}/exrex
 
 %changelog

++++++ fix-setup-encoding.patch ++++++
>From 09a1ef0962268460f66084a992fee1aff77dc141 Mon Sep 17 00:00:00 2001
From: Sebastian Wagner <wag...@cert.at>
Date: Thu, 25 Feb 2021 21:03:56 +0100
Subject: [PATCH] setup.py: declare encoding as utf-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

the ellipsis (???) causes troubles otherwise on "old" python versions as
3.6
---
 setup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setup.py b/setup.py
index 29c5a87..475a86f 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 import io
 import os
 import sys

Reply via email to