aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-prompt_toolkit/APKBUILD
blob: 0254366b30f2f4c0ac477ad937610b961bc1f4d8 (plain) (blame)
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
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=py3-prompt_toolkit
_pkgname=prompt_toolkit
pkgver=3.0.10
pkgrel=0
pkgdesc="Library for building powerful interactive command lines in Python"
url="https://pypi.python.org/pypi/prompt_toolkit"
arch="noarch"
license="BSD-3-Clause"
depends="py3-six py3-wcwidth"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="71cdbe28064f28a2d88f369ee4550cc02b2609841b51d8fa7e8028304e77f34c6feed5d4549d62a3cbce27f95a4ebca1066a6fd869fbffa1799a3dedef2df6f4  prompt_toolkit-3.0.10.tar.gz"