[8158] | 1 | %define pkgname coverage |
---|
| 2 | |
---|
| 3 | # Basic Information |
---|
| 4 | Name: python-%{pkgname} |
---|
| 5 | Version: 3.7.1 |
---|
| 6 | Release: 1%{?_dist_release} |
---|
| 7 | License: BSD |
---|
| 8 | Group: Development/Tools |
---|
| 9 | URL: http://nedbatchelder.com/code/coverage |
---|
| 10 | Source0: http://pypi.python.org/packages/source/c/%{pkgname}/%{pkgname}-%{version}.tar.gz |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | Vendor: Project Vine |
---|
| 14 | Distribution: Vine Linux |
---|
| 15 | Packager: yasumichi |
---|
| 16 | |
---|
| 17 | Summary: Code coverage measurement for Python |
---|
| 18 | Summary(ja): Python 向けのコードカバレッジ測定 |
---|
| 19 | |
---|
| 20 | # Dependency |
---|
| 21 | # 以下に依存関係を記述してください 。 |
---|
| 22 | Requires: python |
---|
| 23 | BuildRequires: python-devel |
---|
| 24 | BuildRequires: python-setuptools |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | the code analysis tools and tracing hooks provided in the Python standard |
---|
| 28 | library to determine which lines are executable, and which have been executed. |
---|
| 29 | |
---|
| 30 | Coverage.py runs on Pythons 2.3 through 3.3, and PyPy 1.8. |
---|
| 31 | |
---|
| 32 | Documentation is at `nedbatchelder.com <http://nedbatchelder.com/code/coverage>`_. Code repository and issue |
---|
| 33 | tracker are at `bitbucket.org <http://bitbucket.org/ned/coveragepy>`_. |
---|
| 34 | |
---|
| 35 | New in 3.5: Branch coverage exclusions, keyboard shortcuts in HTML report. |
---|
| 36 | |
---|
| 37 | New in 3.4: Better control over source to measure, and unexecuted files |
---|
| 38 | can be reported. |
---|
| 39 | |
---|
| 40 | New in 3.3: .coveragerc files. |
---|
| 41 | |
---|
| 42 | New in 3.2: Branch coverage! |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | #%%description -l ja |
---|
| 47 | #ここに日本語で詳細を記述してください。 |
---|
| 48 | |
---|
| 49 | %prep |
---|
| 50 | %setup -q -n coverage-%{version} |
---|
| 51 | |
---|
| 52 | %build |
---|
| 53 | %{__python} setup.py build |
---|
| 54 | |
---|
| 55 | %install |
---|
| 56 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 57 | %{__python} setup.py install --root=${RPM_BUILD_ROOT} |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %clean |
---|
| 61 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %files |
---|
| 65 | %defattr(-,root,root) |
---|
| 66 | %{_bindir}/coverage |
---|
| 67 | %{_bindir}/coverage-2.7 |
---|
| 68 | %{_bindir}/coverage2 |
---|
| 69 | %{python_sitearch}/%{pkgname}-%{version}-py%{pyver}.egg-info |
---|
| 70 | %{python_sitearch}/%{pkgname} |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %changelog |
---|
| 74 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.7.1-1 |
---|
| 75 | - new upstream release |
---|
| 76 | |
---|
| 77 | * Tue Aug 14 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.5.2-1 |
---|
| 78 | - initial build for Vine Linux |
---|