svn commit: r476240 - in head/devel: . py-cbor2
Dan Langille
dvl at FreeBSD.org
Thu Aug 2 15:26:04 UTC 2018
Author: dvl
Date: Thu Aug 2 15:26:02 2018
New Revision: 476240
URL: https://svnweb.freebsd.org/changeset/ports/476240
Log:
Add devel/py-cbor2
Pure Python CBOR (de)serializer with extensive tag support
Added:
head/devel/py-cbor2/
head/devel/py-cbor2/Makefile (contents, props changed)
head/devel/py-cbor2/distinfo (contents, props changed)
head/devel/py-cbor2/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Thu Aug 2 15:22:58 2018 (r476239)
+++ head/devel/Makefile Thu Aug 2 15:26:02 2018 (r476240)
@@ -4410,6 +4410,7 @@
SUBDIR += py-capstone
SUBDIR += py-castellan
SUBDIR += py-cbor
+ SUBDIR += py-cbor2
SUBDIR += py-cclib
SUBDIR += py-cdg
SUBDIR += py-celery
Added: head/devel/py-cbor2/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-cbor2/Makefile Thu Aug 2 15:26:02 2018 (r476240)
@@ -0,0 +1,23 @@
+# Created by: Dan Langille <dvl at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= cbor2
+PORTVERSION= 4.1.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dvl at FreeBSD.org
+COMMENT= Pure Python CBOR (de)serializer with extensive tag support
+
+LICENSE= MIT
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm
+
+#post-install:
+# ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cbor/_cbor.so
+
+.include <bsd.port.mk>
Added: head/devel/py-cbor2/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-cbor2/distinfo Thu Aug 2 15:26:02 2018 (r476240)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1533221101
+SHA256 (cbor2-4.1.0.tar.gz) = a48a1a8fa6bc51b271db63c9605de31f957396793c21332972697efd7800372c
+SIZE (cbor2-4.1.0.tar.gz) = 23109
Added: head/devel/py-cbor2/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-cbor2/pkg-descr Thu Aug 2 15:26:02 2018 (r476240)
@@ -0,0 +1,11 @@
+This library provides encoding and decoding for the Concise Binary Object
+Representation (CBOR) (RFC 7049) serialization format.
+
+There exists another Python CBOR implementation (cbor) which is faster on
+CPython due to its C extensions. On PyPy, cbor2 and cbor are almost identical
+in performance. The other implementation also lacks documentation and a
+comprehensive test suite, does not support most standard extension tags and is
+known to crash (segfault) when passed a cyclic structure (say, a list
+containing itself).
+
+WWW: https://pypi.org/project/cbor2/
More information about the svn-ports-head
mailing list