From 3ea4fb4866f5538ff2b90b9a37584c1699c1c160 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 6 Jun 2017 15:37:37 +0200 Subject: [PATCH] New package: python-jedi-0.10.2 --- srcpkgs/python-jedi/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-jedi | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-jedi/template create mode 120000 srcpkgs/python3-jedi diff --git a/srcpkgs/python-jedi/template b/srcpkgs/python-jedi/template new file mode 100644 index 00000000000..3952aa1c949 --- /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 00000000000..d378953d1bd --- /dev/null +++ b/srcpkgs/python3-jedi @@ -0,0 +1 @@ +python-jedi \ No newline at end of file