void-packages/srcpkgs/python3-jedi/template

24 lines
665 B
Bash

# Template file for 'python3-jedi'
pkgname=python3-jedi
version=0.18.0
revision=2
wrksrc="jedi-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-parso"
checkdepends="python3-parso python3-pytest python3-docopt"
short_desc="Autocompletion/static analysis library for Python 3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://jedi.readthedocs.io/"
distfiles="${PYPI_SITE}/j/jedi/jedi-${version}.tar.gz"
checksum=92550a404bad8afed881a137ec9a461fed49eca661414be45059329614ed0707
do_check() {
PYTHONPATH="$(cd build/lib* && pwd)" python3 ./test/run.py
}
post_install() {
vlicense LICENSE.txt
}