# $NetBSD: Makefile,v 1.2 2023/10/28 19:57:21 wiz Exp $ DISTNAME= pytz_deprecation_shim-0.1.0.post0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/post//} PKGREVISION= 1 CATEGORIES= time python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytz_deprecation_shim/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/pganssle/pytz-deprecation-shim COMMENT= Shims to make deprecation of pytz easier LICENSE= apache-2.0 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 # needs 'make install' do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk"