1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: test against the current python versions, not hard-coded ones
Upstream test suite is testing against python2.7 and python3.5 at
build-time. Fix this to test against 'python' and 'python3' to use
whatever the current Debian default is for this release, instead of
hard-coding a specific version number.
Author: Steve Langasek <steve.langasek@ubuntu.com>
Index: sagenb-export-3.2/tox.ini
===================================================================
--- sagenb-export-3.2.orig/tox.ini
+++ sagenb-export-3.2/tox.ini
@@ -1,12 +1,12 @@
[tox]
-envlist = py27, py34
+envlist = python, python3
-[testenv:py27]
-commands=python2.7 -m unittest discover
+[testenv:python]
+commands=python -m unittest discover
-[testenv:py34]
+[testenv:py3.4]
commands=python3.4 -m unittest discover
-[testenv:py35]
-commands=python3.5 -m unittest discover
+[testenv:python3]
+commands=python3 -m unittest discover
|