[python-coverage-test-runner] Initial import

Michel Alexandre Salim salimma at fedoraproject.org
Mon Jun 4 14:05:32 UTC 2012


commit 9465b1186cd97b08ea7f7bfe27a422e537f906ff
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Mon Jun 4 21:05:14 2012 +0700

    Initial import

 .gitignore                       |    1 +
 python-coverage-test-runner.spec |   56 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d99efc3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-coverage-test-runner_1.8.orig.tar.gz
diff --git a/python-coverage-test-runner.spec b/python-coverage-test-runner.spec
new file mode 100644
index 0000000..c5da2a4
--- /dev/null
+++ b/python-coverage-test-runner.spec
@@ -0,0 +1,56 @@
+%global pkgname CoverageTestRunner
+%global prjname coverage-test-runner
+
+Name:           python-%{prjname}
+Version:        1.8
+Release:        1%{?dist}
+Summary:        Python module for enforcing code coverage completeness
+
+License:        GPLv3+
+URL:            http://liw.fi/%{prjname}/
+Source0:        http://ftp.debian.org/debian/pool/main/p/python-coverage-test-runner/%{name}_%{version}.orig.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-coverage
+Requires:       python-coverage
+
+%description
+CoverageTestRunner is a Python module for running unit tests and
+failing them if the unit test module does not exercise all statements
+in the module it tests.
+
+For example, unit tests in module foo_tests.py are supposed to test
+everything in the foo.py module, and if they don't, it's a bug in the
+test coverage. It does not matter if other tests happen to test the
+missing parts. The unit tests for the module should test everything in
+that module.
+
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%check
+make check
+
+
+%files
+%doc COPYING NEWS README
+%{python_sitelib}/*
+
+
+%changelog
+* Mon Jun  4 2012 Michel Salim <salimma at fedoraproject.org> - 1.8-1
+- Update to 1.8
+- Drop unneeded conditional declaration of %%{python_sitelib}
+
+* Sun Jun  3 2012 Michel Salim <salimma at fedoraproject.org> - 1.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..82cf1ac 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cac3dd7ec43edcd69553adc6b801d121  python-coverage-test-runner_1.8.orig.tar.gz


More information about the scm-commits mailing list