mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 20:25:17 +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
32 lines
983 B
Text
32 lines
983 B
Text
# 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
|
|
"
|