View | Details | Raw Unified | Return to bug 257920 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/Makefile (+1 lines)
Lines 4896-4901 Link Here
4896
    SUBDIR += py-pycadf
4896
    SUBDIR += py-pycadf
4897
    SUBDIR += py-pycalendar
4897
    SUBDIR += py-pycalendar
4898
    SUBDIR += py-pycallgraph
4898
    SUBDIR += py-pycallgraph
4899
    SUBDIR += py-pycapnp
4899
    SUBDIR += py-pycapsicum
4900
    SUBDIR += py-pycapsicum
4900
    SUBDIR += py-pycerberus
4901
    SUBDIR += py-pycerberus
4901
    SUBDIR += py-pycmd
4902
    SUBDIR += py-pycmd
(-)b/devel/py-pycapnp/Makefile (+24 lines)
Added Link Here
1
PORTNAME=	pycapnp
2
PORTVERSION=	1.1.0
3
DISTVERSIONPREFIX=	v
4
CATEGORIES=	devel python
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	sobomax@FreeBSD.org
8
COMMENT=	Cython wrapping of the C++ Cap'n Proto library
9
10
LICENSE=	BSD2CLAUSE
11
12
BUILD_DEPENDS=	cmake:devel/cmake \
13
		${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${PY_FLAVOR} \
14
		${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}
15
LIB_DEPENDS=	libcapnp.so:devel/capnproto
16
17
USES=		python:3.7+ compiler:c++14-lang
18
USE_GITHUB=	yes
19
USE_PYTHON=	autoplist distutils concurrent
20
PYDISTUTILS_BUILDARG=	--force-system-libcapnp
21
22
GH_ACCOUNT=	capnproto
23
24
.include <bsd.port.mk>
(-)b/devel/py-pycapnp/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1629252062
2
SHA256 (capnproto-pycapnp-v1.1.0_GH0.tar.gz) = d0a1499b1effb7b7f1ccdee0df13ae117218976ee2778bffc3b4de6dde95494e
3
SIZE (capnproto-pycapnp-v1.1.0_GH0.tar.gz) = 122066
(-)b/devel/py-pycapnp/pkg-descr (+17 lines)
Added Link Here
1
This is a python wrapping of the C++ implementation of the Cap'n Proto
2
library. Here is a short description, quoted from its docs:
3
4
  Cap'n Proto is an insanely fast data interchange form and capability-based
5
  RPC system. Think JSON, except binary. Or think Protocol Buffers, except
6
  faster. In fact, in benchmarks, Cap'n Proto is INFINITY TIMES faster than
7
  Protocol Buffers.
8
9
Since the python library is just a thin wrapping of the C++ library, it
10
inherits a lot of what makes Cap'n Proto fast. In some simplistic benchmks
11
(available in the benchmark directory of the repo), pycapnp has proven to be
12
decently faster than Protocol Buffers (both pure python and C++
13
implementations). Also, the python capnp library can load Cap'n Proto schema
14
files directly, without the need for a seperate compile step like with Protocol
15
Buffers or Thrift. pycapnp is available on github and pypi.
16
17
WWW: http://capnproto.github.io/pycapnp/

Return to bug 257920