aports/community/py3-blessed/APKBUILD
2023-04-18 20:12:09 +00:00

35 lines
896 B
Plaintext

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-blessed
pkgver=1.20.0
pkgrel=1
pkgdesc="Easy, practical library for making terminal apps"
options="!check" # Some tests fail
url="https://pypi.org/project/blessed/"
arch="noarch"
license="MIT"
depends="python3 py3-wcwidth py3-six"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-mock ncurses"
subpackages="$pkgname-pyc"
source="https://pypi.io/packages/source/b/blessed/blessed-$pkgver.tar.gz"
builddir="$srcdir/blessed-$pkgver"
build() {
rm -f blessed/win_terminal.py
python3 setup.py build
}
check() {
rm -f tox.ini
TERM=linux PYTHONPATH="$PWD/build/lib" py.test-3
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
8567ff1c55f68ad99c6c524edbf8ee57813d23d885dcb372767debc76bc2d75642c2b0491e1ed05460f023c28403b5dabb13769dea101a1c6e3156c82e0d0355 blessed-1.20.0.tar.gz
"