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