[pbuilder] 01/01: pbuilder-satisfydepends-experimental: Add support for build profiles
James Clarke
jrtc27-guest at moszumanska.debian.org
Wed Jun 15 21:02:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
jrtc27-guest pushed a commit to branch master
in repository pbuilder.
commit bcd3ccc7521eb2b80a2cd548417b293e79f98bb0
Author: James Clarke <jrtc27 at jrtc27.com>
Date: Wed Jun 15 22:02:21 2016 +0100
pbuilder-satisfydepends-experimental: Add support for build profiles
---
pbuilder-satisfydepends-experimental | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/pbuilder-satisfydepends-experimental b/pbuilder-satisfydepends-experimental
index b31418a..4368e86 100755
--- a/pbuilder-satisfydepends-experimental
+++ b/pbuilder-satisfydepends-experimental
@@ -55,6 +55,13 @@ function checkbuilddep_internal () {
continue
fi
fi
+ if echo "$INSTALLPKG" | grep -q '<'; then
+ if checkbuilddep_restrictiondeps "$INSTALLPKG" "$DEB_BUILD_PROFILES"; then
+ SATISFIED="yes"
+ echo " -> This package is not for the current build profiles"
+ continue
+ fi
+ fi
CURRENT_APT_COMMAND="$(versioneddep_to_aptcmd "$INSTALLPKG")"
@@ -150,6 +157,13 @@ function checkbuilddep_internal () {
continue
fi
fi
+ if echo "$INSTALLPKG" | grep -q '<'; then
+ # this package has build-profiles-conflicts.
+ if checkbuilddep_restrictiondeps "$INSTALLPKG" "$DEB_BUILD_PROFILES"; then
+ echo "I: Ignoring other-buildprofiles"
+ continue
+ fi
+ fi
if echo "$INSTALLPKG" | grep -q '('; then
# this package has version-conflicts
if ! checkbuilddep_versiondeps $CURRENTREALPKGNAME \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git
More information about the Pbuilder-maint
mailing list