wok-current annotate python-jedi/receipt @ rev 24295
Up ventoy (1.0.64)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 14 17:35:36 2022 +0000 (2022-01-14) |
parents | d0561926193b |
children | 076f424196b2 |
rev | line source |
---|---|
paul@18818 | 1 # SliTaz package receipt. |
paul@18818 | 2 |
paul@18818 | 3 PACKAGE="python-jedi" |
Hans-G?nter@23500 | 4 VERSION="0.16.0" |
paul@18818 | 5 CATEGORY="development" |
paul@18818 | 6 SHORT_DESC="An autocompletion tool for Python that can be used for text editors." |
paul@18818 | 7 MAINTAINER="paul@slitaz.org" |
paul@18818 | 8 LICENSE="MIT" |
Hans-G?nter@23500 | 9 WEB_SITE="https://pypi.org/project/jedi/" |
Hans-G?nter@23500 | 10 |
Hans-G?nter@23500 | 11 SOURCE="jedi" |
paul@18818 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23500 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/j/$SOURCE/$TARBALL" |
paul@18818 | 14 |
paul@18818 | 15 DEPENDS="python" |
Hans-G?nter@23500 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
paul@18818 | 17 |
pascal@24288 | 18 current_version() |
pascal@24288 | 19 { |
pascal@24288 | 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' |
pascal@24288 | 21 } |
pascal@24288 | 22 |
paul@18818 | 23 # Rules to configure and make the package. |
paul@18818 | 24 compile_rules() |
paul@18818 | 25 { |
paul@18818 | 26 python setup.py install --root=$DESTDIR |
paul@18818 | 27 } |
paul@18818 | 28 |
paul@18818 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18818 | 30 genpkg_rules() |
paul@18818 | 31 { |
Hans-G?nter@23500 | 32 cp -a $install/usr $fs |
paul@18818 | 33 } |