Skip to content

Commit

Permalink
qgis3: fix python patch
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Feb 6, 2025
1 parent d8442d0 commit 0c0707f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gis/qgis3/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if {${subport} eq ${name}} {
# Latest version
github.setup qgis QGIS 3_40_3 final-
github.tarball_from archive
revision 0
revision 1
set app_name QGIS3

checksums rmd160 63458d5e7cffca50e3ff71f31ad85f05e551a3f0 \
Expand Down Expand Up @@ -313,7 +313,11 @@ foreach pyver ${python_suffixes} {
\"retile\" \
\"rgb2pct\" \
\"sieve\" } {
reinplace -E \"s|else '.py'|else '.py-${pyversion}'|\" \${gdal_py_prefix}/\${file}.py
if {\"${subport}\" eq \"${name-ltr}\"} {
reinplace -E \"s|else '.py'|else '.py-${pyversion}'|\" \${gdal_py_prefix}/\${file}.py
} else {
reinplace -E \"s|else \\\".py\\\"|else '.py-${pyversion}'|\" \${gdal_py_prefix}/\${file}.py
}
}
}
"
Expand Down

0 comments on commit 0c0707f

Please sign in to comment.