#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/dpkg/default.mk include /usr/share/dpkg/pkg-info.mk export DEB_VERSION export LC_ALL=C.UTF-8 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow export PYBUILD_BEFORE_TEST=cp -r {dir}/tests/data {build_dir} export PYBUILD_AFTER_TEST=rm -r {build_dir}/data export PYBUILD_TEST_PYTEST=1 # Tests temporarily disabled: Debian's scinexus 2026.10.2 deviates from the # uv.lock pin 2026.5.18 that cogent3's suite is written for. Remove once a # cogent3 release validated against scinexus>=2026.10 is packaged. # and not test_load_annotations_compressed and not test_writer_no_unique_id \ # and not test_db_creation and not test_validate and not test_append_makes_logs export PYBUILD_TEST_ARGS=\ --ignore=test_app/test_plugins.py \ --ignore=test_draw/test_draw_integration.py \ -k 'not test_pickleable_member_roundtrip \ and not test_pickleable_roundtrip \ and not internet \ and not test_load_from_url \ and not test_load_annotations_compressed and not test_writer_no_unique_id \ and not test_db_creation and not test_validate and not test_append_makes_logs \ ' export PYBUILD_NAME=cogent3 ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf mipsel s390x mips64el)) export PYBUILD_DISABLE=test endif %: dh $@ --with numpy3 --buildsystem=pybuild