void-packages/srcpkgs/python-jedi/template

32 lines
797 B
Bash

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