wok annotate pyvim/receipt @ rev 25229

updated python-pyst2 (0.5.0 -> 0.5.1)
author Hans-G?nter Theisgen
date Wed Jul 13 16:59:13 2022 +0100 (2022-07-13)
parents b569b85b0fb9
children 49a3a8bbbc49
rev   line source
paul@18825 1 # SliTaz package receipt.
paul@18825 2
paul@18825 3 PACKAGE="pyvim"
Hans-G?nter@23589 4 VERSION="2.0.24"
paul@18825 5 CATEGORY="development"
paul@18825 6 SHORT_DESC="Pure Python Vi Implementation."
pascal@24728 7 LICENSE="BSD"
paul@18825 8 MAINTAINER="paul@slitaz.org"
Hans-G?nter@23589 9 WEB_SITE="https://github.com/jonathanslenders/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@23589 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@23589 35 cp -a $install/usr $fs
paul@18825 36 }