Add packaging accepted/tizen/20130503.225327 accepted/tizen/20130520.100513 accepted/trunk/20130306.221303 submit/tizen/20130503.232056 submit/tizen/20130509.183651 submit/tizen/20130517.023923 submit/trunk/20130306.191939
authorPatrick McCarty <patrick.mccarty@linux.intel.com>
Wed, 6 Mar 2013 19:12:30 +0000 (11:12 -0800)
committerPatrick McCarty <patrick.mccarty@linux.intel.com>
Wed, 6 Mar 2013 19:15:47 +0000 (11:15 -0800)
packaging/python-coverage.spec [new file with mode: 0644]

diff --git a/packaging/python-coverage.spec b/packaging/python-coverage.spec
new file mode 100644 (file)
index 0000000..6858c29
--- /dev/null
@@ -0,0 +1,30 @@
+Name:           python-coverage
+Version:        3.6
+Release:        0
+Summary:        Code coverage measurement for Python
+Url:            http://nedbatchelder.com/code/coverage
+License:        BSD-3-Clause
+Group:          Platform Development/Python
+Source:         coverage-%{version}.tar.gz
+BuildRequires:  python-devel
+BuildRequires:  python-distribute
+BuildRequires:  python-xml
+Requires:       python-xml
+
+%description
+Coverage.py measures code coverage, typically 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 coverage-%{version}
+
+%build
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%{_bindir}/coverage*
+%{py_sitedir}/*