summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorLars Wirzenius <liw@iki.fi>2007-11-11 03:44:33 +0200
committerLars Wirzenius <liw@iki.fi>2007-11-11 03:44:33 +0200
commit134f7b099ee350943459f4ca8b5505370436c720 (patch)
tree9a7009222ed39de5828f8cd2f72bb63f753f92fc /debian
parent5d112e4dcfb29bf624aaba1c79c7e046653fb0d3 (diff)
downloadcoverage-test-runner-134f7b099ee350943459f4ca8b5505370436c720.tar.gz
Added initial packaging.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control18
-rw-r--r--debian/copyright24
-rw-r--r--debian/pycompat1
-rwxr-xr-xdebian/rules9
6 files changed, 58 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0d6c582
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-coverage-test-runner (1.0-1) unstable; urgency=low
+
+ * First version.
+
+ -- Lars Wirzenius <liw@iki.fi> Fri, 13 Jul 2007 00:33:00 +0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4885906
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: python-coverage-test-runner
+Maintainer: Lars Wirzenius <liw@iki.fi>
+Section: devel
+Priority: optional
+Standards-Version: 3.7.2
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.38),
+ python-central (>= 0.5.6), python
+XS-Python-Version: all
+
+Package: python-coverage-test-runner
+Architecture: all
+Depends: ${python:Depends}, python-coverage
+XB-Python-Version: ${python:Versions}
+Description: fail Python program unit tests unless they test everything
+ This package contains the Python module CoverageTestRunner, which runs
+ unit tests implemented using the unittest module in the Python standard
+ library. It runs them using the coverage.py (in the python-coverage package)
+ and fails the test if all statements are not covered.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8d21837
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,24 @@
+python-coverage-test-runner was originally written and packaged as a
+.deb by Lars Wirzenius <liw@iki.fi>.
+
+It was downloaded from http://braawi.org/coveragetestrunner.html
+
+python-coverage-test-runner is licensed under the GNU General Public
+License, or any later version. On Debian systems, you can find version 2
+of the license at /usr/share/common-licenses/GPL-2 .
+
+# Copyright (C) 2007 Lars Wirzenius <liw@iki.fi>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
diff --git a/debian/pycompat b/debian/pycompat
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/debian/pycompat
@@ -0,0 +1 @@
+2
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..618f8e8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pycentral
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+clean::
+ $(MAKE) clean