On 2023/09/11 00:59, Daniel Dickman wrote: > Index: Makefile > =================================================================== > RCS file: /cvs/ports/devel/py-ipykernel/Makefile,v > retrieving revision 1.16 > diff -u -p -u -r1.16 Makefile > --- Makefile 13 Nov 2022 15:28:15 -0000 1.16 > +++ Makefile 11 Sep 2023 04:55:26 -0000 > @@ -1,24 +1,27 @@ > COMMENT = IPython kernel for Jupyter > > -MODPY_EGG_VERSION = 4.10.0 > +MODPY_EGG_VERSION = 5.1.3 > DISTNAME = ipykernel-${MODPY_EGG_VERSION} > PKGNAME = py-${DISTNAME} > -REVISION = 5 > > -PORTROACH= limit:^4 > +PORTROACH= limit:^5 > > CATEGORIES = devel > > HOMEPAGE = https://ipython.org/ > > -RUN_DEPENDS += devel/py-jupyter_client${MODPY_FLAVOR} \ > +BUILD_DEPENDS = devel/ipython${MODPY_FLAVOR} \ > + devel/py-jupyter_core${MODPY_FLAVOR}>=4.2 \ > + devel/py-jupyter_client${MODPY_FLAVOR} > + > +RUN_DEPENDS = devel/py-jupyter_client${MODPY_FLAVOR} \ > devel/py-traitlets${MODPY_FLAVOR}>=4.1.0 \ > - www/py-tornado${MODPY_FLAVOR}>=4.0 \ > - devel/ipython${MODPY_FLAVOR}>=4.0.0 > + www/py-tornado${MODPY_FLAVOR}>=4.2 \ > + devel/ipython${MODPY_FLAVOR}>=5.0.0 > > TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR} \ > devel/py-nose-warnings-filters${MODPY_FLAVOR} \ > - devel/py-test${MODPY_FLAVOR} \ > + devel/py-flaky${MODPY_FLAVOR} \ > devel/py-test-cov${MODPY_FLAVOR} \ > graphics/py-matplotlib${MODPY_FLAVOR} \ > math/py-numpy${MODPY_FLAVOR} > @@ -28,6 +31,8 @@ PERMIT_PACKAGE = Yes > > MODULES = lang/python > MODPY_PI = Yes > +MODPY_PYBUILD = setuptools > +MODPY_PYTEST = Yes
For py-ipykernel: MODPY_PYTEST is set to Yes by default when MODPY_PYBUILD is used, so no need to list it separately. I'd prefer to remove do-test and use the pytest runner instead if you don't mind; you'll need to set PORTHOME=${WRKDIR} or similar to avoid it writing to a nonexistent dir. otherwise both are OK with me.