aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-prompt_toolkit-gns3/APKBUILD
blob: 8b89965d83cde4c39d671be919ceae34632b396e (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-prompt_toolkit-gns3
_pkgname=prompt_toolkit
pkgver=1.0.15
pkgrel=2
pkgdesc="Library for building powerful interactive command lines in Python - GNS3 compatible version"
url="https://pypi.python.org/pypi/prompt_toolkit"
arch="noarch"
license="BSD"
depends="py3-six py3-wcwidth python3"
makedepends="python3-dev py3-setuptools"
conflict="py3-prompt_toolkit"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir"
}

sha512sums="10981be2ed8b71d0cd9f663c4de047cec9664d9276968c6eec40dc45b388d1acf8eba07d534369254f178931079bf39b04eb2ceac06aa63a2021ebf62387b2f5  py3-prompt_toolkit-gns3-1.0.15.tar.gz"