# $NetBSD: Makefile,v 1.5 2023/10/29 17:49:58 adam Exp $ DISTNAME= shellingham-1.5.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/post//} CATEGORIES= misc python MASTER_SITES= ${MASTER_SITE_PYPI:=s/shellingham/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/sarugaku/shellingham COMMENT= Tool to detect surrounding shell LICENSE= isc TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.0:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 # needs 'make install' do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk"