mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
27 lines
719 B
Text
27 lines
719 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py3-texttable
|
|
pkgver=1.6.2
|
|
pkgrel=1
|
|
pkgdesc="module for creating simple ASCII tables"
|
|
url="https://github.com/foutaise/texttable/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://pypi.io/packages/source/t/texttable/texttable-$pkgver.tar.gz"
|
|
builddir="$srcdir/texttable-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
py.test-3 tests.py -v
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="daf8c10b52e8c0472da129ad905e60ff6195a7f58e5b278f6eaad2b622f527ed8ac6d747aa90cdcb8e40c81150c88da436cb8616e259662a7d48a22de0a1ee50 texttable-1.6.2.tar.gz"
|