wok-6.x view pyvim/receipt @ rev 24728
Update some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 11:32:25 2022 +0000 (2022-03-15) |
parents | b569b85b0fb9 |
children | 49a3a8bbbc49 |
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 LICENSE="BSD"
8 MAINTAINER="paul@slitaz.org"
9 WEB_SITE="https://github.com/jonathanslenders/pyvim"
11 SOURCE="pyvim"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="ptpython python python-docopt python-prompt-toolkit python-pyflakes"
16 BUILD_DEPENDS="ptpython python python-dev python-docopt python-prompt-toolkit
17 python-pyflakes python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }