mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
720 B
Text
29 lines
720 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py3-texttable
|
|
pkgver=1.6.7
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
aa62db89ec9ef24e0327a1934106b37f7fa8dc132ba3599a9f557b8fd72d4c32c12371ea5b443cd908642f0315154c69a56e3848bef3197a18cc0ade7d66e269 texttable-1.6.7.tar.gz
|
|
"
|