mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +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
907 B
Text
32 lines
907 B
Text
# Contributor: omni <omni+alpine@hack.org>
|
|
# Maintainer: omni <omni+alpine@hack.org>
|
|
pkgname=py3-urwid_readline
|
|
_pkgname=urwid_readline
|
|
pkgver=0.13
|
|
pkgrel=2
|
|
pkgdesc="text input widget for urwid that supports readline shortcuts"
|
|
url="https://github.com/rr-/urwid_readline"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-urwid"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-pytest-runner"
|
|
#options="!check" # no test suite
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/rr-/urwid_readline/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD"/build/lib py.test-3 -v
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
49087b2b0e47d6adba317941b6be99d7d61fd66ae28fa2ed89730c24cc04b8fa4ce20cb8eb35ebab56f838491432684bb8892463439dcd5d06d087b509182d3d py3-urwid_readline-0.13.tar.gz
|
|
"
|