diff --git a/srcpkgs/python-jedi/template b/srcpkgs/python-jedi/template new file mode 100644 index 0000000000..3952aa1c94 --- /dev/null +++ b/srcpkgs/python-jedi/template @@ -0,0 +1,31 @@ +# Template file for 'python-jedi' +pkgname=python-jedi +version=0.10.2 +revision=1 +noarch=yes +wrksrc="jedi-${version}" +build_style=python-module +pycompile_module="jedi" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Autocompletion/static analysis library for Python2" +maintainer="Alessio Sergi " +homepage="https://jedi.readthedocs.io/" +license="MIT" +distfiles="${PYPI_SITE}/j/jedi/jedi-${version}.tar.gz" +checksum=7abb618cac6470ebbd142e59c23daec5e6e063bfcecc8a43a037d2ab57276f4e + +post_install() { + vlicense LICENSE.txt LICENSE +} + +python3-jedi_package() { + noarch=yes + depends="python3" + pycompile_module="jedi" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE.txt LICENSE + } +} diff --git a/srcpkgs/python3-jedi b/srcpkgs/python3-jedi new file mode 120000 index 0000000000..d378953d1b --- /dev/null +++ b/srcpkgs/python3-jedi @@ -0,0 +1 @@ +python-jedi \ No newline at end of file