File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,15 @@ PY3VERS = $(shell py3versions -vr)
18
18
PY3VER = $(shell py3versions -vd)
19
19
20
20
UVER := $(shell LC_ALL=C dpkg-parsechangelog | awk '/^Version:/{print $$2;}' | sed -e 's,-[^-]* $$,,g')
21
- CYTHON2VER := $(shell dpkg -l cython | awk '/^ii/{print $$3;}' || echo 0)
22
- CYTHON3VER := $(shell dpkg -l cython3 2>/dev/null | awk '/^ii/{print $$3;}' || echo 0)
23
- MPLVER := $(shell dpkg -l python-matplotlib | awk '/^ii/{print $$3;}' || echo 0)
24
21
25
22
MIN_CYTHONVER = 0.17.1
26
23
27
24
# Some unittests might need to be excluded for different Python versions
28
25
EXCLUDE_TESTS2 :=
29
26
EXCLUDE_TESTS3.2 := --exclude "test_bootstrap_plot"
30
27
EXCLUDE_TESTS3.3 := --exclude "test_(bootstrap_plot|quoting|cant_compare_tz_naive_w_aware|more_flexible_frame_multi_function|yahoo)"
28
+
29
+ # MPLVER := $(shell dpkg -l python-matplotlib | awk '/^ii/{print $$3;}' || echo 0)
31
30
# $(shell dpkg --compare-versions $(MPLVER) lt 1.0 && echo '|test_hist|test_plot|test_boxplot|test_corr_rank' || echo '')
32
31
33
32
# Mega rule
@@ -63,8 +62,6 @@ override_dh_auto_build:
63
62
64
63
override_dh_auto_install : ${PYVERS:% =python-install% } ${PY3VERS:% =python-install% } ${PYVERS:% =python-test% } ${PY3VERS:% =python-test% }
65
64
# Per Python version logic -- install, test, remomove .so (installed into -lib)
66
- # Unfortunately mighty make doesn't have a sensible function to return the first
67
- # character of a string
68
65
python-install% :
69
66
echo " $* " | grep -q ' ^3' && PY=3 || PY= ; \
70
67
CYTHONVER=$$(dpkg -l cython$$PY 2>/dev/null | awk '/^ii/{print $$3;}' || echo 0 ) ; \
You can’t perform that action at this time.
0 commit comments