# add the command line dependencies
depends$bin = c(extra_deps$deb,depends$bin)
depends$build = c(extra_deps$deb,depends$build)
# add the command line dependencies
depends$bin = c(extra_deps$deb,depends$bin)
depends$build = c(extra_deps$deb,depends$build)
# add the system requirements
if ('SystemRequirements' %in% colnames(pkg$description)) {
sysreq <- sysreqs_as_debian(pkg$description[1,'SystemRequirements'],verbose=verbose)
# add the system requirements
if ('SystemRequirements' %in% colnames(pkg$description)) {
sysreq <- sysreqs_as_debian(pkg$description[1,'SystemRequirements'],verbose=verbose)
# append the Debian dependencies
depends$build=c(depends$build,'debhelper (>> 4.1.0)','cdbs')
# append the Debian dependencies
depends$build=c(depends$build,'debhelper (>> 4.1.0)','cdbs')
if (file.exists(file.path(patch_dir, pkg$name))) {
depends$build <- c(depends$build,'dpatch')
}
if (pkg$archdep) {
depends$bin=c(depends$bin,'${shlibs:Depends}')
}
if (file.exists(file.path(patch_dir, pkg$name))) {
depends$build <- c(depends$build,'dpatch')
}
if (pkg$archdep) {
depends$bin=c(depends$bin,'${shlibs:Depends}')
}
# the names of dependent source packages (to find the .changes file to
# upload via dput). these can be found recursively.
depends$r = r_dependency_closure(dependencies)
# the names of dependent source packages (to find the .changes file to
# upload via dput). these can be found recursively.
depends$r = r_dependency_closure(dependencies)
# append command line dependencies
depends$r = c(extra_deps$r, depends$r)
return(depends)
# append command line dependencies
depends$r = c(extra_deps$r, depends$r)
return(depends)