Hello community,

here is the log from the commit of package mypy for openSUSE:Factory checked in 
at 2019-02-20 14:10:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mypy (Old)
 and      /work/SRC/openSUSE:Factory/.mypy.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mypy"

Wed Feb 20 14:10:57 2019 rev:10 rq:676217 version:0.670

Changes:
--------
--- /work/SRC/openSUSE:Factory/mypy/mypy.changes        2018-08-29 
12:26:20.511546369 +0200
+++ /work/SRC/openSUSE:Factory/.mypy.new.28833/mypy.changes     2019-02-20 
14:10:59.894946122 +0100
@@ -1,0 +2,10 @@
+Thu Feb 14 17:46:05 CET 2019 - Matej Cepl <[email protected]>
+
+- Update to 0.670: too many changes to list here (and there is no
+  perfect changelog), but all information is on
+  http://www.mypy-lang.org/
+- Remove already included patches
+  0001-Look-for-typeshed-in-usr-share.patch and
+  0002-Canonicalize-bin_dir-when-looking-for-data_dir.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Look-for-typeshed-in-usr-share.patch
  0002-Canonicalize-bin_dir-when-looking-for-data_dir.patch
  mypy-0.620.tar.gz

New:
----
  mypy-0.670.tar.gz
  mypy-rpmlintrc

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

Other differences:
------------------
++++++ mypy.spec ++++++
--- /var/tmp/diff_new_pack.X557bQ/_old  2019-02-20 14:11:00.446945938 +0100
+++ /var/tmp/diff_new_pack.X557bQ/_new  2019-02-20 14:11:00.450945937 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mypy
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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,24 +12,25 @@
 # 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/
 #
 
 
 Name:           mypy
-Version:        0.620
+Version:        0.670
 Release:        0
 Summary:        Optional static typing for Python
 License:        MIT
 Group:          Development/Languages/Python
 URL:            http://www.mypy-lang.org/
-Source:         
https://files.pythonhosted.org/packages/source/m/mypy/mypy-%{version}.tar.gz
-Patch0:         0001-Look-for-typeshed-in-usr-share.patch
-Patch1:         0002-Canonicalize-bin_dir-when-looking-for-data_dir.patch
+Source0:        
https://files.pythonhosted.org/packages/source/m/mypy/mypy-%{version}.tar.gz
+Source99:       mypy-rpmlintrc
 Patch2:         0003-Pass-executable-path-into-main-when-running-installe.patch
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  python3-mypy_extensions
 BuildRequires:  python3-setuptools
+BuildRequires:  python3-typed-ast
 Requires:       python3-mypy_extensions >= 0.4.0
 Requires:       python3-psutil >= 5.4.0
 Requires:       python3-typed-ast >= 1.1.0
@@ -54,6 +55,9 @@
 
 %prep
 %autosetup -n mypy-%{version} -p1
+for scr in mypy/typeshed/tests/*.py ; do
+    sed -i -e '1 s|env ||' $scr
+done
 
 %build
 %python3_build
@@ -66,6 +70,12 @@
 %python3_install
 %fdupes %{buildroot}
 
+%check
+export PYTHONPATH=%{buildroot}%{python3_sitelib}
+python3 -m mypy --config-file mypy_self_check.ini -p mypy
+# py.test3 -v … we need to analyze subset of tests which would be
+# available and without large dependencies.
+
 %files
 %doc docs/README.md docs/build/html/
 %license LICENSE
@@ -73,6 +83,5 @@
 %{_bindir}/dmypy
 %{_bindir}/mypy
 %{_bindir}/stubgen
-%{_libexecdir}/mypy
 
 %changelog

++++++ 0003-Pass-executable-path-into-main-when-running-installe.patch ++++++
--- /var/tmp/diff_new_pack.X557bQ/_old  2019-02-20 14:11:00.470945930 +0100
+++ /var/tmp/diff_new_pack.X557bQ/_new  2019-02-20 14:11:00.470945930 +0100
@@ -8,8 +8,6 @@
  mypy/__main__.py | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
-diff --git a/mypy/__main__.py b/mypy/__main__.py
-index 625242d1..f4ac9511 100644
 --- a/mypy/__main__.py
 +++ b/mypy/__main__.py
 @@ -1,10 +1,11 @@
@@ -25,6 +23,3 @@
  
  
  if __name__ == '__main__':
--- 
-2.13.5
-

++++++ mypy-0.620.tar.gz -> mypy-0.670.tar.gz ++++++
++++ 216563 lines of diff (skipped)

++++++ mypy-rpmlintrc ++++++
addFilter("zero-length .*/usr/lib/python.*/site-packages/mypy/test/.*\.py")
addFilter("zero-length .*/usr/lib/python.*/site-packages/mypy/typeshed/.*\.pyi")

Reply via email to