summaryrefslogtreecommitdiff
path: root/testing/py3-columnize/APKBUILD
blob: c5f808ae9d272ad6f0c84ad8e787d6d022af006d (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
28
29
30
31
32
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-columnize
pkgver=0.3.11
pkgrel=1
pkgdesc="Python module to align in columns a simple list"
url="https://github.com/rocky/pycolumnize"
arch="noarch"
license="MIT"
replaces="py-columnize" # for backwards compatibility
provides="py-columnize=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3"
makedepends="py3-setuptools py3-nose"
checkdepends="py3-pytest py3-mock py3-pytest-mock"
source="https://files.pythonhosted.org/packages/source/c/columnize/columnize-$pkgver.tar.gz"
builddir="$srcdir"/columnize-$pkgver

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH=build/lib pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
aba1b911c57ac6f237460889d3da6dcfbedac3d42165dd99dc1798f3e2e767a3b895c4266fe82e5b35dfe43af7bff8e778f85bf9c71b10e8b13417e015779432  columnize-0.3.11.tar.gz
"