Commit 6f75b64d authored by Antonio Terceiro's avatar Antonio Terceiro

debian/control: deduplicate Build-Depends and Depends

parent 3b26e350
......@@ -4,35 +4,37 @@ Priority: optional
Maintainer: Debian CI team <team+ci@tracker.debian.org>
Uploaders: Antonio Terceiro <terceiro@debian.org>, Paul Gevers <elbrus@debian.org>,
Build-Depends: amqp-tools,
autopkgtest (>= 5.5~),
autopkgtest (>= 5.5~) <debci:buildonly>,
bsdmainutils,
curl,
dctrl-tools,
debhelper (>= 9.20160709),
debhelper (>= 9.20160709) <debci:buildonly>,
devscripts,
fonts-font-awesome (>= 4.0.3~),
inotify-tools,
inotify-tools <debci:buildonly>,
jq,
libjs-bootstrap,
libjs-jquery,
libjs-jquery-flot,
moreutils,
patchutils,
rabbitmq-server,
rerun,
rabbitmq-server <debci:buildonly>,
rerun <debci:buildonly>,
rsync,
ruby,
ruby-activerecord,
ruby-bunny,
ruby-foreman,
ruby-foreman <debci:buildonly>,
ruby-minitar,
ruby-rack-test,
ruby-rspec (>= 2.14),
ruby-rack-test <debci:buildonly>,
ruby-rspec (>= 2.14) <debci:buildonly>,
ruby-sinatra,
ruby-sinatra-contrib,
ruby-sqlite3,
ruby-sqlite3 <debci:buildonly>,
ruby-thor,
shellcheck,
shunit2,
yard
shellcheck <debci:buildonly>,
shunit2 <debci:buildonly>,
yard <debci:buildonly>,
Standards-Version: 4.3.0
Homepage: http://ci.debian.net/
Vcs-Git: https://salsa.debian.org/ci-team/debci.git
......@@ -41,29 +43,10 @@ Vcs-Browser: https://salsa.debian.org/ci-team/debci
Package: debci
Architecture: all
Depends: adduser,
amqp-tools,
bsdmainutils,
curl,
dctrl-tools,
debootstrap,
devscripts,
fonts-font-awesome (>= 4.0.3~),
libjs-bootstrap,
libjs-jquery,
libjs-jquery-flot,
moreutils,
patchutils,
rsync,
ruby,
ruby-activerecord,
ruby-bunny,
ruby-minitar,
ruby-sinatra,
ruby-sinatra-contrib,
ruby-sqlite3 | ruby-pg,
ruby-thor,
sudo,
jq,
${debci:Depends},
${misc:Depends},
${shlibs:Depends}
Recommends: ntp | time-daemon
......
#!/bin/sh
set -eu
printf "debci:Depends="
grep-dctrl -n -s Build-Depends '' debian/control | \
grep -v 'debci:buildonly' | \
sed -e 's/^\s*//; s/<[^>]+>//; s/\n/ /' | \
paste -sd ' ' -
......@@ -10,5 +10,9 @@ override_dh_auto_test:
# skip buid-time tests for now
@true
override_dh_gencontrol:
debian/gen-deps >> debian/debci.substvars
dh_gencontrol
override_dh_installinit:
@true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment