[Git][debian-gis-team/pgrouting][master] 2 commits: Also depend on postgresql-PGVERSION-postgis-scripts, the postgis extension is...

Christoph Berg gitlab at salsa.debian.org
Wed Jun 5 12:37:01 BST 2019



Christoph Berg pushed to branch master at Debian GIS Project / pgrouting


Commits:
7ee6a4a9 by Christoph Berg at 2019-06-05T11:34:57Z
Also depend on postgresql-PGVERSION-postgis-scripts, the postgis extension is needed to create the pgrouting extension.

- - - - -
c47ad40c by Christoph Berg at 2019-06-05T11:36:32Z
Tests: create the extension.

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/control.in
- + debian/tests/control
- + debian/tests/create-extension


Changes:

=====================================
debian/changelog
=====================================
@@ -1,7 +1,13 @@
 pgrouting (2.6.2-2) UNRELEASED; urgency=medium
 
+  [ Bas Couwenberg ]
   * Bump Standards-Version to 4.3.0, no changes.
 
+  [ Christoph Berg ]
+  * Also depend on postgresql-PGVERSION-postgis-scripts, the postgis extension
+    is needed to create the pgrouting extension.
+  * Tests: create the extension.
+
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 25 Dec 2018 22:55:54 +0100
 
 pgrouting (2.6.2-1) unstable; urgency=medium


=====================================
debian/control
=====================================
@@ -23,6 +23,7 @@ Architecture: any
 Depends: postgresql-11-pgrouting-scripts (>= ${source:Version}),
          postgresql-11,
          postgresql-11-postgis,
+         postgresql-11-postgis-scripts,
          ${misc:Depends},
          ${shlibs:Depends}
 Suggests: postgresql-11-pgrouting-doc


=====================================
debian/control.in
=====================================
@@ -23,6 +23,7 @@ Architecture: any
 Depends: postgresql-PGVERSION-pgrouting-scripts (>= ${source:Version}),
          postgresql-PGVERSION,
          postgresql-PGVERSION-postgis,
+         postgresql-PGVERSION-postgis-scripts,
          ${misc:Depends},
          ${shlibs:Depends}
 Suggests: postgresql-PGVERSION-pgrouting-doc


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Depends: @, postgresql-server-dev-all
+Tests: create-extension
+Restrictions: allow-stderr


=====================================
debian/tests/create-extension
=====================================
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -eu
+
+for v in $(pg_buildext supported-versions); do
+	echo "### $v ###"
+	pg_virtualenv -v $v <<-EOF
+		set -eux
+		psql -c 'CREATE EXTENSION postgis'
+		psql -c 'CREATE EXTENSION pgrouting'
+	EOF
+done



View it on GitLab: https://salsa.debian.org/debian-gis-team/pgrouting/compare/e5815c870b3899b9bf45be0df1cc33f9063ecec8...c47ad40c1840bcd7cf58a30a02d4bb8bd257393e

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pgrouting/compare/e5815c870b3899b9bf45be0df1cc33f9063ecec8...c47ad40c1840bcd7cf58a30a02d4bb8bd257393e
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190605/eaa3d253/attachment-0001.html>


More information about the Pkg-grass-devel mailing list