wok annotate python-jedi/receipt @ rev 25040
cups-filters: use standard c++14
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 27 07:47:27 2022 +0100 (2022-05-27) |
parents | 1df6fa555414 |
children | d1edb6891f97 |
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@24383 | 18 # What is the latest version available today? |
pascal@24288 | 19 current_version() |
pascal@24288 | 20 { |
pascal@24383 | 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 22 } |
pascal@24288 | 23 |
paul@18818 | 24 # Rules to configure and make the package. |
paul@18818 | 25 compile_rules() |
paul@18818 | 26 { |
paul@18818 | 27 python setup.py install --root=$DESTDIR |
paul@18818 | 28 } |
paul@18818 | 29 |
paul@18818 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18818 | 31 genpkg_rules() |
paul@18818 | 32 { |
Hans-G?nter@23500 | 33 cp -a $install/usr $fs |
paul@18818 | 34 } |