Hello community,

here is the log from the commit of package python-cmd2 for openSUSE:Factory 
checked in at 2018-12-14 20:48:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cmd2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-cmd2.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cmd2"

Fri Dec 14 20:48:20 2018 rev:21 rq:656831 version:0.9.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cmd2/python-cmd2.changes  2018-10-02 
19:41:40.366187244 +0200
+++ /work/SRC/openSUSE:Factory/.python-cmd2.new.28833/python-cmd2.changes       
2018-12-14 20:48:35.997409317 +0100
@@ -1,0 +2,6 @@
+Mon Dec  3 11:13:35 UTC 2018 - Matěj Cepl <mc...@suse.com>
+
+- Add remove-typing.patch removing requirements for the typing library,
+  which is useless now.
+
+-------------------------------------------------------------------

New:
----
  remove-typing.patch

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

Other differences:
------------------
++++++ python-cmd2.spec ++++++
--- /var/tmp/diff_new_pack.kOIliF/_old  2018-12-14 20:48:36.741408294 +0100
+++ /var/tmp/diff_new_pack.kOIliF/_new  2018-12-14 20:48:36.745408288 +0100
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -26,8 +26,9 @@
 Group:          Development/Languages/Python
 Url:            https://github.com/python-cmd2/cmd2
 Source:         
https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz
-BuildRequires:  %{python_module setuptools}
+Patch0:         remove-typing.patch
 BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # SECTION Test requirements
@@ -38,6 +39,10 @@
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module wcwidth}
+%if 0%{?sle_version} < 150000 && 0%{?is_opensuse}
+BuildRequires:  %{python_module contextlib2}
+BuildRequires:  %{python_module typing}
+%endif
 # /SECTION
 Requires:       python-attrs
 Requires:       python-colorama
@@ -68,6 +73,9 @@
 
 %prep
 %setup -q -n cmd2-%{version}
+%if 0%{?sle_version} < 150000 && 0%{?is_opensuse}
+%patch0 -p1
+%endif
 # Fix non-executable-script
 sed -i -e '/^#!\//, 1d' cmd2/cmd2.py
 # Fix spurious-executable-perm

++++++ remove-typing.patch ++++++
---
 setup.py |    2 --
 1 file changed, 2 deletions(-)

--- a/setup.py
+++ b/setup.py
@@ -68,8 +68,6 @@ EXTRAS_REQUIRE = {
     ":sys_platform=='win32'": ['pyreadline'],
     # POSIX OSes also require wcwidth for correctly estimating the displayed 
width of unicode chars
     ":sys_platform!='win32'": ['wcwidth'],
-    # Python 3.4 and earlier require contextlib2 for temporarily redirecting 
stderr and stdout
-    ":python_version<'3.5'": ['contextlib2', 'typing'],
     # development only dependencies
     # install with 'pip install -e .[dev]'
     'dev': [

Reply via email to