On 2023/11/21 06:41, Daniel Dickman wrote:
> Spyder 5.5.0 needs something like 40 new ports.
>
> Here are the first 10 simpler ones.
>
> These are all standalone with no dependencies among themselves, except
> that exceptiongroup has a BDEP on flit_scm.
>
> The rest are all mostly dependencies needed to import other ports, or
> update the jupyter stack to what the new spyder version needs.
>
> ok to import these to start?
py-exceptiongroup should use MODPY_PYBUILD=flit_core not flit.
Alternatively we could add this to python.port.mk and set
MODPY_PYBUILD=flit_scm and use that instead.
Rest are all ok.
Index: python.port.mk
===================================================================
RCS file: /cvs/ports/lang/python/python.port.mk,v
retrieving revision 1.179
diff -u -p -r1.179 python.port.mk
--- python.port.mk 20 Sep 2023 13:41:38 -0000 1.179
+++ python.port.mk 21 Nov 2023 12:33:10 -0000
@@ -209,6 +209,8 @@ BUILD_DEPENDS += devel/py-build${MODPY_F
devel/py-installer${MODPY_FLAVOR}
. if ${MODPY_PYBUILD} == flit_core
BUILD_DEPENDS += devel/py-flit_core${MODPY_FLAVOR}
+. elif ${MODPY_PYBUILD} == flit_scm
+BUILD_DEPENDS += devel/py-flit_scm${MODPY_FLAVOR}
. elif ${MODPY_PYBUILD} == flit
BUILD_DEPENDS += devel/py-flit${MODPY_FLAVOR}
. elif ${MODPY_PYBUILD} == hatchling
@@ -224,7 +226,7 @@ BUILD_DEPENDS += devel/py-setuptools${MO
BUILD_DEPENDS += devel/py-setuptools_scm${MODPY_FLAVOR}
. endif
. elif !${MODPY_PYBUILD:L:Myes}
-ERRORS += "Fatal: unknown MODPY_PYBUILD value (flit_core, flit,
hatchling, hatch-vcs, poetry-core, setuptools, setuptools_scm)"
+ERRORS += "Fatal: unknown MODPY_PYBUILD value (flit_core,
flit_scm, flit, hatchling, hatch-vcs, poetry-core, setuptools, setuptools_scm)"
. endif
.else
# Try to detect the case where a port will build regardless of setuptools