1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#! /usr/bin/make -f
# The test should be really prevented
# export DH_BUILD_MAINT_OPTIONS=nocheck
export DEB_BUILD_OPTIONS=nocheck
#export PYBUILD_TEST_ARGS=-a'!network'
#export DEB_BUILD_MAINT_OPTIONS=nocheck
export PYBUILD_NAME=biomaj
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_install:
dh_install
sed -i '1s;^;#!/usr/bin/python3\n;' debian/python3-biomaj3/usr/bin/biomaj_migrate_database.py
override_dh_installexamples:
dh_installexamples
sed -i '1s;^;#!/bin/bash\n;' debian/python3-biomaj3/usr/share/doc/python3-biomaj3/examples/tools/process/concat.sh
chmod -x debian/python3-biomaj3/usr/share/doc/python3-biomaj3/examples/global.properties.example
|