python-coverage-vl.spec 1.9 KB

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