31 lines
798 B
Bash
31 lines
798 B
Bash
# Template file for 'python-jedi'
|
|
pkgname=python-jedi
|
|
version=0.17.1
|
|
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=807d5d4f96711a2bcfdd5dfa3b1ae6d09aa53832b182090b222b5efb81f52f63
|
|
|
|
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
|
|
}
|
|
}
|