From 32812da4c9c54fc1e84563b042af233fbd3fccd7 Mon Sep 17 00:00:00 2001 From: Mohammad Amin Sameti Date: Sat, 21 Sep 2019 22:26:50 +0430 Subject: [PATCH] New package: python-xcffib-0.8.1 --- srcpkgs/python-xcffib/template | 21 +++++++++++++++++++++ srcpkgs/python3-xcffib | 1 + 2 files changed, 22 insertions(+) create mode 100644 srcpkgs/python-xcffib/template create mode 120000 srcpkgs/python3-xcffib diff --git a/srcpkgs/python-xcffib/template b/srcpkgs/python-xcffib/template new file mode 100644 index 00000000000..d62aa7b2ec2 --- /dev/null +++ b/srcpkgs/python-xcffib/template @@ -0,0 +1,21 @@ +# Template file for 'python-xcffib' +pkgname=python-xcffib +version=0.8.1 +revision=1 +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +pycompile_module="${pkgname#*-}" +hostmakedepends="python-setuptools python3-setuptools pkg-config cabal-install xcb-proto" +makedepends="python-devel python3-devel libffi-devel python-cffi python3-cffi" +depends="python-six python-cffi" +short_desc="Drop-in replacement for xpyb based on cffi" +maintainer="Mohammad Amin Sameti " +license="Apache-2.0" +homepage="https://github.com/tych0/xcffib" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=879d9bc360e63e62a8f9b80299127ecbdb7de90271ebfe6a532fbb894efab59a + +pre_build() { + cabal v2-update + make xcffib +} diff --git a/srcpkgs/python3-xcffib b/srcpkgs/python3-xcffib new file mode 120000 index 00000000000..b1fa663905f --- /dev/null +++ b/srcpkgs/python3-xcffib @@ -0,0 +1 @@ +python-xcffib \ No newline at end of file