31 lines
798 B
Bash
31 lines
798 B
Bash
# Template file for 'python-jedi'
|
|
pkgname=python-jedi
|
|
version=0.15.2
|
|
revision=1
|
|
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=e909527104a903606dd63bea6e8e888833f0ef087057829b89a18364a856f807
|
|
|
|
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
|
|
}
|
|
}
|