void-packages/srcpkgs/python-texttable/template

30 lines
901 B
Bash

# Template file for 'python-texttable'
pkgname=python-texttable
version=0.8.5
revision=2
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 <pancake@nopcode.org>"
homepage="https://github.com/foutaise/texttable/"
license="LGPL-3"
# distfiles="${PYPI_SITE}/t/texttable/texttable-${version}.tar.gz"
distfiles="https://github.com/foutaise/texttable/archive/v${version}.tar.gz"
checksum=c2b554b0c20c866f061cf08a315354278590b312ee178199a29bfde7a944f986
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
}
}