#!/usr/bin/make -f

# This file was automatically generated by stdeb 0.10.0 at
# Fri, 24 Jan 2025 17:11:05 -0600

#exports specified using stdeb Setup-Env-Vars:
export SKIP_PYTHON_MODULES=1

%:
	dh $@ --with python3 --buildsystem=python_distutils

override_dh_auto_clean:
	python3 setup.py clean -a
	find . -name \*.pyc -exec rm {} \;

override_dh_auto_build:
	python3 setup.py build --force

override_dh_auto_install:
	python3 setup.py install --force --root=debian/python3-rospkg --no-compile -O0 --install-layout=deb  

override_dh_python2:
	dh_python2 --no-guessing-versions

override_dh_python3:
	dh_python3
	sed -i "s/\([ =]python3:any (\)>= [^)]*\()\)/\\1>= 3.6~\\2/g" debian/python3-rospkg.substvars

