wok view pyvim/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents 341e72d2d146
children 59547e97954f
line source
1 # SliTaz package receipt.
3 PACKAGE="pyvim"
4 VERSION="2.0.24"
5 CATEGORY="development"
6 SHORT_DESC="Pure Python Vi Implementation."
7 MAINTAINER="paul@slitaz.org"
8 WEB_SITE="https://github.com/jonathanslenders/pyvim"
10 SOURCE="pyvim"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="ptpython python python-docopt python-prompt-toolkit python-pyflakes"
15 BUILD_DEPENDS="ptpython python python-dev python-docopt python-prompt-toolkit
16 python-pyflakes python-setuptools"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }