Unverified Commit 1e9b706c authored by prspkt's avatar prspkt

community/py3-prompt_toolkit: clarify license, modernize

parent 4a94d992
......@@ -3,32 +3,29 @@
pkgname=py3-prompt_toolkit
_pkgname=prompt_toolkit
pkgver=2.0.9
pkgrel=1
pkgrel=2
pkgdesc="Library for building powerful interactive command lines in Python"
url="https://pypi.python.org/pypi/prompt_toolkit"
arch="noarch"
license="BSD"
license="BSD-3-Clause"
depends="py3-six py3-wcwidth"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_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() {
cd "$builddir"
python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py check
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="8fd0f8f2d05ba81dbdd02e2885652dc8d4e756d3cfc57646328c6ebc3e0e38242604cadc72c7f2479850800c8f0e9f555ffab33df3061800f9a99744d857afd3 py3-prompt_toolkit-2.0.9.tar.gz"
sha512sums="8fd0f8f2d05ba81dbdd02e2885652dc8d4e756d3cfc57646328c6ebc3e0e38242604cadc72c7f2479850800c8f0e9f555ffab33df3061800f9a99744d857afd3 prompt_toolkit-2.0.9.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment