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
|
#!/usr/bin/make -f
include /usr/share/postgresql-common/pgxs_debian_control.mk
export PYBUILD_NAME=multicorn
%:
dh $@ --with python3 --buildsystem=pybuild
# ignore testsuite failure until #795590 is resolved
# (upstream https://github.com/Kozea/Multicorn/issues/128)
override_dh_auto_test:
-dh_auto_test --buildsystem=pybuild
override_dh_auto_install:
# Build the extension via pg_buildext.
+PYTHON_OVERRIDE=python3 pg_buildext loop postgresql-%v-python3-multicorn
dh_auto_install
override_dh_installdocs:
dh_installdocs --all README*
override_dh_auto_clean:
$(MAKE) clean
dh_auto_clean
rm -rf regression.diffs regression.out results .cache
mkdir results # prepare results dir for next adt run
|