Skip to content

Commit

Permalink
grass: update to 8.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Feb 24, 2025
1 parent 01fc31b commit 99011be
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions gis/grass/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,12 @@

PortSystem 1.0
PortGroup debug 1.0
PortGroup github 1.0

epoch 1

# Revert to https://grass.osgeo.org as master site with next point release

# name grass
github.setup osgeo grass 8.4.0
github.tarball_from releases
# version 8.4.0
revision 4
name grass
version 8.4.1
revision 0

maintainers {yahoo.com:n_larsson @nilason} openmaintainer
categories gis
Expand All @@ -32,12 +27,11 @@ long_description GRASS GIS offers powerful raster, vector, and geospatial \
to enable graphical user interface.

homepage https://grass.osgeo.org
# master_sites ${homepage}/grass[join [lrange [split ${version} .] 0 1] {}]/source/
worksrcdir grass
master_sites ${homepage}/grass[join [lrange [split ${version} .] 0 1] {}]/source/

checksums rmd160 f8f4a671ad8b97a562a19c635b2577597decbebf \
sha256 5669a217ba4cee3e7a514b2e45038a42795f0d9030c02cc741878dcb53360de8 \
size 69895829
checksums rmd160 8892e0067af6143986c2ad87ab55fa45e1247ed5 \
sha256 d17dcf67e7c9bcd7103d53f4ba46a9d88430d84c6ce1350650b7021d62db0864 \
size 69956380

depends_build-append \
port:bison \
Expand Down Expand Up @@ -108,7 +102,9 @@ configure.args-append \
--with-zstd-libs=${prefix}/lib \
--with-x=no

set python_suffixes {39 310 311 312}
set python_suffixes {39 310 311 312 313}
# keep python_default in sync with qgis3
set python_default 312

if {${subport} eq ${name}} {
build.target default
Expand Down Expand Up @@ -244,7 +240,7 @@ if {${subport} eq ${name}} {
set pydefault "${pydefault}!\[variant_isset python${suffix}\] && "
}
set pydefault [string range ${pydefault} 0 end-4]
set pydefault "${pydefault}} { default_variants +python${suffix} }"
set pydefault "${pydefault}} { default_variants +python${python_default} }"
eval ${pydefault}

post-configure {
Expand Down Expand Up @@ -283,8 +279,7 @@ subport grass-gui {
build {}

# Python variants
# for the time being, missing `py312-wxpython-4.0`, skip Python 3.12
set python_suffixes {39 310 311}
set python_suffixes {39 310 311 312 313}
set py_grass [lindex $python_suffixes end]
set py_variant ${py_grass}
foreach pyver ${python_suffixes} {
Expand Down Expand Up @@ -322,7 +317,7 @@ version of 'grass'. Change +python${py_variant} to +python${py_grass}."
set pydefault "${pydefault}!\[variant_isset python${suffix}\] && "
}
set pydefault [string range ${pydefault} 0 end-4]
set pydefault "${pydefault}} { default_variants +python${suffix} }"
set pydefault "${pydefault}} { default_variants +python${python_default} }"
eval ${pydefault}

# Create app bundle
Expand Down

0 comments on commit 99011be

Please sign in to comment.