From: Stuart Henderson Subject: Re: stop mentioning python 2 in python-module(5) To: Landry Breuil Cc: ports@openbsd.org Date: Tue, 19 Aug 2025 12:06:01 +0100 On 2025/08/19 12:29, Landry Breuil wrote: > > geo/gdal > > will look at this one shortly, sorry it fell off my radar. great, thank you! > > geo/mapserver > > diff below for this one, most of the gory details of running pip commands > from cmake are in > https://github.com/MapServer/MapServer/blob/branch-8-4/src/mapscript/python/CMakeLists.txt#L66. > afaict the pip plumbing is not used during build, but during fake, and .. it > could be improved wrt HOME ? ah, so it doesn't use the ports python build infrastructure at all and just runs pip - so we can just do this (I tested building without wheel; it will be using the bundled copy in pip in the venv anyway): Index: Makefile =================================================================== RCS file: /cvs/ports/geo/mapserver/Makefile,v diff -u -p -r1.102 Makefile --- Makefile 15 Jan 2025 18:36:55 -0000 1.102 +++ Makefile 19 Aug 2025 11:05:22 -0000 @@ -13,6 +13,7 @@ PKGNAME-utils= mapserver-utils-${V:S/-// PKGNAME-php= php-mapscript-${V:S/-//} PKGNAME-perl= p5-mapscript-${V:S/-//} PKGNAME-python= py3-mapscript-${V:S/-//} +REVISION= 0 SHARED_LIBS += mapserver 8.0 @@ -27,12 +28,11 @@ MAINTAINER= Landry Breuil