commit python-nosexcover for openSUSE:Factory
Hello community, here is the log from the commit of package python-nosexcover for openSUSE:Factory checked in at 2019-04-30 13:00:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nosexcover (Old) and /work/SRC/openSUSE:Factory/.python-nosexcover.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-nosexcover" Tue Apr 30 13:00:25 2019 rev:10 rq:697403 version:1.0.11 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nosexcover/python-nosexcover.changes 2018-12-24 11:40:22.681506095 +0100 +++ /work/SRC/openSUSE:Factory/.python-nosexcover.new.5536/python-nosexcover.changes 2019-04-30 13:00:31.838170674 +0200 @@ -1,0 +2,12 @@ +Wed Apr 24 08:51:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Add license + +------------------------------------------------------------------- +Tue Apr 23 15:06:10 UTC 2019 - pgajdos@suse.com + +- version update to 1.0.11 + * Release as a wheel +- run testsuite + +------------------------------------------------------------------- Old: ---- nosexcover-1.0.10.tar.gz New: ---- LICENSE.txt nosexcover-1.0.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nosexcover.spec ++++++ --- /var/tmp/diff_new_pack.VTDSv1/_old 2019-04-30 13:00:33.666170266 +0200 +++ /var/tmp/diff_new_pack.VTDSv1/_new 2019-04-30 13:00:33.706170258 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-nosexcover # -# 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 @@ -17,28 +17,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test - Name: python-nosexcover -Version: 1.0.10 +Version: 1.0.11 Release: 0 Summary: Extends nose.pluginscover to add Cobertura-style XML reports -License: BSD-3-Clause +License: MIT Group: Development/Languages/Python -Url: http://github.com/cmheisel/nose-xcover/ -Source: http://pypi.python.org/packages/source/n/nosexcover/nosexcover-%{version}.tar.gz +URL: https://github.com/cmheisel/nose-xcover/ +Source: https://files.pythonhosted.org/packages/source/n/nosexcover/nosexcover-%{version}.tar.gz +Source1: https://raw.githubusercontent.com/cmheisel/nose-xcover/master/LICENSE.txt BuildRequires: %{python_module coverage} BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: python-coverage -%endif +Requires: python-coverage >= 3.4 Requires: python-nose -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -47,6 +42,7 @@ %prep %setup -q -n nosexcover-%{version} +cp %{SOURCE1} . %build %python_build @@ -55,13 +51,11 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +%python_expand nosetests-%{$python_bin_suffix} -v %files %{python_files} -%defattr(-,root,root,-) +%license LICENSE.txt %{python_sitelib}/* %changelog ++++++ LICENSE.txt ++++++ Copyright (c) 2011 Chris Heisel 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.++++++ nosexcover-1.0.10.tar.gz -> nosexcover-1.0.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nosexcover-1.0.10/PKG-INFO new/nosexcover-1.0.11/PKG-INFO --- old/nosexcover-1.0.10/PKG-INFO 2014-03-26 00:30:43.000000000 +0100 +++ new/nosexcover-1.0.11/PKG-INFO 2016-10-30 13:42:23.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: nosexcover -Version: 1.0.10 +Version: 1.0.11 Summary: Extends nose.plugins.cover to add Cobertura-style XML reports Home-page: http://github.com/cmheisel/nose-xcover/ Author: Chris Heisel @@ -15,7 +15,7 @@ Usage ------ - You can not use both --with-xcover and --with-coverage. Using --with-xcover implies --with-coverage + You can not use both --with-xcoverage and --with-coverage. Using --with-xcover implies --with-coverage If you want to change the name of the output file you can use --xcoverage-file=FILE (--cover-xml-file from coverage won't work) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nosexcover-1.0.10/README.rst new/nosexcover-1.0.11/README.rst --- old/nosexcover-1.0.10/README.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/nosexcover-1.0.11/README.rst 2016-10-30 13:36:50.000000000 +0100 @@ -0,0 +1,20 @@ +nose-xmlcover +-------------- + +A companion to the built-in nose.plugins.cover, this plugin will write out an XML coverage report to a file named coverage.xml. + +It will honor all the options you pass to the `Nose coverage plugin <http://somethingaboutorange.com/mrl/projects/nose/1.0.0/plugins/cover.html>`_, especially --cover-package. + +Usage +------ +You can not use both --with-xcoverage and --with-coverage. Using --with-xcover implies --with-coverage + +If you want to change the name of the output file you can use --xcoverage-file=FILE (--cover-xml-file from coverage won't work) + +As of nose-xcover 1.0.6 --with-xcoverage provides all the functionality of the built-in coverage plugin in addition to Cobertura-style output:: + + #nosetests --with-xcoverage {{ coverage options }} + nosetests --with-xcoverage --cover-package=myapp --cover-tests + + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nosexcover-1.0.10/nosexcover/nosexcover.py new/nosexcover-1.0.11/nosexcover/nosexcover.py --- old/nosexcover-1.0.10/nosexcover/nosexcover.py 2014-03-26 00:26:10.000000000 +0100 +++ new/nosexcover-1.0.11/nosexcover/nosexcover.py 2016-10-30 13:36:50.000000000 +0100 @@ -6,7 +6,7 @@ import sys try: # Python 2 - import StringIO + from StringIO import StringIO except ImportError: # Python 3 from io import StringIO @@ -44,9 +44,9 @@ coverage_on = options.enable_plugin_coverage xcoverage_on = options.enable_plugin_xcoverage if xcoverage_on and coverage_on: - log.error( - """You can not use both --with-xcover and --with-coverage. Using --with-xcover implies --with-coverage""") - raise TypeError + error_msg = """You can not use both --with-xcover and --with-coverage. Using --with-xcover implies --with-coverage""" + log.error(error_msg) + raise TypeError(error_msg + "\n Please check if you have a default entry in .noserc or nose.cfg or setup.cfg alike configuration file") cover.old_log = cover.log cover.log = log @@ -64,7 +64,7 @@ """ if not self.xcoverageToStdout: # This will create a false stream where output will be ignored - stream = StringIO.StringIO() + stream = StringIO() super(XCoverage, self).report(stream) if not hasattr(self, 'coverInstance'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nosexcover-1.0.10/nosexcover.egg-info/PKG-INFO new/nosexcover-1.0.11/nosexcover.egg-info/PKG-INFO --- old/nosexcover-1.0.10/nosexcover.egg-info/PKG-INFO 2014-03-26 00:30:43.000000000 +0100 +++ new/nosexcover-1.0.11/nosexcover.egg-info/PKG-INFO 2016-10-30 13:42:23.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: nosexcover -Version: 1.0.10 +Version: 1.0.11 Summary: Extends nose.plugins.cover to add Cobertura-style XML reports Home-page: http://github.com/cmheisel/nose-xcover/ Author: Chris Heisel @@ -15,7 +15,7 @@ Usage ------ - You can not use both --with-xcover and --with-coverage. Using --with-xcover implies --with-coverage + You can not use both --with-xcoverage and --with-coverage. Using --with-xcover implies --with-coverage If you want to change the name of the output file you can use --xcoverage-file=FILE (--cover-xml-file from coverage won't work) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nosexcover-1.0.10/nosexcover.egg-info/SOURCES.txt new/nosexcover-1.0.11/nosexcover.egg-info/SOURCES.txt --- old/nosexcover-1.0.10/nosexcover.egg-info/SOURCES.txt 2014-03-26 00:30:43.000000000 +0100 +++ new/nosexcover-1.0.11/nosexcover.egg-info/SOURCES.txt 2016-10-30 13:42:23.000000000 +0100 @@ -1,3 +1,5 @@ +README.rst +setup.cfg setup.py nosexcover/__init__.py nosexcover/nosexcover.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nosexcover-1.0.10/nosexcover.egg-info/requires.txt new/nosexcover-1.0.11/nosexcover.egg-info/requires.txt --- old/nosexcover-1.0.10/nosexcover.egg-info/requires.txt 2014-03-26 00:30:43.000000000 +0100 +++ new/nosexcover-1.0.11/nosexcover.egg-info/requires.txt 2016-10-30 13:42:23.000000000 +0100 @@ -1,2 +1,2 @@ nose -coverage>=3.4 \ No newline at end of file +coverage>=3.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nosexcover-1.0.10/setup.cfg new/nosexcover-1.0.11/setup.cfg --- old/nosexcover-1.0.10/setup.cfg 2014-03-26 00:30:43.000000000 +0100 +++ new/nosexcover-1.0.11/setup.cfg 2016-10-30 13:42:23.000000000 +0100 @@ -1,3 +1,6 @@ +[bdist_wheel] +universal = 1 + [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nosexcover-1.0.10/setup.py new/nosexcover-1.0.11/setup.py --- old/nosexcover-1.0.10/setup.py 2014-03-26 00:26:47.000000000 +0100 +++ new/nosexcover-1.0.11/setup.py 2016-10-30 13:37:52.000000000 +0100 @@ -7,7 +7,7 @@ setup( name='nosexcover', - version='1.0.10', + version='1.0.11', description='Extends nose.plugins.cover to add Cobertura-style XML reports', long_description=desc, author='Chris Heisel',
participants (1)
-
root