forked from pool/python-coverage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=1
This commit is contained in:
commit
c9d8504e3a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
coverage-2.85.tar.gz
Normal file
3
coverage-2.85.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5783544bffe2fda07e5b7c5f68f0ee87e3d09c395d129ae96ee45e9797b89206
|
||||
size 14169
|
58
python-coverage.spec
Normal file
58
python-coverage.spec
Normal file
@ -0,0 +1,58 @@
|
||||
#
|
||||
# spec file for package python-coverage (Version 2.85)
|
||||
#
|
||||
# Copyright 2008 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define real_name coverage
|
||||
|
||||
Name: python-%{real_name}
|
||||
Version: 2.85
|
||||
Release: 0
|
||||
License: BSD
|
||||
Source: %{real_name}-%{version}.tar.gz
|
||||
Group: Development/Libraries/Python
|
||||
Summary: code coverage testing for Python
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Autoreqprov: on
|
||||
Url: http://pypi.python.org/pypi/coverage
|
||||
|
||||
BuildRequires: python-setuptools
|
||||
%py_requires
|
||||
|
||||
%description
|
||||
Coverage.py is a Python module that measures code coverage during test execution.
|
||||
It uses 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 %real_name-%version
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%_prefix --root=%buildroot --record-rpm=filelist
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
|
||||
%files -f filelist
|
||||
%defattr(-,root,root)
|
||||
%doc
|
||||
#PKG-INFO docs
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu May 28 2009 cfarrell1980@gmail.com
|
||||
- Initial import
|
Loading…
Reference in New Issue
Block a user