summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-10-08 13:19:52 +0000
committeradam <adam@pkgsrc.org>2022-10-08 13:19:52 +0000
commit7fe7a172509516688c2b5884ec3cde409cd098b3 (patch)
treeaf6a50f6f023bba5ef2435a6664e06501931b865 /devel
parentae29aef904090851b053d2e05341fb5322774ab6 (diff)
downloadpkgsrc-7fe7a172509516688c2b5884ec3cde409cd098b3.tar.gz
py-cbor2: ...and Makefile
Diffstat (limited to 'devel')
-rw-r--r--devel/py-cbor2/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/py-cbor2/Makefile b/devel/py-cbor2/Makefile
new file mode 100644
index 00000000000..9547499bdab
--- /dev/null
+++ b/devel/py-cbor2/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2022/10/08 13:19:52 adam Exp $
+
+DISTNAME= cbor2-5.4.3
+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"