# $NetBSD: Makefile,v 1.2 2023/10/28 19:57:01 wiz Exp $ DISTNAME= hatch_jupyter_builder-0.8.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/g} PKGREVISION= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=h/hatch-jupyter-builder/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/jupyterlab/hatch-jupyter-builder COMMENT= Hatch plugin to help build Jupyter packages LICENSE= modified-bsd DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.5:../../devel/py-hatchling TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} hatch-jupyter-builder hatch-jupyter-builder-${PYVERSSUFFIX} || ${TRUE} do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk"