Subject: mk-build-deps: add build profiles support to filter build dependencies to include/install
Date: Tue, 03 Apr 2018 18:37:48 +0200
Package: devscripts
Version: 2.18.1
Severity: wishlist
It would be nice if we could pass a "-P profile[,...]" option to
mk-build-deps to specify which build profiles should be enabled
(I chose -P to match the choice made in dpkg-checkbuilddeps)
Thus "mk-build-deps -P nocheck,nodoc debian/control" would not include
packages that are only needed to build the documentation and to run the
tests.
See man deb-src-control for the syntax of the build profiles. You can see
build profiles annotations in python-django for example:
Build-Depends: ..., python3-bcrypt <!nocheck>, python3-docutils <!nodoc>, ...
It's not yet documented in policy but you can find some information here:
https://wiki.debian.org/BuildProfileSpec
Note that the perl module Dpkg::Deps (from libdpkg-perl) has support for
build profiles.
Cheers,
Raphaël Hertzog.
Acknowledgement sent
to Samuel Thibault <[email protected]>:
Extra info received and forwarded to list. Copy sent to Devscripts Maintainers <[email protected]>.
(Mon, 27 Aug 2018 15:21:02 GMT) (full text, mbox, link).
Subject: Re: Bug#894732: mk-build-deps: add build profiles support to filter
build dependencies to include/install
Date: Mon, 27 Aug 2018 17:17:14 +0200
Raphaël Hertzog, le mar. 03 avril 2018 18:37:48 +0200, a ecrit:
> It would be nice if we could pass a "-P profile[,...]" option to
> mk-build-deps to specify which build profiles should be enabled
> (I chose -P to match the choice made in dpkg-checkbuilddeps)
Seconded :)
Samuel
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.