35 lines
857 B
Bash
35 lines
857 B
Bash
# Template file for 'python-jedi'
|
|
pkgname=python-jedi
|
|
version=0.11.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=f6d5973573e76b1fd2ea75f6dcd6445d02d41ff3af5fc61b275b4e323d1dd396
|
|
|
|
pre_build() {
|
|
sed -i 's/parso.*/parso/' requirements.txt
|
|
}
|
|
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
|
|
}
|
|
}
|