aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-texttable/APKBUILD
blob: 61201891d9c6f94c7170391ec7cb908ca94d6e1f (plain) (blame)
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.3
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="b7ca8d6c5e0835ebccf160efa658df54ff542729c6a9302f7473fa0c32acfe1762ac7ef69d94a274148a64d1bf4025d08059236efc8b9f3881d3cbec7b3db07a  texttable-1.6.3.tar.gz"