wok view pyvim/receipt @ rev 25367
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 29 07:35:41 2022 +0000 (2022-07-29) |
parents | 59547e97954f |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pyvim"
4 VERSION="3.0.2"
5 CATEGORY="development"
6 SHORT_DESC="Pure Python Vi Implementation."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/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 cook_copy_folders bin
36 cook_copy_folders lib
37 }