aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-urwid/APKBUILD
blob: 0fbc07d7918895dbd17d5425bba850807f83d300 (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
33
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py3-urwid
_pkgname=urwid
pkgver=2.0.1
pkgrel=2
pkgdesc="A console user interface library for Python3"
options="!check" # (failures=1)
url="http://urwid.org/"
arch="all"
license="LGPL-2.0-or-later"
depends="python3"
makedepends="python3-dev py3-setuptools"
checkdepends="py3-twisted py3-tornado"
source="https://files.pythonhosted.org/packages/source/u/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-urwid" # Backwards compatibility
provides="py-urwid=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="99c86a26b08c624c23207ce8e587e8442bece1f522e0c788600ad5f01a4c679efff95dd947edade8b6f4adc376edca949a40c305f9d5ddaf6a0ff97f13c6da30  urwid-2.0.1.tar.gz"