sysreq = gsub('(ht|f)tps?://[[:alnum:]!?*"\'(),%$_@.&+/=-]*','',sysreq)
# squish out space
sysreq = chomp(gsub('[[:space:]]+',' ',sysreq))
+ if (nchar(sysreq) == 0) {
+ notice('part of the SystemRequirement became nothing')
+ next
+ }
alias <- db_sysreq_override(sysreq)
if (is.null(alias)) {
error('do not know what to do with SystemRequirement:',sysreq)
control[1,'Priority'] = 'optional'
control[1,'Maintainer'] = maintainer
control[1,'Build-Depends'] = paste(pkg$depends$build,collapse=', ')
- control[1,'Standards-Version'] = '3.8.1'
+ control[1,'Standards-Version'] = '3.8.3'
control[2,'Package'] = pkg$debname
control[2,'Architecture'] = 'all'
long_descr <- pkg$description[1,'Description']
}
- if (length(long_descr) < 1) {
+ if (length(long_descr) < 1 || long_descr == "") {
# bypass lintian extended-description-is-empty for which we care not.
long_descr <- paste('The author/maintainer of this package'
,'did not care to enter a longer description.')