From e03730f576eded24247a78ed0a70abf82ca4eca5 Mon Sep 17 00:00:00 2001 From: Kai Stian Olstad Date: Mon, 1 Aug 2022 16:41:42 +0200 Subject: [PATCH] New package: python3-xcffib-0.11.1 --- srcpkgs/python3-xcffib/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-xcffib/template diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template new file mode 100644 index 00000000000..afbd9e24981 --- /dev/null +++ b/srcpkgs/python3-xcffib/template @@ -0,0 +1,21 @@ +# Template file for 'python3-xcffib' +pkgname=python3-xcffib +version=0.11.1 +revision=1 +wrksrc=xcffib-${version} +build_style=python3-pep517 +hostmakedepends="python3-setuptools pkg-config cabal-install parallel xcb-proto python3-cffi python3-wheel" +makedepends="python3-devel libffi-devel libxcb-devel python3-six" +depends="python3-six python3-cffi libxcb" +short_desc="Drop-in replacement for xpyb based on cffi" +maintainer="Kai Stian Olstad " +license="Apache-2.0" +homepage="https://github.com/tych0/xcffib" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=bd89c1e65cf4773fe10d70209ba069e0e1fe82c37c121501fc404aa9867d0ff3 +nocross="Cannot yet cross compile with Haskell" + +pre_build() { + cabal v2-update + PKG_CONFIG_PATH=/usr/lib/pkgconfig make ${makejobs} xcffib +}