Hello community, here is the log from the commit of package python3-cov-core for openSUSE:Factory checked in at 2015-01-10 23:05:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-cov-core (Old) and /work/SRC/openSUSE:Factory/.python3-cov-core.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-cov-core" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-cov-core/python3-cov-core.changes 2014-07-31 07:41:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-cov-core.new/python3-cov-core.changes 2015-01-10 23:05:20.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Jan 9 08:38:18 UTC 2015 - [email protected] + +- Update to version 1.15.0: + + No changelog/release notes provided. + +------------------------------------------------------------------- Old: ---- cov-core-1.13.0.tar.gz New: ---- cov-core-1.15.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-cov-core.spec ++++++ --- /var/tmp/diff_new_pack.0ok3UR/_old 2015-01-10 23:05:21.000000000 +0100 +++ /var/tmp/diff_new_pack.0ok3UR/_new 2015-01-10 23:05:21.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-cov-core # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products 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,19 +13,20 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python3-cov-core -Version: 1.13.0 +Version: 1.15.0 Release: 0 -License: MIT Summary: Plugin core for use by pytest-cov, nose-cov and nose2-cov -Url: http://bitbucket.org/memedough/cov-core/overview +License: MIT Group: Development/Languages/Python +Url: http://bitbucket.org/memedough/cov-core/overview Source: https://pypi.python.org/packages/source/c/cov-core/cov-core-%{version}.tar.gz +BuildRequires: python3-coverage BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-coverage Requires: python3-coverage BuildArch: noarch ++++++ cov-core-1.13.0.tar.gz -> cov-core-1.15.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cov-core-1.13.0/PKG-INFO new/cov-core-1.15.0/PKG-INFO --- old/cov-core-1.13.0/PKG-INFO 2014-06-12 20:43:30.000000000 +0200 +++ new/cov-core-1.15.0/PKG-INFO 2014-11-22 12:05:14.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cov-core -Version: 1.13.0 +Version: 1.15.0 Summary: plugin core for use by pytest-cov, nose-cov and nose2-cov Home-page: https://github.com/schlamar/cov-core Author: Marc Schlaich diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cov-core-1.13.0/cov_core.egg-info/PKG-INFO new/cov-core-1.15.0/cov_core.egg-info/PKG-INFO --- old/cov-core-1.13.0/cov_core.egg-info/PKG-INFO 2014-06-12 20:43:30.000000000 +0200 +++ new/cov-core-1.15.0/cov_core.egg-info/PKG-INFO 2014-11-22 12:05:13.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cov-core -Version: 1.13.0 +Version: 1.15.0 Summary: plugin core for use by pytest-cov, nose-cov and nose2-cov Home-page: https://github.com/schlamar/cov-core Author: Marc Schlaich diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cov-core-1.13.0/cov_core.egg-info/requires.txt new/cov-core-1.15.0/cov_core.egg-info/requires.txt --- old/cov-core-1.13.0/cov_core.egg-info/requires.txt 2014-06-12 20:43:30.000000000 +0200 +++ new/cov-core-1.15.0/cov_core.egg-info/requires.txt 2014-11-22 12:05:13.000000000 +0100 @@ -1 +1 @@ -coverage>=3.6 \ No newline at end of file +coverage>=3.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cov-core-1.13.0/cov_core.py new/cov-core-1.15.0/cov_core.py --- old/cov-core-1.13.0/cov_core.py 2014-06-12 20:26:37.000000000 +0200 +++ new/cov-core-1.15.0/cov_core.py 2014-11-22 12:01:17.000000000 +0100 @@ -28,27 +28,6 @@ pass -_cov_data = dict() - - -def on_py_fork_starts(proc): - cov = cov_core_init.init() - _cov_data[proc] = cov - - -def on_py_fork_exits(proc): - cov = _cov_data.pop(proc) - multiprocessing_finish(cov) - - -try: - import py - py.process.ForkedFunc.register_on_start(on_py_fork_starts) - py.process.ForkedFunc.register_on_exit(on_py_fork_exits) -except (ImportError, AttributeError): - pass - - class CovController(object): """Base class for different plugin implementations.""" @@ -69,7 +48,10 @@ def set_env(self): """Put info about coverage into the env so that subprocesses can activate coverage.""" - os.environ['COV_CORE_SOURCE'] = UNIQUE_SEP.join(self.cov_source) + if self.cov_source is None: + os.environ['COV_CORE_SOURCE'] = '' + else: + os.environ['COV_CORE_SOURCE'] = UNIQUE_SEP.join(self.cov_source) os.environ['COV_CORE_DATA_FILE'] = self.cov_data_file os.environ['COV_CORE_CONFIG'] = self.cov_config diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cov-core-1.13.0/cov_core_init.py new/cov-core-1.15.0/cov_core_init.py --- old/cov-core-1.13.0/cov_core_init.py 2014-06-12 20:26:37.000000000 +0200 +++ new/cov-core-1.15.0/cov_core_init.py 2014-11-22 12:01:17.000000000 +0100 @@ -33,7 +33,7 @@ cov_source = os.environ.get('COV_CORE_SOURCE') cov_data_file = os.environ.get('COV_CORE_DATA_FILE') cov_config = os.environ.get('COV_CORE_CONFIG') - if cov_source and cov_data_file and cov_config: + if cov_data_file and cov_config: # Import what we need to activate coverage. import socket @@ -41,7 +41,10 @@ import coverage # Determine all source roots. - cov_source = cov_source.split(UNIQUE_SEP) + if cov_source == '': + cov_source = None + else: + cov_source = cov_source.split(UNIQUE_SEP) # Produce a unique suffix for this process in the same # manner as coverage. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cov-core-1.13.0/setup.py new/cov-core-1.15.0/setup.py --- old/cov-core-1.13.0/setup.py 2014-06-12 20:41:41.000000000 +0200 +++ new/cov-core-1.15.0/setup.py 2014-11-22 12:04:21.000000000 +0100 @@ -10,7 +10,7 @@ # The line in the path file must begin with "import" # so that site.py will exec it. PTH_FILE = '''\ -import os; os.environ.get('COV_CORE_SOURCE') and __import__('cov_core_init').init() +import os; 'COV_CORE_SOURCE' in os.environ and __import__('cov_core_init').init() ''' PTH_FILE_FAILURE = ''' @@ -21,7 +21,7 @@ ''' % (PTH_FILE_NAME, PTH_FILE) setuptools.setup(name='cov-core', - version='1.13.0', + version='1.15.0', description='plugin core for use by pytest-cov, ' 'nose-cov and nose2-cov', long_description=open('README.rst').read().strip(), -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
