d/rules: remove python2 code
TANIGUCHI Takaki
4 years ago
0 | 0 | #!/usr/bin/make -f |
1 | 1 | # -*- makefile -*- |
2 | 2 | |
3 | PYTHONS:=$(shell pyversions -vr) | |
4 | 3 | PYTHON3S:=$(shell py3versions -vr) |
5 | 4 | # Run tests only while building for neurodebian (~nd version suffix) |
6 | 5 | docheck = $(shell LC_ALL=C dpkg-parsechangelog | grep '^Version:' | cut -d ' ' -f 2,2 | grep -q -e '~nd' && echo "docheck" || echo "nocheck" ) |
17 | 16 | endif |
18 | 17 | |
19 | 18 | override_dh_auto_install: |
20 | set -e ; for pyvers in $(PYTHONS); do \ | |
21 | python$$pyvers setup.py install --install-layout=deb \ | |
22 | --root $(CURDIR)/debian/python-git ; \ | |
23 | done | |
24 | 19 | set -e ; for pyvers in $(PYTHON3S); do \ |
25 | 20 | python$$pyvers setup.py install --install-layout=deb \ |
26 | 21 | --root $(CURDIR)/debian/python3-git ; \ |