Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: stop mentioning python 2 in python-module(5)
To:
Daniel Dickman <didickman@gmail.com>
Cc:
ports@openbsd.org
Date:
Tue, 19 Aug 2025 11:10:38 +0100

Download raw body.

Thread
On 2025/08/16 13:04, Daniel Dickman wrote:
> Cleanup some older references to Python 2 from python-module(5).
> 
> ok?

There is a question of whether this should document what's actually
there, or how we want things to be..

Hmm. What do you think of moving py2 support to a separate python2
module and simplifying python.port.mk now that we no longer have
multi-version Python ports?

> Index: python-module.5
> ===================================================================
> RCS file: /cvs/src/share/man/man5/python-module.5,v
> diff -u -p -u -r1.18 python-module.5
> --- python-module.5	16 Aug 2025 16:43:06 -0000	1.18
> +++ python-module.5	16 Aug 2025 17:02:58 -0000
> @@ -37,12 +37,7 @@ in the
>  .Xr ports 7
>  tree.
>  .Pp
> -By default, the module builds ports using Python 3.
> -For legacy ports using Python 2,
> -.Ev MODPY_VERSION
> -may be set manually to ${MODPY_DEFAULT_VERSION_2}.
> -.Pp
> -The module then sets
> +The module sets
>  .Ev MODPY_BIN ,
>  .Ev MODPY_INCDIR ,
>  .Ev MODPY_LIBDIR ,
> @@ -135,7 +130,7 @@ Some checks are done to warn during "mak
>  .Ev MODPY_PYBUILD
>  appears to be set incorrectly.
>  .Pp
> -Python 2 and some older Python 3 ports using setuptools still set
> +Some older ports using setuptools still set
>  .Ev MODPY_SETUPTOOLS
>  to Yes, which appends to
>  .Ev MODPY_BUILD_DEPENDS
> 

btw, here are the last of the py3 MODPY_SETUPTOOLS users needing moving
to MODPY_PYBUILD at some point. if anyone fancies helping out, that
would be nice...

databases/py-bsddb3 (broken anyway but kopano-core pulls it in)
devel/kf5/kapidox
devel/py-lief
devel/spyder
education/anki (stuck on older version due to fiddly rust integration; might not work properly any more anyway)
games/unknown-horizons
geo/gdal
geo/mapserver
graphics/mypaint
math/py-bottleneck
misc/freeopcua/py-opcua
misc/freeopcua/opcua-client-gui
misc/freeopcua/py-opcua-widgets
print/system-config-printer
security/libpwquality
security/oletools
sysutils/py-vsphere-automation
textproc/calibre
textproc/libmarisa
x11/mate/menu-advanced
x11/nagstamon