[Git][debian-gis-team/gdal-grass][master] 2 commits: Revert "Add needs-root restriction."

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Nov 2 07:45:49 GMT 2022



Bas Couwenberg pushed to branch master at Debian GIS Project / gdal-grass


Commits:
550b31d9 by Bas Couwenberg at 2022-11-02T08:20:57+01:00
Revert "Add needs-root restriction."

This reverts commit 04e33f8ea99b7a26bf0624013365bc2535951ce5.

- - - - -
2f622e55 by Bas Couwenberg at 2022-11-02T08:44:56+01:00
Don't use `grass --config path` to set GISPATH.

/usr/bin/grass requires python3-six which is only installed via Recommends.

- - - - -


2 changed files:

- debian/tests/control
- debian/tests/ogrinfo


Changes:

=====================================
debian/tests/control
=====================================
@@ -3,5 +3,4 @@ Depends: ca-certificates,
          gdal-bin,
          libgdal-grass,
          wget
-Restrictions: needs-internet,
-              needs-root
+Restrictions: needs-internet


=====================================
debian/tests/ogrinfo
=====================================
@@ -10,7 +10,7 @@ cd "${TEMPDIR}" || exit 1
 wget -q "${DATASET_URL}" -O "${DATASET_FILE}"
 tar xaf "${DATASET_FILE}"
 
-GISBASE="$(LC_ALL=C.UTF-8 grass --config path 2> /dev/null)" \
+GISBASE="$(ls -d /usr/lib/grass??)" \
 PROJ_NETWORK=ON \
 ogrinfo -so -al ./spearfish*/PERMANENT/vector/roads/head
 RC=$?



View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/-/compare/04e33f8ea99b7a26bf0624013365bc2535951ce5...2f622e5520c10bc0a0e52f9210b8c2575432642e

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/-/compare/04e33f8ea99b7a26bf0624013365bc2535951ce5...2f622e5520c10bc0a0e52f9210b8c2575432642e
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/20221102/46ad3dc4/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list