wok-6.x view python-pyte/receipt @ rev 24718

updated libarchive and libarchive-dev (3.4.2 -> 3.6.0)
author Hans-G?nter Theisgen
date Tue Mar 15 07:41:02 2022 +0100 (2022-03-15)
parents 814362194a8d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyte"
4 SOURCE="pyte"
5 VERSION="0.5.1"
6 CATEGORY="development"
7 SHORT_DESC="Simple VTXXX-compatible terminal emulator."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="LGPL3"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pyte.readthedocs.org/en/latest/"
12 WGET_URL="https://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
14 DEPENDS="python python-wcwidth"
15 BUILD_DEPENDS="wget python-setuptools python-dev python-wcwidth"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }