GNU bug report logs - #71279
[PATCH 1/3] gnu: grass: Improve package style.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Thu, 30 May 2024 18:10:01 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 71279 <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: 71279 <at> debbugs.gnu.org
Cc: andreas <at> enge.fr, Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH v2 3/4] gnu: grass: Improve package style.
Date: Mon, 31 Mar 2025 01:49:45 +0000
* gnu/packages/geo.scm (grass): Move arguments below build-system,
native-inputs below arguments, inputs below native-inputs.

Change-Id: Ica7a2c7a32913acfd8818ec04fcea5cb5bf95c6c
---
 gnu/packages/geo.scm | 70 ++++++++++++++++++++++----------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index afe97704a0..697ebb7471 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3227,41 +3227,6 @@ (define-public grass
          (sha256
           (base32 "0r08vdi1s0mpa033bqbc9kc3116qm53bmx2k7l8dgg69wxkwyzfi"))))
       (build-system gnu-build-system)
-      (inputs
-       (list bash-minimal
-             bzip2
-             cairo
-             fftw
-             freetype
-             gdal
-             geos
-             glu
-             libpng
-             libtiff
-             libxml2 ;marked as required by pdal
-             mesa
-             `(,mariadb "dev")
-             `(,mariadb "lib")
-             netcdf
-             openblas
-             pdal
-             perl
-             postgresql
-             proj
-             python
-             python-dateutil
-             python-numpy
-             python-wxpython
-             readline
-             sqlite
-             wxwidgets
-             zlib
-             `(,zstd "lib")))
-      (native-inputs
-       (list bash-minimal
-             bison
-             flex
-             pkg-config))
       (arguments
        (list
         #:tests? #f                    ; No tests
@@ -3328,6 +3293,41 @@ (define-public grass
               (lambda _
                   (wrap-program (string-append #$output "/bin/grass")
                     `("GRASS_PYTHON" = (,(which "python3")))))))))
+      (native-inputs
+       (list bash-minimal
+             bison
+             flex
+             pkg-config))
+      (inputs
+       (list bash-minimal
+             bzip2
+             cairo
+             fftw
+             freetype
+             gdal
+             geos
+             glu
+             libpng
+             libtiff
+             libxml2 ;marked as required by pdal
+             mesa
+             `(,mariadb "dev")
+             `(,mariadb "lib")
+             netcdf
+             openblas
+             pdal
+             perl
+             postgresql
+             proj
+             python
+             python-dateutil
+             python-numpy
+             python-wxpython
+             readline
+             sqlite
+             wxwidgets
+             zlib
+             `(,zstd "lib")))
       (synopsis "GRASS Geographic Information System")
       (description
        "GRASS (Geographic Resources Analysis Support System), is a Geographic
-- 
2.49.0





This bug report was last modified 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.