version=4
opts="repacksuffix=+ds1, \
dversionmangle=s/\+(?:dfsg|ds)\d*$//, \
filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
https://github.com/mochajs/mocha/tags \
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

opts=\
component=ansi-colors,\
dversionmangle=auto,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-ansi-colors-$1.tar.gz/ \
 https://github.com/doowb/ansi-colors/tags .*/archive/v?([\d\.]+).tar.gz ignore

opts=\
component=log-symbols,\
dversionmangle=auto,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-log-symbols-$1.tar.gz/ \
 https://github.com/sindresorhus/log-symbols/tags .*/archive/v?([\d\.]+).tar.gz ignore

opts=\
component=node-environment-flags,\
dversionmangle=auto,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-node-environment-flags-$1.tar.gz/ \
 https://github.com/boneskull/node-environment-flags/tags .*/archive/v?([\d\.]+).tar.gz ignore

opts=\
component=objectassign,\
dversionmangle=auto,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-object.assign-$1.tar.gz/ \
 https://github.com/ljharb/object.assign/tags .*/archive/v?([\d\.]+).tar.gz ignore

# It is not recommended use npmregistry. Please investigate more.
# Take a look at https://wiki.debian.org/debian/watch/
opts="searchmode=plain,component=yargs-unparser,pgpmode=none" \
 https://registry.npmjs.org/yargs-unparser https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-([\d\.]+)@ARCHIVE_EXT@ ignore

opts=\
component=object-keys,\
dversionmangle=auto,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-object-keys-$1.tar.gz/ \
 https://github.com/ljharb/object-keys/tags .*/archive/v?([\d\.]+).tar.gz ignore

opts=\
component=has-symbols,\
dversionmangle=auto,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-has-symbols-$1.tar.gz/ \
 https://github.com/ljharb/has-symbols/tags .*/archive/v?([\d\.]+).tar.gz ignore

opts=\
component=flat,\
dversionmangle=auto,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-flat-$1.tar.gz/ \
 https://github.com/hughsk/flat/tags .*/archive/v?([\d\.]+).tar.gz ignore

### TEST DEPENDENCIES, will be packaged separately
#opts=\
#component=unexpected,\
#dversionmangle=auto,\
#filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-unexpected-$1.tar.gz/ \
# https://github.com/unexpectedjs/unexpected/tags .*/archive/v?([\d\.]+).tar.gz ignore
#
#opts=\
#component=greedy-interval-packer,\
#dversionmangle=auto,\
#filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-greedy-interval-packer-$1.tar.gz/ \
# https://github.com/One-com/greedy-interval-packer/tags .*/archive/v?([\d\.]+).tar.gz ignore
#
#opts=\
#component=magicpen,\
#dversionmangle=auto,\
#filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-magicpen-$1.tar.gz/ \
# https://github.com/sunesimonsen/magicpen/tags .*/archive/v?([\d\.]+).tar.gz ignore
#
#opts=\
#component=color-diff,\
#dversionmangle=auto,\
#filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-color-diff-$1.tar.gz/ \
# https://github.com/markusn/color-diff/tags .*/archive/v?([\d\.]+).tar.gz ignore
#
## It is not recommended use npmregistry. Please investigate more.
## Take a look at https://wiki.debian.org/debian/watch/
#opts="searchmode=plain,component=unexpected-bluebird,pgpmode=none" \
# https://registry.npmjs.org/unexpected-bluebird https://registry.npmjs.org/unexpected-bluebird/-/unexpected-bluebird-([\d\.]+)@ARCHIVE_EXT@ ignore
#
#opts=\
#component=array-changes,\
#dversionmangle=auto,\
#filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-array-changes-$1.tar.gz/ \
# https://github.com/unexpectedjs/array-changes/tags .*/archive/v?([\d\.]+).tar.gz ignore
#
## It is not recommended use npmregistry. Please investigate more.
## Take a look at https://wiki.debian.org/debian/watch/
#opts="searchmode=plain,component=arraydiff-papandreou,pgpmode=none" \
# https://registry.npmjs.org/arraydiff-papandreou https://registry.npmjs.org/arraydiff-papandreou/-/arraydiff-papandreou-([\d\.\-\w]+)@ARCHIVE_EXT@ ignore
#
#opts=\
#component=array-changes-async,\
#dversionmangle=auto,\
#filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-array-changes-async-$1.tar.gz/ \
# https://github.com/bruderstein/array-changes-async/tags .*/archive/v?([\d\.]+).tar.gz ignore
#
## It is not recommended use npmregistry. Please investigate more.
## Take a look at https://wiki.debian.org/debian/watch/
#opts="searchmode=plain,component=arraydiff-async,pgpmode=none" \
# https://registry.npmjs.org/arraydiff-async https://registry.npmjs.org/arraydiff-async/-/arraydiff-async-([\d\.]+)@ARCHIVE_EXT@ ignore
#
#opts=\
#component=unexpected-sinon,\
#dversionmangle=auto,\
#filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-unexpected-sinon-$1.tar.gz/ \
# https://github.com/unexpectedjs/unexpected-sinon/tags .*/archive/v?([\d\.]+).tar.gz ignore
#
#opts=\
#component=unexpected-eventemitter,\
#dversionmangle=auto,\
#filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-unexpected-eventemitter-$1.tar.gz/ \
# https://github.com/boneskull/unexpected-eventemitter/tags .*/archive/v?([\d\.]+).tar.gz ignore
