Skip to content
Commits on Source (4)
......@@ -10,16 +10,17 @@ Build-Depends: debhelper (>= 11~),
python-setuptools,
python-lxml,
python-numpy,
python-qt4,
python-pyqt5,
python-scipy,
python-six,
python3-all-dev,
python3-setuptools,
python3-numpy,
python3-lxml,
python3-pyqt4,
python3-pyqt5,
python3-scipy,
python3-six
python3-six,
python3-skbio
Standards-Version: 4.2.1
Vcs-Browser: https://salsa.debian.org/med-team/python-ete3
Vcs-Git: https://salsa.debian.org/med-team/python-ete3.git
......
skip_online_tests.patch
syntax_fixes.patch
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 29 Oct 2018 14:47:53 +0100
Description: Ignore test requiring online access
--- a/ete3/test/test_api.py
+++ b/ete3/test/test_api.py
@@ -6,7 +6,6 @@ from .test_tree import *
from .test_interop import *
from .test_seqgroup import *
from .test_phylotree import *
-from .test_ncbiquery import *
from .test_arraytable import *
from .test_clustertree import *
This diff is collapsed.
#! /usr/bin/make -f
export PYBUILD_NAME=ete3
#export PYBUILD_DISABLE_python3=test
#export PYBUILD_DISABLE_python2=1
#export PYBUILD_TEST_ARGS_python2=-k-XTest_ncbiquery
#export PYBUILD_TEST_ARGS_python3=-k-XTest_ncbiquery
%:
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Exclude tests requiring online access (no idea how to exclude these more elegantly
find .pybuild -name test_ncbiquery.py -delete
find .pybuild/*2.7*/ -name test_interop.py -delete
sed -i '/test_interop import/d' `find .pybuild/*2.7*/ -name test_api.py`
# link to examples
find .pybuild -name build -type d -exec ln -s $(CURDIR)/examples \{\} \;
dh_auto_test || true
endif