Hello community,

here is the log from the commit of package python-nose-exclude for 
openSUSE:Factory checked in at 2015-10-01 09:29:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nose-exclude (Old)
 and      /work/SRC/openSUSE:Factory/.python-nose-exclude.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nose-exclude"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nose-exclude/python-nose-exclude.changes  
2015-05-15 07:44:17.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-nose-exclude.new/python-nose-exclude.changes 
    2015-10-01 09:29:22.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Sep 25 11:28:23 UTC 2015 - [email protected]
+
+- Update to version 0.4.1
+  * No changelog available
+- Remove fix_testsuite.patch; fixed on upstream release
+
+-------------------------------------------------------------------

Old:
----
  fix_testsuite.patch
  nose-exclude-0.2.0.tar.gz

New:
----
  nose-exclude-0.4.1.tar.gz

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

Other differences:
------------------
++++++ python-nose-exclude.spec ++++++
--- /var/tmp/diff_new_pack.NNaFBj/_old  2015-10-01 09:29:22.000000000 +0200
+++ /var/tmp/diff_new_pack.NNaFBj/_new  2015-10-01 09:29:22.000000000 +0200
@@ -18,15 +18,13 @@
 
 
 Name:           python-nose-exclude
-Version:        0.2.0
+Version:        0.4.1
 Release:        0
 Summary:        Exclude specific directories from nosetests runs
 License:        LGPL-2.1+
 Group:          Development/Languages/Python
 Url:            https://bitbucket.org/kgrandis/nose-exclude/overview
 Source0:        
https://pypi.python.org/packages/source/n/nose-exclude/nose-exclude-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM fix_testsuite.patch -- fix tests with nose > 1.3.0 (issue 
#12, PR #6)
-Patch0:         fix_testsuite.patch
 BuildRequires:  python-devel
 BuildRequires:  python-nose
 BuildRequires:  python-setuptools
@@ -44,7 +42,6 @@
 
 %prep
 %setup -q -n nose-exclude-%{version}
-%patch0 -p1
 
 %build
 python setup.py build

++++++ nose-exclude-0.2.0.tar.gz -> nose-exclude-0.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nose-exclude-0.2.0/PKG-INFO 
new/nose-exclude-0.4.1/PKG-INFO
--- old/nose-exclude-0.2.0/PKG-INFO     2013-12-21 05:22:36.000000000 +0100
+++ new/nose-exclude-0.4.1/PKG-INFO     2015-08-24 03:23:35.000000000 +0200
@@ -1,8 +1,8 @@
 Metadata-Version: 1.1
 Name: nose-exclude
-Version: 0.2.0
+Version: 0.4.1
 Summary: Exclude specific directories from nosetests runs.
-Home-page: http://bitbucket.org/kgrandis/nose-exclude
+Home-page: https://github.com/kgrandis/nose-exclude
 Author: Kurt Grandis
 Author-email: [email protected]
 License: GNU LGPL
@@ -23,16 +23,16 @@
         from testing. The directory paths provided may be absolute or relative.
         
         Example::
-            
+        
             $ nosetests --exclude-dir=test_dirs/build \
                 --exclude-dir=test_dirs/test_not_me test_dirs
             ....
             
----------------------------------------------------------------------
             Ran 4 tests in 0.006s
-            
+        
             OK
         
-        This example will exclude the directories test_dirs/build and 
+        This example will exclude the directories test_dirs/build and
         test_dirs/test_not_me from nosetests' test searching.
         
         Using File-Based Exclusion List
@@ -43,13 +43,13 @@
         directory to be excluded to be on its own line.
         
         Example::
-            
+        
             $ nosetests --exclude-dir-file=test_dirs/exclude_dirs.txt \
                 test_dirs
             ....
             
----------------------------------------------------------------------
             Ran 4 tests in 0.006s
-            
+        
             OK
         
         where ``exclude_dirs.txt`` might look like: ::
@@ -102,7 +102,9 @@
         
         Bugs
         ====
-        Please report all bugs (and patches) to 
http://bitbucket.org/kgrandis/nose-exclude/
+        Please report all bugs (and patches) to 
https://github.com/kgrandis/nose-exclude/
+        
+        NOTE: The previous bitbucket repository is no longer actively 
maintained.
 Platform: UNKNOWN
 Classifier: Development Status :: 3 - Alpha
 Classifier: Intended Audience :: Developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nose-exclude-0.2.0/README.rst 
new/nose-exclude-0.4.1/README.rst
--- old/nose-exclude-0.2.0/README.rst   2013-12-21 04:53:32.000000000 +0100
+++ new/nose-exclude-0.4.1/README.rst   2015-06-24 07:11:42.000000000 +0200
@@ -15,16 +15,16 @@
 from testing. The directory paths provided may be absolute or relative.
 
 Example::
-    
+
     $ nosetests --exclude-dir=test_dirs/build \
         --exclude-dir=test_dirs/test_not_me test_dirs
     ....
     ----------------------------------------------------------------------
     Ran 4 tests in 0.006s
-    
+
     OK
 
-This example will exclude the directories test_dirs/build and 
+This example will exclude the directories test_dirs/build and
 test_dirs/test_not_me from nosetests' test searching.
 
 Using File-Based Exclusion List
@@ -35,13 +35,13 @@
 directory to be excluded to be on its own line.
 
 Example::
-    
+
     $ nosetests --exclude-dir-file=test_dirs/exclude_dirs.txt \
         test_dirs
     ....
     ----------------------------------------------------------------------
     Ran 4 tests in 0.006s
-    
+
     OK
 
 where ``exclude_dirs.txt`` might look like: ::
@@ -94,5 +94,6 @@
 
 Bugs
 ====
-Please report all bugs (and patches) to 
http://bitbucket.org/kgrandis/nose-exclude/
+Please report all bugs (and patches) to 
https://github.com/kgrandis/nose-exclude/
 
+NOTE: The previous bitbucket repository is no longer actively maintained.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nose-exclude-0.2.0/nose_exclude.egg-info/PKG-INFO 
new/nose-exclude-0.4.1/nose_exclude.egg-info/PKG-INFO
--- old/nose-exclude-0.2.0/nose_exclude.egg-info/PKG-INFO       2013-12-21 
05:22:36.000000000 +0100
+++ new/nose-exclude-0.4.1/nose_exclude.egg-info/PKG-INFO       2015-08-24 
03:23:34.000000000 +0200
@@ -1,8 +1,8 @@
 Metadata-Version: 1.1
 Name: nose-exclude
-Version: 0.2.0
+Version: 0.4.1
 Summary: Exclude specific directories from nosetests runs.
-Home-page: http://bitbucket.org/kgrandis/nose-exclude
+Home-page: https://github.com/kgrandis/nose-exclude
 Author: Kurt Grandis
 Author-email: [email protected]
 License: GNU LGPL
@@ -23,16 +23,16 @@
         from testing. The directory paths provided may be absolute or relative.
         
         Example::
-            
+        
             $ nosetests --exclude-dir=test_dirs/build \
                 --exclude-dir=test_dirs/test_not_me test_dirs
             ....
             
----------------------------------------------------------------------
             Ran 4 tests in 0.006s
-            
+        
             OK
         
-        This example will exclude the directories test_dirs/build and 
+        This example will exclude the directories test_dirs/build and
         test_dirs/test_not_me from nosetests' test searching.
         
         Using File-Based Exclusion List
@@ -43,13 +43,13 @@
         directory to be excluded to be on its own line.
         
         Example::
-            
+        
             $ nosetests --exclude-dir-file=test_dirs/exclude_dirs.txt \
                 test_dirs
             ....
             
----------------------------------------------------------------------
             Ran 4 tests in 0.006s
-            
+        
             OK
         
         where ``exclude_dirs.txt`` might look like: ::
@@ -102,7 +102,9 @@
         
         Bugs
         ====
-        Please report all bugs (and patches) to 
http://bitbucket.org/kgrandis/nose-exclude/
+        Please report all bugs (and patches) to 
https://github.com/kgrandis/nose-exclude/
+        
+        NOTE: The previous bitbucket repository is no longer actively 
maintained.
 Platform: UNKNOWN
 Classifier: Development Status :: 3 - Alpha
 Classifier: Intended Audience :: Developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nose-exclude-0.2.0/nose_exclude.py 
new/nose-exclude-0.4.1/nose_exclude.py
--- old/nose-exclude-0.2.0/nose_exclude.py      2013-12-21 05:09:29.000000000 
+0100
+++ new/nose-exclude-0.4.1/nose_exclude.py      2015-08-24 03:21:12.000000000 
+0200
@@ -1,9 +1,17 @@
+from __future__ import unicode_literals
+
+import sys
 import os
 import logging
 from nose.plugins import Plugin
 
 log = logging.getLogger('nose.plugins.nose_exclude')
 
+if sys.version_info > (3,):
+    get_method_class = lambda x: x.__self__.__class__
+else:
+    get_method_class = lambda x: x.im_class
+
 
 class NoseExclude(Plugin):
 
@@ -18,7 +26,7 @@
             env_dirs.extend(exclude_dirs.split(';'))
 
         parser.add_option(
-            "--exclude-dir", action="append",
+            str("--exclude-dir"), action="append",
             dest="exclude_dirs",
             default=env_dirs,
             help="Directory to exclude from test discovery. \
@@ -27,7 +35,7 @@
                 times. [NOSE_EXCLUDE_DIRS]")
 
         parser.add_option(
-            "--exclude-dir-file", type="string",
+            str("--exclude-dir-file"), type="string",
             dest="exclude_dir_file",
             default=env.get('NOSE_EXCLUDE_DIRS_FILE', False),
             help="A file containing a list of directories to exclude \
@@ -36,14 +44,14 @@
                 [NOSE_EXCLUDE_DIRS_FILE]")
 
         parser.add_option(
-            "--exclude-test", action="append",
+            str("--exclude-test"), action="append",
             dest="exclude_tests",
             default=env_tests,
             help="Fully qualified name of test method or class to exclude \
             from test discovery.")
 
         parser.add_option(
-            "--exclude-test-file", type="string",
+            str("--exclude-test-file"), type="string",
             dest="exclude_test_file",
             default=False,
             help="A file containing a list of fully qualified names of \
@@ -108,11 +116,14 @@
                 if abs_d:
                     self.exclude_dirs[abs_d] = True
 
-        exclude_str = "excluding dirs: %s" % ",".join(self.exclude_dirs.keys())
+        exclude_str = "excluding dirs: %s" % 
",".join(list(self.exclude_dirs.keys()))
         log.debug(exclude_str)
 
     def wantDirectory(self, dirname):
         """Check if directory is eligible for test discovery"""
+        # In case of symbolic paths
+        dirname = os.path.realpath(dirname)
+
         if dirname in self.exclude_dirs:
             log.debug("excluded: %s" % dirname)
             return False
@@ -137,7 +148,7 @@
     def wantMethod(self, meth):
         """Filter out tests based on <module path>.<class>.<method name>"""
         try:
-            cls = meth.im_class  # Don't test static methods
+            cls = get_method_class(meth)
         except AttributeError:
             return False
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nose-exclude-0.2.0/setup.py 
new/nose-exclude-0.4.1/setup.py
--- old/nose-exclude-0.2.0/setup.py     2013-12-21 05:16:29.000000000 +0100
+++ new/nose-exclude-0.4.1/setup.py     2015-08-24 03:21:12.000000000 +0200
@@ -6,35 +6,36 @@
 import os
 from setuptools import setup
 
+
 def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read().strip()
 
-VERSION = '0.2.0'
+VERSION = '0.4.1'
 
 setup(
-    name = "nose-exclude",
-    version = VERSION,
-    author = "Kurt Grandis",
-    author_email = "[email protected]",
-    description = "Exclude specific directories from nosetests runs.",
-    long_description = read('README.rst'),
-    license = 'GNU LGPL',
-    url = "http://bitbucket.org/kgrandis/nose-exclude";,
-    classifiers = [
+    name="nose-exclude",
+    version=VERSION,
+    author="Kurt Grandis",
+    author_email="[email protected]",
+    description="Exclude specific directories from nosetests runs.",
+    long_description=read('README.rst'),
+    license='GNU LGPL',
+    url="https://github.com/kgrandis/nose-exclude";,
+    classifiers=[
         "Development Status :: 3 - Alpha",
         "Intended Audience :: Developers",
         ("License :: OSI Approved :: GNU Library or Lesser General "
-        "Public License (LGPL)"),
+         "Public License (LGPL)"),
         "Topic :: Software Development :: Testing",
         "Programming Language :: Python",
         ],
 
-    py_modules = ['nose_exclude'],
-    zip_safe = False,
+    py_modules=['nose_exclude'],
+    zip_safe=False,
 
-    entry_points = {
+    entry_points={
         'nose.plugins': ['nose_exclude = nose_exclude:NoseExclude']
         },
-    install_requires = ['nose'],
-    test_suite = 'tests',
+    install_requires=['nose'],
+    test_suite='tests',
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nose-exclude-0.2.0/test_dirs/unittest/tests.py 
new/nose-exclude-0.4.1/test_dirs/unittest/tests.py
--- old/nose-exclude-0.2.0/test_dirs/unittest/tests.py  2013-12-21 
04:53:32.000000000 +0100
+++ new/nose-exclude-0.4.1/test_dirs/unittest/tests.py  2015-08-24 
03:10:09.000000000 +0200
@@ -1,5 +1,6 @@
 import unittest
 
+
 class UnitTests(unittest.TestCase):
     def test_a(self):
         assert True
@@ -7,9 +8,6 @@
     def test_b(self):
         assert True
 
-    @staticmethod
-    def test_e(self):
-        assert True
 
 def test_c():
     assert True


Reply via email to