python-jedi: update to 0.12.1

This commit is contained in:
Alessio Sergi 2018-08-02 23:01:32 +02:00
parent 1e3420c668
commit f7e4d8ad7b

View file

@ -1,31 +1,32 @@
# Template file for 'python-jedi' # Template file for 'python-jedi'
pkgname=python-jedi pkgname=python-jedi
version=0.12.0 version=0.12.1
revision=1 revision=1
noarch=yes noarch=yes
_parsover=0.3.0
wrksrc="jedi-${version}" wrksrc="jedi-${version}"
build_style=python-module build_style=python-module
pycompile_module="jedi" pycompile_module="jedi"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python-parso" depends="python-parso>=${_parsover}"
short_desc="Autocompletion/static analysis library for Python2" short_desc="Autocompletion/static analysis library for Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://jedi.readthedocs.io/" homepage="https://jedi.readthedocs.io/"
license="MIT" license="MIT"
distfiles="${PYPI_SITE}/j/jedi/jedi-${version}.tar.gz" distfiles="${PYPI_SITE}/j/jedi/jedi-${version}.tar.gz"
checksum=1972f694c6bc66a2fac8718299e2ab73011d653a6d8059790c3476d2353b99ad checksum=b409ed0f6913a701ed474a614a3bb46e6953639033e31f769ca7581da5bd1ec1
post_install() { post_install() {
vlicense LICENSE.txt LICENSE vlicense LICENSE.txt
} }
python3-jedi_package() { python3-jedi_package() {
noarch=yes noarch=yes
depends="python3-parso"
pycompile_module="jedi" pycompile_module="jedi"
depends="python3-parso>=${_parsover}"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {
vmove usr/lib/python3* vmove usr/lib/python3*
vlicense LICENSE.txt LICENSE vlicense LICENSE.txt
} }
} }