# $NetBSD: Makefile,v 1.2 2022/11/28 18:08:10 adam Exp $ DISTNAME= cbor2-5.4.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=c/cbor2/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://cbor2.readthedocs.org/ COMMENT= CBOR (de)serializer with extensive tag support LICENSE= mit BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.7.0:../../devel/py-setuptools_scm TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov PYTHON_VERSIONS_INCOMPATIBLE= 27 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"