34 lines
989 B
Bash
34 lines
989 B
Bash
# Template file for 'python-texttable'
|
|
pkgname=python-texttable
|
|
version=1.0.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="texttable-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-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"
|
|
checksum=a733f7d90f6dd35d799c4048e3b015fcf95887ef49e0ef65262f90ee6d7abd61
|
|
|
|
python3-texttable_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="texttable.py"
|
|
replaces="python3.4-texttable>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|
|
python3.4-texttable_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-texttable>=${version}_${revision}"
|
|
}
|