--- b/devel/Makefile +++ b/devel/Makefile @@ -4896,6 +4896,7 @@ SUBDIR += py-pycadf SUBDIR += py-pycalendar SUBDIR += py-pycallgraph + SUBDIR += py-pycapnp SUBDIR += py-pycapsicum SUBDIR += py-pycerberus SUBDIR += py-pycmd --- /dev/null +++ b/devel/py-pycapnp/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pycapnp +PORTVERSION= 1.1.0 +DISTVERSIONPREFIX= v +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sobomax@FreeBSD.org +COMMENT= Python bindings of the Cap'n Proto library + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS= cmake:devel/cmake \ + ${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR} +LIB_DEPENDS= libcapnp.so:devel/capnproto + +USES= python:3.7+ +USE_GITHUB= yes +USE_PYTHON= autoplist distutils + +GH_ACCOUNT= capnproto + +.include --- /dev/null +++ b/devel/py-pycapnp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1629252062 +SHA256 (capnproto-pycapnp-v1.1.0_GH0.tar.gz) = d0a1499b1effb7b7f1ccdee0df13ae117218976ee2778bffc3b4de6dde95494e +SIZE (capnproto-pycapnp-v1.1.0_GH0.tar.gz) = 122066 --- /dev/null +++ b/devel/py-pycapnp/pkg-descr @@ -0,0 +1,17 @@ +This is a python wrapping of the C++ implementation of the Cap'n Proto +library. Here is a short description, quoted from its docs: + + Cap'n Proto is an insanely fast data interchange form and capability-based + RPC system. Think JSON, except binary. Or think Protocol Buffers, except + faster. In fact, in benchmarks, Cap'n Proto is INFINITY TIMES faster than + Protocol Buffers. + +Since the python library is just a thin wrapping of the C++ library, it +inherits a lot of what makes Cap'n Proto fast. In some simplistic benchmks +(available in the benchmark directory of the repo), pycapnp has proven to be +decently faster than Protocol Buffers (both pure python and C++ +implementations). Also, the python capnp library can load Cap'n Proto schema +files directly, without the need for a seperate compile step like with Protocol +Buffers or Thrift. pycapnp is available on github and pypi. + +WWW: http://capnproto.github.io/pycapnp/ --- b/emulators/virtualbox-ose/Makefile +++ b/emulators/virtualbox-ose/Makefile @@ -213,7 +213,7 @@ KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} # llvm10 in FreeBSD before r364284 miscompiles virtualbox 6.1 causing errors. # force llvm11 from ports .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300109 -BUILD_DEPENDS+= clang11:devel/llvm${VBOX_LLVM_VER} +BUILD_DEPENDS+= clang${VBOX_LLVM_VER}:devel/llvm${VBOX_LLVM_VER} CC= ${LOCALBASE}/bin/clang${VBOX_LLVM_VER} CXX= ${LOCALBASE}/bin/clang++${VBOX_LLVM_VER} VBOX_LLVM_VER?= 11