# Template file for 'python-jedi' pkgname=python-jedi version=0.15.1 revision=1 archs=noarch _parsover=0.5.0 wrksrc="jedi-${version}" build_style=python-module pycompile_module="jedi" hostmakedepends="python-setuptools python3-setuptools" depends="python-parso>=${_parsover}" checkdepends="python-parso python3-parso python-pytest python3-pytest" short_desc="Autocompletion/static analysis library for Python2" maintainer="Alessio Sergi " license="MIT" homepage="https://jedi.readthedocs.io/" distfiles="${PYPI_SITE}/j/jedi/jedi-${version}.tar.gz" checksum=ba859c74fa3c966a22f2aeebe1b74ee27e2a462f56d3f5f7ca4a59af61bfe42e post_install() { vlicense LICENSE.txt } python3-jedi_package() { archs=noarch pycompile_module="jedi" depends="python3-parso>=${_parsover}" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE.txt } }