[Python-modules-commits] [colorclass] 06/06: Make test suite run

Carl Suster arcresu-guest at moszumanska.debian.org
Fri Jan 6 08:59:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

arcresu-guest pushed a commit to branch master
in repository colorclass.

commit c03cbf83e0701fb06e2fbf90471548c6be3f47ac
Author: Carl Suster <carl at contraflo.ws>
Date:   Thu Jan 5 14:43:15 2017 +1100

    Make test suite run
---
 debian/clean                   | 1 +
 debian/control                 | 2 ++
 debian/python3-colorclass.docs | 4 ++++
 debian/rules                   | 2 ++
 4 files changed, 9 insertions(+)

diff --git a/debian/clean b/debian/clean
index 45149aa..739fbc2 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1 +1,2 @@
 *.egg-info/*
+.cache/
diff --git a/debian/control b/debian/control
index fcff0e3..bd0bfb3 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,8 @@ Build-Depends:
  debhelper (>= 10),
  dh-python,
  python3-all,
+ python3-docopt,
+ python3-pytest,
  python3-setuptools,
 Standards-Version: 3.9.8
 Section: python
diff --git a/debian/python3-colorclass.docs b/debian/python3-colorclass.docs
new file mode 100644
index 0000000..7fe2ae1
--- /dev/null
+++ b/debian/python3-colorclass.docs
@@ -0,0 +1,4 @@
+README.rst
+example.png
+example.py
+example_windows.png
diff --git a/debian/rules b/debian/rules
index d4b23db..32b6ca5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 
 export PYBUILD_NAME=colorclass
 
+export PYBUILD_BEFORE_TEST=cp example.py {build_dir}
+
 
 %:
 	dh $@ --with python3 --buildsystem pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/colorclass.git



More information about the Python-modules-commits mailing list