pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-cbor2



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Oct  8 13:19:52 UTC 2022

Added Files:
        pkgsrc/devel/py-cbor2: Makefile

Log Message:
py-cbor2: ...and Makefile


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-cbor2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-cbor2/Makefile
diff -u /dev/null pkgsrc/devel/py-cbor2/Makefile:1.1
--- /dev/null   Sat Oct  8 13:19:52 2022
+++ pkgsrc/devel/py-cbor2/Makefile      Sat Oct  8 13:19:52 2022
@@ -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@localhost
+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"



Home | Main Index | Thread Index | Old Index