33 lines
825 B
Bash
33 lines
825 B
Bash
# Template file for 'python-jedi'
|
|
pkgname=python-jedi
|
|
version=0.13.2
|
|
revision=1
|
|
noarch=yes
|
|
_parsover=0.3.0
|
|
wrksrc="jedi-${version}"
|
|
build_style=python-module
|
|
pycompile_module="jedi"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-parso>=${_parsover}"
|
|
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=571702b5bd167911fe9036e5039ba67f820d6502832285cde8c881ab2b2149fd
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-jedi_package() {
|
|
noarch=yes
|
|
pycompile_module="jedi"
|
|
depends="python3-parso>=${_parsover}"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|