add port x11/py-xcffib

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.

Approved by:	wg (mentor)
This commit is contained in:
Eric Turgeon 2018-10-18 18:52:17 +00:00
parent 75a030f676
commit 452dedbc6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482351
4 changed files with 36 additions and 0 deletions

View File

@ -279,6 +279,7 @@
SUBDIR += py-pyvirtualdisplay
SUBDIR += py-qt4-opengl
SUBDIR += py-qt5-opengl
SUBDIR += py-xcffib
SUBDIR += py-xdot
SUBDIR += py-xdot06
SUBDIR += qimageblitz

25
x11/py-xcffib/Makefile Normal file
View File

@ -0,0 +1,25 @@
# Created by: Eric Turgeon <ericbsd@FreeBSD.org>
# $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
BUILD_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 <bsd.port.mk>

3
x11/py-xcffib/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1539873693
SHA256 (xcffib-0.6.0.tar.gz) = 36142cb72535933e8e1ed39ff2c45559fa7038823bd6be6961ef8ee5bb0f6912
SIZE (xcffib-0.6.0.tar.gz) = 84360

7
x11/py-xcffib/pkg-descr Normal file
View File

@ -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