wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="ptpython"
4 VERSION="3.0.1"
5 CATEGORY="development"
6 SHORT_DESC="Python REPL."
7 MAINTAINER="paul@slitaz.org"
8 WEB_SITE="https://github.com/prompt-toolkit/ptpython"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}/archive/$VERSION.tar.gz"
13 DEPENDS="python python-docopt python-jedi python-prompt-toolkit"
14 BUILD_DEPENDS="python-dev python-docopt python-jedi \
15 python-prompt-toolkit python-setuptools "
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }