+pgdg-buildenv (31) sid-pgdg; urgency=medium
+
+ * adt-sbuild: Look at DEB_PACKAGE instead of PACKAGE.
+
+ -- Christoph Berg <myon@debian.org> Tue, 18 Aug 2020 15:33:10 +0200
+
pgdg-buildenv (30) sid-pgdg; urgency=medium
* adt-sbuild: Install plpython3 for postgresql-multicorn.
# %SBUILD_BUILD_DIR %SBUILD_PKGBUILD_DIR
# DEB_ADT_SUMMARY (possibly unset)
# DEB_PG_SUPPORTED_VERSIONS (required)
-# PACKAGE (required)
+# DEB_PACKAGE (required)
# Output:
# xml test results (or dummy result) in DEB_ADT_SUMMARY
# Requirements:
exit 1
fi
-case $PACKAGE in
+case $DEB_PACKAGE in
postgresql-multicorn) sudo apt-get install -y postgresql-plpython3-$DEB_PG_SUPPORTED_VERSIONS ;;
esac
# set DEB_PG_SUPPORTED_VERSIONS
: ${DEB_PG_SUPPORTED_VERSIONS:=pgdg}
-export DEB_PG_SUPPORTED_VERSIONS PACKAGE # needed by adt-sbuild
+: ${DEB_PACKAGE:=$PACKAGE}
+export DEB_PG_SUPPORTED_VERSIONS DEB_PACKAGE # needed by adt-sbuild
if [ "$DEB_PG_SUPPORTED_VERSIONS" != "pgdg" ]; then
# extra build dependencies