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:
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
|
||||
|
||||
|
@ -16,19 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%define mod_name coverage
|
||||
|
||||
Name: python-%{mod_name}
|
||||
Version: 3.4
|
||||
Release: 1
|
||||
Url: http://nedbatchelder.com/code/coverage
|
||||
Name: python-coverage
|
||||
Version: 3.5.1b1
|
||||
Release: 0
|
||||
Url: http://nedbatchelder.com/code/coverage/3.5.1b1
|
||||
Summary: Code coverage measurement for Python
|
||||
License: BSD
|
||||
License: BSD-3-Clause
|
||||
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
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-xml
|
||||
Requires: python-xml
|
||||
%if 0%{?suse_version}
|
||||
@ -37,7 +36,6 @@ Requires: python-xml
|
||||
BuildRequires: fdupes
|
||||
%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)")}
|
||||
|
||||
%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.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%setup -q -n coverage-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%if 0%{?suse_version} > 1010
|
||||
%fdupes %{buildroot}
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS.txt CHANGES.txt README.txt
|
||||
%{_bindir}/%{mod_name}
|
||||
%{_bindir}/coverage
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user