dh-virtualenv icon indicating copy to clipboard operation
dh-virtualenv copied to clipboard

buildsystem: fix multi binary packages build

Open zebra-lucky opened this issue 4 years ago • 3 comments

  • buildsystem: fix multi binary packages build

Possible fix if multi binary packages exists: https://www.debian.org/doc/manuals/debmake-doc/ch05.en.html

DESTDIR=debian/tmp/ (multi binary package)

zebra-lucky avatar Dec 30 '20 23:12 zebra-lucky

Hi,

thanks for the pull request and for showing some much needed love for the build system parts.

Why comes to the change, can you explain a bit why this particular change helps? I’m not immediately connecting this to the multi binary builds, probably because of my lack in knowing insides

nailor avatar Dec 31 '20 10:12 nailor

Why comes to the change, can you explain a bit why this particular change helps? I’m not immediately connecting this to the multi binary builds, probably because of my lack in knowing insides

Hi!

After spliting binary package to: package-env, package, alternate-package-name i've found no venv is installed in anyone. Then found DESTDIR=debian/tmp/ for multi binary packages, and after substitution as in #320 all seems to work.

venv is placed in DH_VIRTUALENV_MAINPACKAGE or $sourcepackage if former not set, but $sourcepackage variant i've not tested.

zebra-lucky avatar Dec 31 '20 11:12 zebra-lucky

I've set DH_VIRTUALENV_MAINPACKAGE to package-env, and debian/package.links, debian/alternate-package-name.links contains symlinks in bin, share (applications, pixmaps).

zebra-lucky avatar Dec 31 '20 11:12 zebra-lucky