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