Index: x11/py-xcffib/Makefile =================================================================== --- /dev/null +++ x11/py-xcffib/Makefile @@ -0,0 +1,25 @@ +# Created by: Eric Turgeon +# $FreeBSD$ + +PORTNAME= xcffib +PORTVERSION= 0.6.0 +CATEGORIES= x11 python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ericbsd@FreeBSD.org +COMMENT= Xcffib is a replacement for xpyb, also is a XCB python binding + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libxcb.so:x11/libxcb +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include Index: x11/py-xcffib/distinfo =================================================================== --- /dev/null +++ x11/py-xcffib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1539873693 +SHA256 (xcffib-0.6.0.tar.gz) = 36142cb72535933e8e1ed39ff2c45559fa7038823bd6be6961ef8ee5bb0f6912 +SIZE (xcffib-0.6.0.tar.gz) = 84360 Index: x11/py-xcffib/pkg-descr =================================================================== --- /dev/null +++ x11/py-xcffib/pkg-descr @@ -0,0 +1,7 @@ +xcffib is intended to be a (mostly) drop-in replacement for xpyb. xpyb has +an inactive upstream, several memory leaks, is python2 only and doesn't have +pypy support. xcffib is a binding which uses cffi, which mitigates some of +the issues described above. xcffib also builds bindings for 27 of the 29 +(xprint and xkb are missing) X extensions in 1.10. + +WWW: https://github.com/tych0/xcffib