pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cbor2 py-cbor2: ...and Makefile



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f65918c384e
branches:  trunk
changeset: 386422:8f65918c384e
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 08 13:19:52 2022 +0000

description:
py-cbor2: ...and Makefile

diffstat:

 devel/py-cbor2/Makefile |  23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diffs (27 lines):

diff -r d32afbf75f25 -r 8f65918c384e devel/py-cbor2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cbor2/Makefile   Sat Oct 08 13:19:52 2022 +0000
@@ -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