wok view pyvim/receipt @ rev 25601
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 18:06:38 2023 +0000 (15 months ago) |
parents | 49a3a8bbbc49 |
children |
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 - https://github.com/prompt-toolkit/pyvim/tags 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;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 }