| @@ -1,32 +1,27 @@ | | | @@ -1,32 +1,27 @@ |
1 | # $NetBSD: Makefile,v 1.4 2023/10/28 19:57:24 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2024/02/19 09:26:58 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= notebook_shim-0.2.3 | | 3 | DISTNAME= notebook_shim-0.2.4 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | PKGREVISION= 1 | | | |
6 | CATEGORIES= www python | | 5 | CATEGORIES= www python |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=n/notebook-shim/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=n/notebook-shim/} |
8 | | | 7 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://github.com/jupyter/notebook_shim | | 9 | HOMEPAGE= https://github.com/jupyter/notebook_shim |
11 | COMMENT= For switching to Jupyter Server | | 10 | COMMENT= For switching to Jupyter Server |
12 | LICENSE= modified-bsd | | 11 | LICENSE= modified-bsd |
13 | | | 12 | |
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.0:../../devel/py-hatchling | | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.0:../../devel/py-hatchling |
15 | DEPENDS+= ${PYPKGPREFIX}-jupyter_server>=1.8:../../www/py-jupyter_server | | 14 | DEPENDS+= ${PYPKGPREFIX}-jupyter_server>=1.8:../../www/py-jupyter_server |
16 | # TODO: import py-test-tornasync | | 15 | # TODO: import py-test-tornasync |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | | | |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-console-scripts-[0-9]*:../../devel/py-test-console-scripts | | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-console-scripts-[0-9]*:../../devel/py-test-console-scripts |
19 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-jupyter-[0-9]*:../../www/py-test-jupyter | | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-jupyter-[0-9]*:../../www/py-test-jupyter |
20 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout | | 18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout |
21 | | | 19 | |
22 | USE_LANGUAGES= # none | | 20 | USE_LANGUAGES= # none |
23 | | | 21 | |
24 | PYTHON_SELF_CONFLICT= yes | | 22 | PYTHON_SELF_CONFLICT= yes |
25 | | | 23 | |
26 | PYTHON_VERSIONS_INCOMPATIBLE= 27 38 | | 24 | PYTHON_VERSIONS_INCOMPATIBLE= 27 38 |
27 | | | 25 | |
28 | do-test: | | | |
29 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | | | |
30 | | | | |
31 | .include "../../lang/python/wheel.mk" | | 26 | .include "../../lang/python/wheel.mk" |
32 | .include "../../mk/bsd.pkg.mk" | | 27 | .include "../../mk/bsd.pkg.mk" |