32 lines
825 B
Bash
32 lines
825 B
Bash
# Template file for 'python-jedi'
|
|
pkgname=python-jedi
|
|
version=0.12.1
|
|
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=b409ed0f6913a701ed474a614a3bb46e6953639033e31f769ca7581da5bd1ec1
|
|
|
|
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
|
|
}
|
|
}
|