wok annotate pyvim/receipt @ rev 25558
Up libqcow (20221124)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 24 09:03:56 2023 +0000 (20 months ago) |
parents | 59547e97954f |
children | 0262035dc1e7 |
rev | line source |
---|---|
paul@18825 | 1 # SliTaz package receipt. |
paul@18825 | 2 |
paul@18825 | 3 PACKAGE="pyvim" |
Hans-G?nter@25253 | 4 VERSION="3.0.2" |
paul@18825 | 5 CATEGORY="development" |
paul@18825 | 6 SHORT_DESC="Pure Python Vi Implementation." |
Hans-G?nter@25253 | 7 MAINTAINER="paul@slitaz.org" |
pascal@24728 | 8 LICENSE="BSD" |
Hans-G?nter@25253 | 9 WEB_SITE="https://pypi.org/project/pyvim/" |
Hans-G?nter@23589 | 10 |
Hans-G?nter@23589 | 11 SOURCE="pyvim" |
paul@18825 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23589 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
paul@18825 | 14 |
Hans-G?nter@23589 | 15 DEPENDS="ptpython python python-docopt python-prompt-toolkit python-pyflakes" |
Hans-G?nter@25253 | 16 BUILD_DEPENDS="ptpython python python-dev python-docopt python-prompt-toolkit |
Hans-G?nter@23589 | 17 python-pyflakes python-setuptools" |
paul@18825 | 18 |
pascal@24308 | 19 # What is the latest version available today? |
pascal@24308 | 20 current_version() |
pascal@24308 | 21 { |
pascal@24308 | 22 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 24 } |
pascal@24308 | 25 |
paul@18825 | 26 # Rules to configure and make the package. |
paul@18825 | 27 compile_rules() |
paul@18825 | 28 { |
paul@18825 | 29 python setup.py install --root=$DESTDIR |
paul@18825 | 30 } |
paul@18825 | 31 |
paul@18825 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18825 | 33 genpkg_rules() |
paul@18825 | 34 { |
Hans-G?nter@25253 | 35 cook_copy_folders bin |
Hans-G?nter@25253 | 36 cook_copy_folders lib |
paul@18825 | 37 } |