From 0bfd5985c8ddb44a189d77703a5b189f37551997 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 | 26 ++++++++++++++++++++++++++ srcpkgs/python3-xcffib | 1 + 2 files changed, 27 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..3b812399cfa --- /dev/null +++ b/srcpkgs/python-xcffib/template @@ -0,0 +1,26 @@ +# 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 libffi-devel python-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 +} + +python3-xcffib_package() { + makedepends="python3-devel libffi-devel python3-cffi" + depends="python3-six python3-cffi" +} 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