wok annotate ptpython/receipt @ rev 24155

linld : fix lm detection
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 06 16:44:52 2021 +0000 (2021-12-06)
parents 117e5b447e27
children ac8ca9758df1
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@24055 19 wget -O - ${WGET_URL%/arch*}/releases 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 }