From 72d31b7eae269aa0f964b5f4cea0be01373e972c Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Sun, 2 Dec 2018 10:18:28 +0100 Subject: [PATCH] New package: python-libtmux-0.8.0 --- srcpkgs/python-libtmux/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-libtmux | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-libtmux/template create mode 120000 srcpkgs/python3-libtmux diff --git a/srcpkgs/python-libtmux/template b/srcpkgs/python-libtmux/template new file mode 100644 index 00000000000..7a8bbe69a43 --- /dev/null +++ b/srcpkgs/python-libtmux/template @@ -0,0 +1,31 @@ +# Template file for 'python-libtmux' +pkgname=python-libtmux +version=0.8.0 +revision=1 +noarch=yes +wrksrc="libtmux-${version}" +build_style=python-module +pycompile_module="libtmux" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Python binding for tmux" +maintainer="Alexander Egorenkov " +license="MIT" +homepage="https://github.com/tmux-python/libtmux" +distfiles="${PYPI_SITE}/l/libtmux/libtmux-${version}.tar.gz" +checksum=2b969b507c26d9db08b85be4808d75774b6418ecf5a0f61956f7a1da44519585 + +post_install() { + vlicense LICENSE +} + +python3-libtmux_package() { + noarch=yes + pycompile_module="libtmux" + depends="python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-libtmux b/srcpkgs/python3-libtmux new file mode 120000 index 00000000000..f02be05dcc2 --- /dev/null +++ b/srcpkgs/python3-libtmux @@ -0,0 +1 @@ +python-libtmux \ No newline at end of file