wok view py3k-llfuse/receipt @ rev 25532

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 10:46:05 2023 +0000 (15 months ago)
parents 4349b733ca4a
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-llfuse"
4 VERSION="1.4.2"
5 CATEGORY="development"
6 SHORT_DESC="A set of Python bindings for the low level FUSE API."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2+"
9 WEB_SITE="https://github.com/python-llfuse/python-llfuse/"
11 SOURCE="llfuse"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"
15 DEPENDS="fuse2 py3k"
16 BUILD_DEPENDS="fuse2-dev py3k-dev py3k-setuptools_scm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # not compiling with fuse[3]!
29 python3 setup.py build &&
30 python3 setup.py install --prefix=/usr --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs
37 cp -a $install/usr $fs
38 }