forked from pool/python-coverage
Fixed link conflict
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
0f0d746e7c
commit
6977a54265
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ac8a28fbe4a5d3ece87c731a9de08eaaa5357179856d43cb5c3756c709ff8e12
|
|
||||||
size 92121
|
|
3
coverage-3.5.1b1.tar.gz
Normal file
3
coverage-3.5.1b1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ca2dd40d47d4848fdf06d6920a0000710179a4176979c0647aaa5ccdcf5d0e6b
|
||||||
|
size 113060
|
@@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 8 15:43:42 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Update to version 3.5.1b1:
|
||||||
|
* for-else constructs are understood better, and don't cause erroneous partial
|
||||||
|
branch warnings. Fixes issue 122.
|
||||||
|
* Branch coverage for with statements is improved, fixing issue 128.
|
||||||
|
* The number of partial branches reported on the HTML summary page was
|
||||||
|
different than the number reported on the individual file pages. This is
|
||||||
|
now fixed.
|
||||||
|
* An explicit include directive to measure files in the Python installation
|
||||||
|
wouldn't work because of the standard library exclusion. Now the include
|
||||||
|
directive takes precendence, and the files will be measured. Fixes
|
||||||
|
issue 138.
|
||||||
|
* The HTML report now handles Unicode characters in Python source files
|
||||||
|
properly. This fixes issue 124 and issue 144. Thanks, Devin
|
||||||
|
Jeanpierre.
|
||||||
|
* In order to help the core developers measure the test coverage of the
|
||||||
|
standard library, Brandon Rhodes devised an aggressive hack to trick Python
|
||||||
|
into running some coverage code before anything else in the process.
|
||||||
|
See the coverage/fullcoverage directory if you are interested.
|
||||||
|
...see CHANGES.txt for more
|
||||||
|
- Spec file cleanup:
|
||||||
|
* Use python-distribute instead of python-setuptools
|
||||||
|
* Changed license to BSD-3-Clause (SPDX style)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 6 12:32:26 UTC 2011 - saschpe@suse.de
|
Fri May 6 12:32:26 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
@@ -16,19 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define mod_name coverage
|
|
||||||
|
|
||||||
Name: python-%{mod_name}
|
Name: python-coverage
|
||||||
Version: 3.4
|
Version: 3.5.1b1
|
||||||
Release: 1
|
Release: 0
|
||||||
Url: http://nedbatchelder.com/code/coverage
|
Url: http://nedbatchelder.com/code/coverage/3.5.1b1
|
||||||
Summary: Code coverage measurement for Python
|
Summary: Code coverage measurement for Python
|
||||||
License: BSD
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: %{mod_name}-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/c/coverage/coverage-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-distribute
|
||||||
BuildRequires: python-xml
|
BuildRequires: python-xml
|
||||||
Requires: python-xml
|
Requires: python-xml
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@@ -37,7 +36,6 @@ Requires: python-xml
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -46,25 +44,21 @@ the code analysis tools and tracing hooks provided in the Python standard
|
|||||||
library to determine which lines are executable, and which have been executed.
|
library to determine which lines are executable, and which have been executed.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{mod_name}-%{version}
|
%setup -q -n coverage-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
%if 0%{?suse_version} > 1010
|
%if 0%{?suse_version} > 1010
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}%{_prefix}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS.txt CHANGES.txt README.txt
|
%doc AUTHORS.txt CHANGES.txt README.txt
|
||||||
%{_bindir}/%{mod_name}
|
%{_bindir}/coverage
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user