wok annotate ptpython/receipt @ rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents ac8ca9758df1
children
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"
pascal@24728 8 LICENSE="BSD"
Hans-G?nter@21721 9 WEB_SITE="https://github.com/prompt-toolkit/ptpython"
paul@18823 10
Hans-G?nter@21721 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21722 12 WGET_URL="${WEB_SITE}/archive/$VERSION.tar.gz"
Hans-G?nter@21721 13
Hans-G?nter@21721 14 DEPENDS="python python-docopt python-jedi python-prompt-toolkit"
Hans-G?nter@21721 15 BUILD_DEPENDS="python-dev python-docopt python-jedi \
Hans-G?nter@21721 16 python-prompt-toolkit python-setuptools "
paul@18823 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24299 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
paul@18823 24 # Rules to configure and make the package.
paul@18823 25 compile_rules()
paul@18823 26 {
paul@18823 27 python setup.py install --root=$DESTDIR
paul@18823 28 }
paul@18823 29
paul@18823 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18823 31 genpkg_rules()
paul@18823 32 {
paul@18823 33 cp -a $install/usr $fs
paul@18823 34 }