34 lines
873 B
Bash
34 lines
873 B
Bash
# Template file for 'python-jedi'
|
|
pkgname=python-jedi
|
|
version=0.13.3
|
|
revision=1
|
|
archs=noarch
|
|
_parsover=0.3.0
|
|
wrksrc="jedi-${version}"
|
|
build_style=python-module
|
|
pycompile_module="jedi"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-parso>=${_parsover}"
|
|
checkdepends="python3-parso python3-pytest"
|
|
short_desc="Autocompletion/static analysis library for Python2"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://jedi.readthedocs.io/"
|
|
distfiles="${PYPI_SITE}/j/jedi/jedi-${version}.tar.gz"
|
|
checksum=2bb0603e3506f708e792c7f4ad8fc2a7a9d9c2d292a358fbbd58da531695595b
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-jedi_package() {
|
|
archs=noarch
|
|
pycompile_module="jedi"
|
|
depends="python3-parso>=${_parsover}"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|