aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-texttable/APKBUILD
blob: 42c855477814347f98819974770969e76b3ee0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-texttable
pkgver=1.6.2
pkgrel=0
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"