| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian dart 6.13.2+ds-3 dart/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all reproducible=+all future=+lfs |
| 4 |
|
| 5 |
export PYBUILD_SYSTEMscip-debian debian dart 6.13.2+ds-3 dart/rules/PYBUILD_SYSTEM.=cmake |
| 6 |
export PYBUILD_CONFIGURE_ARGSscip-debian debian dart 6.13.2+ds-3 dart/rules/PYBUILD_CONFIGURE_ARGS.=-DPYVER={version} \ |
| 7 |
-DBUILD_SHARED_LIBS=ON \ |
| 8 |
-DCMAKE_SKIP_INSTALL_RPATH=ON \ |
| 9 |
-DDART_SKIP_FLANN=ON \ |
| 10 |
-DDART_SKIP_PAGMO=ON \ |
| 11 |
-DDART_VERBOSE=ON \ |
| 12 |
-DDARTPY_PYTHON_VERSION={version} |
| 13 |
|
| 14 |
ifneq (,$(filterscip-debian debian dart 6.13.2+ds-3 dart/rules/filter. $(DEB_HOST_ARCHscip-debian debian dart 6.13.2+ds-3 dart/rules/DEB_HOST_ARCH.),mips mipsel)) |
| 15 |
export DEB_CXXFLAGS_MAINT_APPEND += -g1 |
| 16 |
endif |
| 17 |
|
| 18 |
%scip-debian debian dart 6.13.2+ds-3 dart/rules/`%`().: |
| 19 |
dh $@ --buildsystem=pybuild |
| 20 |
|
| 21 |
execute_after_dh_auto_installscip-debian debian dart 6.13.2+ds-3 dart/rules/execute_after_dh_auto_install().: |
| 22 |
rm -f debian/tmp/usr/share/doc/dart/data/screencap/.KEEP |
| 23 |
|
| 24 |
execute_before_dh_auto_testscip-debian debian dart 6.13.2+ds-3 dart/rules/execute_before_dh_auto_test().: |
| 25 |
PYBUILD_BUILD_ARGS="tests" dh_auto_buildscip-debian debian debhelper . dh_auto_build(). |
| 26 |
|
| 27 |
|
| 28 |
ifeq ($(DEB_HOST_ARCHscip-debian debian dart 6.13.2+ds-3 dart/rules/DEB_HOST_ARCH.),s390x) |
| 29 |
override_dh_auto_testscip-debian debian dart 6.13.2+ds-3 dart/rules/override_dh_auto_test().: |
| 30 |
PYBUILD_TEST_ARGS="ARGS\+='-E test_MjcfParser\|test_SdfParser\|test_DartLoader\|test_IkFast\|test_ForwardKinematics'" \ |
| 31 |
dh_auto_testscip-debian debian debhelper . dh_auto_test(). |
| 32 |
endif |
| 33 |
|
| 34 |
override_dh_compressscip-debian debian dart 6.13.2+ds-3 dart/rules/override_dh_compress().: |
| 35 |
dh_compressscip-debian debian debhelper . dh_compress(). \ |
| 36 |
-X.hpp -X.h -X.c -X.cpp \ |
| 37 |
-X.dae -X.obj -X.stl -X.STL \ |
| 38 |
-X.sdf -X.skel -X.urdf -X.vsk -X.world \ |
| 39 |
-X.c3d -X.changelog -X.dof -X.path -X.tris |
| 40 |
|
| 41 |
execute_before_dh_link-indepscip-debian debian dart 6.13.2+ds-3 dart/rules/execute_before_dh_link-indep().: |
| 42 |
jdupes -rl debian/dart-doc/usr |