Add pgbouncer tweak
authorBradford D. Boyle <bradford.d.boyle@gmail.com>
Tue, 4 Feb 2025 13:58:47 +0000 (14:58 +0100)
committerChristoph Berg <myon@debian.org>
Tue, 4 Feb 2025 13:58:47 +0000 (14:58 +0100)
jenkins/generate-pgdg-source

index 0e04215ba0505080d706e56aca418daa5cdadac8..4a318ac526b97ea381edec784cb9df33a5969eba 100755 (executable)
@@ -234,6 +234,21 @@ esac
 
 # tweaks for other packages
 case $PACKAGE in
+  pgbouncer)
+    case ${distribution:-} in
+      bookworm|bullseye|noble|jammy|focal)
+        sed -e '/python3-filelock/a \ python3-contextlib2,' debian/control
+        TWEAK+=("Add python3-contextlib2 build-dependency.")
+        ;;
+    esac
+    case ${distribution:-} in
+      bookworm|bullseye|jammy|focal)
+        sed -e '/tzdata-legacy/d' debian/control
+        TWEAK+=("Remove tzdata-legacy build-dependency.")
+        ;;
+    esac
+    ;;
+
   postgis)
     case ${distribution:-} in
       buster|stretch|focal|eoan|bionic|xenial)