This works nicely: use Dpkg::Deps; $spec = 'nopkg | pmount (>= 0.9 ), pep8 [linux-any], coreutils (>= 1) [armhf],'; $dep = deps_parse($spec, reduce_arch => 1, host_arch => 'armhf'); print $dep->output(), "\n";
results in "nopkg | pmount (>= 0.9), pep8, coreutils (>= 1)", and if I set host_arch to "amd64" it results in "nopkg | pmount (>= 0.9), pep8" as expected. autopkgtest can get the target arch from the testbed with "dpkg --print-architecture", which does not require any non-essential dependencies. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1205110 Title: autopkgtest should not depend on pbuilder To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1205110/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
