Debian packaging for python2 and python3 at the same time

The problem The scenario was like this: Python code that provides a library and a binary The code is compatible with both Python v2 and v3 The requirements were: Generate a package with the library part for python v2 Generate a package with the library part for python v3 Generate a binary package with the …

Continue reading ‘Debian packaging for python2 and python3 at the same time’ »

Installing package build dependencies from a .dsc file (Debian)

There are cases where one needs to install build-dependencies of a .dsc file in Debian. Apparently this is not as trivial as: The easiest way I’ve found so far is to use mk-build-deps (from the devscripts package): This godly script: Creates a psudo package that depends on the build-depends of the .dsc file Does a …

Continue reading ‘Installing package build dependencies from a .dsc file (Debian)’ »