wok-current annotate python-jedi/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (6 months ago) |
parents | 076f424196b2 |
children |
rev | line source |
---|---|
paul@18818 | 1 # SliTaz package receipt. |
paul@18818 | 2 |
paul@18818 | 3 PACKAGE="python-jedi" |
Hans-G?nter@25198 | 4 VERSION="0.17.2" |
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@25198 | 10 REPOLOGY="python:jedi" |
Hans-G?nter@23500 | 11 |
Hans-G?nter@23500 | 12 SOURCE="jedi" |
paul@18818 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23500 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/j/$SOURCE/$TARBALL" |
paul@18818 | 15 |
paul@18818 | 16 DEPENDS="python" |
Hans-G?nter@23500 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
paul@18818 | 18 |
pascal@24383 | 19 # What is the latest version available today? |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24383 | 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 23 } |
pascal@24288 | 24 |
paul@18818 | 25 # Rules to configure and make the package. |
paul@18818 | 26 compile_rules() |
paul@18818 | 27 { |
paul@18818 | 28 python setup.py install --root=$DESTDIR |
paul@18818 | 29 } |
paul@18818 | 30 |
paul@18818 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18818 | 32 genpkg_rules() |
paul@18818 | 33 { |
Hans-G?nter@23500 | 34 cp -a $install/usr $fs |
paul@18818 | 35 } |