Hello community,

here is the log from the commit of package python-mypy_extensions for 
openSUSE:Factory checked in at 2018-08-28 09:24:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mypy_extensions (Old)
 and      /work/SRC/openSUSE:Factory/.python-mypy_extensions.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mypy_extensions"

Tue Aug 28 09:24:28 2018 rev:2 rq:631752 version:0.4.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-mypy_extensions/python-mypy_extensions.changes
    2017-12-23 12:20:00.942034767 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-mypy_extensions.new/python-mypy_extensions.changes
       2018-08-28 09:24:28.688834323 +0200
@@ -1,0 +2,5 @@
+Sun Aug 26 11:56:04 UTC 2018 - [email protected]
+
+- update to version 0.4.1, no upstream changelog available
+
+-------------------------------------------------------------------

Old:
----
  mypy_extensions-0.3.0.tar.gz

New:
----
  mypy_extensions-0.4.1.tar.gz

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

Other differences:
------------------
++++++ python-mypy_extensions.spec ++++++
--- /var/tmp/diff_new_pack.KtmgfZ/_old  2018-08-28 09:24:29.252836083 +0200
+++ /var/tmp/diff_new_pack.KtmgfZ/_new  2018-08-28 09:24:29.252836083 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mypy_extensions
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -13,22 +13,22 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-mypy_extensions
-Version:        0.3.0
+Version:        0.4.1
 Release:        0
-License:        MIT
 Summary:        Experimental type system extensions for programs checked with 
mypy typechecker
-Url:            http://www.mypy-lang.org/
+License:        MIT
 Group:          Development/Languages/Python
+Url:            http://www.mypy-lang.org/
 Source:         
https://files.pythonhosted.org/packages/source/m/mypy_extensions/mypy_extensions-%{version}.tar.gz
 Source1:        
https://raw.githubusercontent.com/python/mypy/release-0.560/extensions/LICENSE
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 
 %python_subpackages

++++++ mypy_extensions-0.3.0.tar.gz -> mypy_extensions-0.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.3.0/LICENSE 
new/mypy_extensions-0.4.1/LICENSE
--- old/mypy_extensions-0.3.0/LICENSE   1970-01-01 01:00:00.000000000 +0100
+++ new/mypy_extensions-0.4.1/LICENSE   2018-02-19 17:52:22.000000000 +0100
@@ -0,0 +1,27 @@
+Mypy extensions are licensed under the terms of the MIT license, reproduced 
below.
+
+= = = = =
+
+The MIT License
+
+Copyright (c) 2016-2017 Jukka Lehtosalo and contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+
+= = = = =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.3.0/MANIFEST.in 
new/mypy_extensions-0.4.1/MANIFEST.in
--- old/mypy_extensions-0.3.0/MANIFEST.in       1970-01-01 01:00:00.000000000 
+0100
+++ new/mypy_extensions-0.4.1/MANIFEST.in       2018-02-19 17:52:22.000000000 
+0100
@@ -0,0 +1 @@
+include LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.3.0/PKG-INFO 
new/mypy_extensions-0.4.1/PKG-INFO
--- old/mypy_extensions-0.3.0/PKG-INFO  2017-07-07 21:01:24.000000000 +0200
+++ new/mypy_extensions-0.4.1/PKG-INFO  2018-08-23 16:08:57.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: mypy_extensions
-Version: 0.3.0
+Version: 0.4.1
 Summary: Experimental type system extensions for programs checked with the 
mypy typechecker.
 Home-page: http://www.mypy-lang.org/
 Author: The mypy developers
@@ -12,16 +12,14 @@
         The "mypy_extensions" module defines experimental extensions to the
         standard "typing" module that are supported by the mypy typechecker.
         
-Platform: POSIX
+Platform: UNKNOWN
 Classifier: Development Status :: 2 - Pre-Alpha
 Classifier: Environment :: Console
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
-Classifier: Operating System :: POSIX
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.3.0/README.md 
new/mypy_extensions-0.4.1/README.md
--- old/mypy_extensions-0.3.0/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/mypy_extensions-0.4.1/README.md 2018-01-11 16:53:04.000000000 +0100
@@ -0,0 +1,6 @@
+Mypy Extensions
+===============
+
+The "mypy_extensions" module defines experimental extensions to the
+standard "typing" module that are supported by the mypy typechecker.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mypy_extensions-0.3.0/mypy_extensions.egg-info/PKG-INFO 
new/mypy_extensions-0.4.1/mypy_extensions.egg-info/PKG-INFO
--- old/mypy_extensions-0.3.0/mypy_extensions.egg-info/PKG-INFO 1970-01-01 
01:00:00.000000000 +0100
+++ new/mypy_extensions-0.4.1/mypy_extensions.egg-info/PKG-INFO 2018-08-23 
16:08:56.000000000 +0200
@@ -0,0 +1,26 @@
+Metadata-Version: 1.1
+Name: mypy-extensions
+Version: 0.4.1
+Summary: Experimental type system extensions for programs checked with the 
mypy typechecker.
+Home-page: http://www.mypy-lang.org/
+Author: The mypy developers
+Author-email: [email protected]
+License: MIT License
+Description: Mypy Extensions
+        ===============
+        
+        The "mypy_extensions" module defines experimental extensions to the
+        standard "typing" module that are supported by the mypy typechecker.
+        
+Platform: UNKNOWN
+Classifier: Development Status :: 2 - Pre-Alpha
+Classifier: Environment :: Console
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: MIT License
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Topic :: Software Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mypy_extensions-0.3.0/mypy_extensions.egg-info/SOURCES.txt 
new/mypy_extensions-0.4.1/mypy_extensions.egg-info/SOURCES.txt
--- old/mypy_extensions-0.3.0/mypy_extensions.egg-info/SOURCES.txt      
1970-01-01 01:00:00.000000000 +0100
+++ new/mypy_extensions-0.4.1/mypy_extensions.egg-info/SOURCES.txt      
2018-08-23 16:08:56.000000000 +0200
@@ -0,0 +1,11 @@
+LICENSE
+MANIFEST.in
+README.md
+mypy_extensions.py
+setup.cfg
+setup.py
+mypy_extensions.egg-info/PKG-INFO
+mypy_extensions.egg-info/SOURCES.txt
+mypy_extensions.egg-info/dependency_links.txt
+mypy_extensions.egg-info/requires.txt
+mypy_extensions.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mypy_extensions-0.3.0/mypy_extensions.egg-info/dependency_links.txt 
new/mypy_extensions-0.4.1/mypy_extensions.egg-info/dependency_links.txt
--- old/mypy_extensions-0.3.0/mypy_extensions.egg-info/dependency_links.txt     
1970-01-01 01:00:00.000000000 +0100
+++ new/mypy_extensions-0.4.1/mypy_extensions.egg-info/dependency_links.txt     
2018-08-23 16:08:56.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mypy_extensions-0.3.0/mypy_extensions.egg-info/requires.txt 
new/mypy_extensions-0.4.1/mypy_extensions.egg-info/requires.txt
--- old/mypy_extensions-0.3.0/mypy_extensions.egg-info/requires.txt     
1970-01-01 01:00:00.000000000 +0100
+++ new/mypy_extensions-0.4.1/mypy_extensions.egg-info/requires.txt     
2018-08-23 16:08:56.000000000 +0200
@@ -0,0 +1,3 @@
+
+[:python_version < "3.5"]
+typing>=3.5.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mypy_extensions-0.3.0/mypy_extensions.egg-info/top_level.txt 
new/mypy_extensions-0.4.1/mypy_extensions.egg-info/top_level.txt
--- old/mypy_extensions-0.3.0/mypy_extensions.egg-info/top_level.txt    
1970-01-01 01:00:00.000000000 +0100
+++ new/mypy_extensions-0.4.1/mypy_extensions.egg-info/top_level.txt    
2018-08-23 16:08:56.000000000 +0200
@@ -0,0 +1 @@
+mypy_extensions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.3.0/mypy_extensions.py 
new/mypy_extensions-0.4.1/mypy_extensions.py
--- old/mypy_extensions-0.3.0/mypy_extensions.py        2017-06-29 
01:19:24.000000000 +0200
+++ new/mypy_extensions-0.4.1/mypy_extensions.py        2018-08-09 
22:26:56.000000000 +0200
@@ -46,7 +46,7 @@
         # This method is called directly when TypedDict is subclassed,
         # or via _typeddict_new when TypedDict is instantiated. This way
         # TypedDict supports all three syntaxes described in its docstring.
-        # Subclasses and instanes of TypedDict return actual dictionaries
+        # Subclasses and instances of TypedDict return actual dictionaries
         # via _dict_new.
         ns['__new__'] = _typeddict_new if name == 'TypedDict' else _dict_new
         tp_dict = super(_TypedDictMeta, cls).__new__(cls, name, (dict,), ns)
@@ -135,3 +135,25 @@
 
 # Return type that indicates a function does not return
 class NoReturn: pass
+
+
+def trait(cls):
+    return cls
+
+
+# TODO: We may want to try to properly apply this to any type
+# variables left over...
+class _FlexibleAliasClsApplied:
+    def __init__(self, val):
+        self.val = val
+
+    def __getitem__(self, args):
+        return self.val
+
+
+class _FlexibleAliasCls:
+    def __getitem__(self, args):
+        return _FlexibleAliasClsApplied(args[-1])
+
+
+FlexibleAlias = _FlexibleAliasCls()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.3.0/setup.cfg 
new/mypy_extensions-0.4.1/setup.cfg
--- old/mypy_extensions-0.3.0/setup.cfg 1970-01-01 01:00:00.000000000 +0100
+++ new/mypy_extensions-0.4.1/setup.cfg 2018-08-23 16:08:57.000000000 +0200
@@ -0,0 +1,7 @@
+[bdist_wheel]
+universal = 1
+
+[egg_info]
+tag_build = 
+tag_date = 0
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mypy_extensions-0.3.0/setup.py 
new/mypy_extensions-0.4.1/setup.py
--- old/mypy_extensions-0.3.0/setup.py  2017-07-07 21:00:35.000000000 +0200
+++ new/mypy_extensions-0.4.1/setup.py  2018-08-23 16:05:13.000000000 +0200
@@ -1,10 +1,8 @@
-#!/usr/bin/env python
-
 # NOTE: This package must support Python 2.7 in addition to Python 3.x
 
-from distutils.core import setup
+from setuptools import setup
 
-version = '0.3.0'
+version = '0.4.1'
 description = 'Experimental type system extensions for programs checked with 
the mypy typechecker.'
 long_description = '''
 Mypy Extensions
@@ -19,11 +17,9 @@
     'Environment :: Console',
     'Intended Audience :: Developers',
     'License :: OSI Approved :: MIT License',
-    'Operating System :: POSIX',
     'Programming Language :: Python :: 2',
     'Programming Language :: Python :: 2.7',
     'Programming Language :: Python :: 3',
-    'Programming Language :: Python :: 3.3',
     'Programming Language :: Python :: 3.4',
     'Programming Language :: Python :: 3.5',
     'Programming Language :: Python :: 3.6',
@@ -39,7 +35,9 @@
     author_email='[email protected]',
     url='http://www.mypy-lang.org/',
     license='MIT License',
-    platforms=['POSIX'],
     py_modules=['mypy_extensions'],
     classifiers=classifiers,
+    install_requires=[
+        'typing >= 3.5.3; python_version < "3.5"',
+    ],
 )


Reply via email to