From 72dd0708a4dcad8dc40d9ac9e7b8a9aa0f20ab97 Mon Sep 17 00:00:00 2001 From: pancake Date: Sun, 3 Jan 2016 00:18:41 +0100 Subject: [PATCH] New package: python-texttable-0.8.4 --- srcpkgs/python-texttable/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python3.4-texttable | 1 + 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/python-texttable/template create mode 120000 srcpkgs/python3.4-texttable diff --git a/srcpkgs/python-texttable/template b/srcpkgs/python-texttable/template new file mode 100644 index 0000000000..47ca73098e --- /dev/null +++ b/srcpkgs/python-texttable/template @@ -0,0 +1,28 @@ +# Template file for 'python-texttable' +pkgname=python-texttable +version=0.8.4 +revision=1 +noarch=yes +wrksrc="texttable-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="texttable.py" +short_desc="Python2 module for creating simple ASCII tables" +maintainer="Sergi Alvarez " +homepage="https://github.com/foutaise/texttable/" +license="LGPL-3" +distfiles="${PYPI_SITE}/t/texttable/texttable-${version}.tar.gz" +checksum=8587b61cb6c6022d0eb79e56e59825df4353f0f33099b4ae3bcfe8d41bd1702e + +python3.4-texttable_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="texttable.py" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-texttable b/srcpkgs/python3.4-texttable new file mode 120000 index 0000000000..c301d16b91 --- /dev/null +++ b/srcpkgs/python3.4-texttable @@ -0,0 +1 @@ +python-texttable \ No newline at end of file