[med-svn] [snakemake] 08/09: Fix tests, (build-)dep on required packages Fix tests, build-dep on python3-yaml

Kevin Murray daube-guest at moszumanska.debian.org
Tue Sep 15 13:39:59 UTC 2015


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

daube-guest pushed a commit to branch master
in repository snakemake.

commit 6fd588b33a86c957568b60a6762c126c5997adfd
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Tue Sep 15 22:46:47 2015 +1000

    Fix tests, (build-)dep on required packages
    Fix tests, build-dep on python3-yaml
    
    Depend on pyyaml and setuptools
    
    Add docutils to depends, needed for reports
---
 debian/control | 5 +++++
 debian/rules   | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 1d43128..256d405 100644
--- a/debian/control
+++ b/debian/control
@@ -9,18 +9,23 @@ Build-Depends: debhelper (>= 9),
                python3-sphinx,
                python3-setuptools,
                python3-sphinx-bootstrap-theme,
+               python3-yaml,
                python3-nose
 Standards-Version: 3.9.6
 Homepage: https://bitbucket.org/johanneskoester/snakemake
 Vcs-Git: git://anonscm.debian.org/debian-med/snakemake.git
 Vcs-Browser: https://anonscm.debian.org/gitweb/?p=debian-med/snakemake.git;a=summary
 X-Python-Version: >= 3.2
+X-Python3-Version: >= 3.2
 
 Package: snakemake
 Architecture: all
 Depends: ${misc:Depends},
          ${python3:Depends},
          ${sphinxdoc:Depends},
+         python3-setuptools,
+         python3-docutils,
+         python3-yaml,
          libjs-mathjax
 Description: pythonic workflow management system
  Build systems like GNU Make are frequently used to create complicated
diff --git a/debian/rules b/debian/rules
index 7daca11..3d68241 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,12 @@
 #!/usr/bin/make -f
 # See debhelper(7) (uncomment to enable)
 # output every command that modifies files on the build system.
-#export DH_VERBOSE = 1
+# export DH_VERBOSE = 1
 
 export PYBUILD_NAME=snakemake
 export PYBUILD_DESTDIR_python3=debian/snakemake
+export PYBUILD_BEFORE_TEST_python3=cp -r {dir}/bin {dir}/tests {build_dir}
+export PYBUILD_AFTER_TEST_python3=rm -fr {build_dir}/bin {build_dir}/tests
 
 # Force the use of python3's sphinx-build.
 export SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/snakemake.git



More information about the debian-med-commit mailing list