wok-6.x annotate ptpython/receipt @ rev 24693
updated jwm (2.3.7 -> 2.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 07:13:46 2022 +0100 (2022-03-13) |
parents | 5ea0ce1cecc0 |
children | 59547e97954f |
rev | line source |
---|---|
paul@18823 | 1 # SliTaz package receipt. |
paul@18823 | 2 |
paul@18823 | 3 PACKAGE="ptpython" |
Hans-G?nter@23451 | 4 VERSION="3.0.1" |
paul@18823 | 5 CATEGORY="development" |
paul@18823 | 6 SHORT_DESC="Python REPL." |
paul@18823 | 7 MAINTAINER="paul@slitaz.org" |
Hans-G?nter@21721 | 8 WEB_SITE="https://github.com/prompt-toolkit/ptpython" |
paul@18823 | 9 |
Hans-G?nter@21721 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21722 | 11 WGET_URL="${WEB_SITE}/archive/$VERSION.tar.gz" |
Hans-G?nter@21721 | 12 |
Hans-G?nter@21721 | 13 DEPENDS="python python-docopt python-jedi python-prompt-toolkit" |
Hans-G?nter@21721 | 14 BUILD_DEPENDS="python-dev python-docopt python-jedi \ |
Hans-G?nter@21721 | 15 python-prompt-toolkit python-setuptools " |
paul@18823 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
paul@18823 | 23 # Rules to configure and make the package. |
paul@18823 | 24 compile_rules() |
paul@18823 | 25 { |
paul@18823 | 26 python setup.py install --root=$DESTDIR |
paul@18823 | 27 } |
paul@18823 | 28 |
paul@18823 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18823 | 30 genpkg_rules() |
paul@18823 | 31 { |
paul@18823 | 32 cp -a $install/usr $fs |
paul@18823 | 33 } |