#! /usr/bin/make -f # # debian/rules # Part of Debian ‘jaraco.logging’ package. # # This is free software, and you are welcome to redistribute it under # certain conditions; see the end of this file for copyright # information, grant of license, and disclaimer of warranty. export PYBUILD_SYSTEM := pyproject export PYBUILD_NAME := jaraco.logging export PYBUILD_INSTALL_ARGS ?= \ --install-option="--install-layout=deb" # PyTest creates a cache directory and doesn't clean up. pytest_cruft := ".pytest_cache" export PYBUILD_AFTER_TEST ?= $(RM) -vr "{build_dir}"/"${pytest_cruft}"/ %: dh $@ --without single-binary --with python3 --buildsystem pybuild --test-pytest # Copyright © 2010–2026 Ben Finney # # This is free software: you may copy, modify, and/or distribute this work # under the terms of the GNU General Public License as published by the # Free Software Foundation; version 3 of that license or any later version. # No warranty expressed or implied. # Local variables: # coding: utf-8 # mode: gnumakefile # End: # vim: fileencoding=utf-8 filetype=make :