wok-current view ptpython/receipt @ rev 24395
created recipe for py3k-distutils-extra
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 10:23:22 2022 +0100 (2022-02-08) |
parents | 5ea0ce1cecc0 |
children | 59547e97954f |
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*}/tags 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 }