Date: Tue, 8 May 2018 19:35:03 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469391 - in head/devel: . py-cbor Message-ID: <201805081935.w48JZ3qO007428@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue May 8 19:35:03 2018 New Revision: 469391 URL: https://svnweb.freebsd.org/changeset/ports/469391 Log: Add py-cbor 1.0.0 An implementation of RFC 7049 - Concise Binary Object Representation (CBOR). CBOR is comparable to JSON, has a superset of JSON's ability, but serializes to a binary format which is smaller and faster to generate and parse. The two primary functions are cbor.loads() and cbor.dumps(). This library includes a C implementation which runs 3-5 times faster than the Python standard library's C-accelerated implementanion of JSON. This is also includes a 100% Python implementation. WWW: https://pypi.org/project/cbor/ WWW: https://bitbucket.org/bodhisnarkva/cbor Added: head/devel/py-cbor/ head/devel/py-cbor/Makefile (contents, props changed) head/devel/py-cbor/distinfo (contents, props changed) head/devel/py-cbor/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue May 8 19:14:50 2018 (r469390) +++ head/devel/Makefile Tue May 8 19:35:03 2018 (r469391) @@ -4357,6 +4357,7 @@ SUBDIR += py-canonicaljson SUBDIR += py-capstone SUBDIR += py-castellan + SUBDIR += py-cbor SUBDIR += py-cclib SUBDIR += py-cdg SUBDIR += py-celery Added: head/devel/py-cbor/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-cbor/Makefile Tue May 8 19:35:03 2018 (r469391) @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= cbor +PORTVERSION= 1.0.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= RFC 7049 - Concise Binary Object Representation + +LICENSE= APACHE20 + +USE_PYTHON= autoplist concurrent distutils +USES= python + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cbor/_cbor.so + +.include <bsd.port.mk> Added: head/devel/py-cbor/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-cbor/distinfo Tue May 8 19:35:03 2018 (r469391) @@ -0,0 +1,3 @@ +TIMESTAMP = 1523535472 +SHA256 (cbor-1.0.0.tar.gz) = 13225a262ddf5615cbd9fd55a76a0d53069d18b07d2e9f19c39e6acb8609bbb6 +SIZE (cbor-1.0.0.tar.gz) = 20096 Added: head/devel/py-cbor/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-cbor/pkg-descr Tue May 8 19:35:03 2018 (r469391) @@ -0,0 +1,13 @@ +An implementation of RFC 7049 - Concise Binary Object Representation (CBOR). + +CBOR is comparable to JSON, has a superset of JSON's ability, but serializes to +a binary format which is smaller and faster to generate and parse. + +The two primary functions are cbor.loads() and cbor.dumps(). + +This library includes a C implementation which runs 3-5 times faster than the +Python standard library's C-accelerated implementanion of JSON. This is also +includes a 100% Python implementation. + +WWW: https://pypi.org/project/cbor/ +WWW: https://bitbucket.org/bodhisnarkva/cbor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805081935.w48JZ3qO007428>