2017-06-06 15:37:37 +02:00
|
|
|
# Template file for 'python-jedi'
|
|
|
|
pkgname=python-jedi
|
|
|
|
version=0.10.2
|
2017-08-28 04:19:30 +02:00
|
|
|
revision=2
|
2017-06-06 15:37:37 +02:00
|
|
|
noarch=yes
|
|
|
|
wrksrc="jedi-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
pycompile_module="jedi"
|
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
|
|
depends="python"
|
|
|
|
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=7abb618cac6470ebbd142e59c23daec5e6e063bfcecc8a43a037d2ab57276f4e
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE.txt LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-jedi_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="python3"
|
|
|
|
pycompile_module="jedi"
|
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3*
|
|
|
|
vlicense LICENSE.txt LICENSE
|
|
|
|
}
|
|
|
|
}
|