#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
# See debhelper(7) (un-comment to enable)
# This is an autogenerated template for debian/rules.
#
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1
#
# Copy some variable definitions from pkg-info.mk and vendor.mk
# under /usr/share/dpkg/ to here if they are useful.
#
# These are rarely used code. (START)
#
# The following include for *.mk magically sets miscellaneous
# variables while honoring existing values of pertinent
# environment variables:
#
# Architecture-related variables such as DEB_TARGET_MULTIARCH:
#include /usr/share/dpkg/architecture.mk
# Vendor-related variables such as DEB_VENDOR:
#include /usr/share/dpkg/vendor.mk
# Package-related variables such as DEB_DISTRIBUTION
#include /usr/share/dpkg/pkg-info.mk
#
# You may alternatively set them susing a simple script such as:
# DEB_VENDOR ?= $(shell dpkg-vendor --query  Vendor)
#
# These are rarely used code. (END)
#

### main packaging script based on post dh7 syntax
%:
	dh $@ --with python3 --buildsystem=pybuild

# debmake generated override targets
# Too complicated to provide examples here.
#
# Check situation of Python on Debian
#     https://wiki.debian.org/Python
#
#     https://wiki.debian.org/Python/TransitionToDHPython2
#     https://wiki.debian.org/Python/Pybuild
#     https://wiki.debian.org/Python/LibraryStyleGuide
#
# If a module package doesn't use distutils or setuptools but uses flit
# you need flit plugin.  See pybuild(1).
#
# Pure PEP-517 based build with "python3 -m build ..." is supported.
#
# To update the upstream source to support python3, see
#     https://wiki.python.org/moin/Python2orPython3
#     https://wiki.python.org/moin/PortingToPy3k/BilingualQuickRef
