| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | PYTHON3scip-makefile . . . PYTHON3. := $(shell py3versions -vr) |
| 4 | export PYBUILD_NAMEscip-makefile . . . PYBUILD_NAME. := astropy-healpix |
| 5 | export http_proxyscip-makefile . . . http_proxy.=127.0.0.1:9 |
| 6 | |
| 7 | # Delete *.c files that should not be installed. |
| 8 | # I'm not sure why this package has this problem while no other |
| 9 | # Astropy-affiliated packages do. |
| 10 | export PYBUILD_AFTER_INSTALLscip-makefile . . . PYBUILD_AFTER_INSTALL. := find {destdir} -name '*.c' -delete |
| 11 | |
| 12 | ifeq ($(DEB_HOST_ARCH),i386) |
| 13 | export DEB_CFLAGS_MAINT_APPEND := -ffloat-store |
| 14 | endif |
| 15 | |
| 16 | |
| 17 | %scip-makefile . . . `%`/: |
| 18 | dh $@scip-makefile . . . `@`. --buildsystem=pybuild |
| 19 | |
| 20 | override_dh_shlibdepsscip-makefile . . . override_dh_shlibdeps/: |
| 21 | dh_shlibdeps |
| 22 | dh_numpy3 |