There are no Debian packages available for the Blockify ad-muter for Spotify and I would like to build one. I have created copyright, compat, and all other Debian package files for it, except a working rules file. I know to build and install Blockify from its source code one merely runs:

sudo pip3 install git+https://github.com/serialoverflow/blockify

but I do not know how to turn this into a rules file's build: function.


As I've tested building package (Didn't install it), the new way, which is documented in Debian, working just fine:

#! /usr/bin/make -f

#export DH_VERBOSE = 1
export PYBUILD_NAME = blockify

        dh $@ --with python2,python3 --buildsystem=pybuild

Reference: Debian Packaging: Python LibraryStyleGuide

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.