wok view pyvim/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks 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 }