mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
31 lines
972 B
Text
31 lines
972 B
Text
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=py3-prompt_toolkit
|
|
_pkgname=prompt_toolkit
|
|
pkgver=3.0.18
|
|
pkgrel=1
|
|
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="be2dbd72a1e08553c0e50453958b6085a7d743464acd02b303e5002e1174d672d2cadd7a992e71d0445aa2f2be7565411ae4d00c3677c275eca056a20ad9efc8 prompt_toolkit-3.0.18.tar.gz"
|