wok-6.x view python-pyliblzma/receipt @ rev 24469
updated davfs2 (1.5.6 -> 1.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 14:10:04 2022 +0100 (2022-02-17) |
parents | 814362194a8d |
children | e717a4953b0e |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyliblzma"
4 VERSION="0.5.3"
5 CATEGORY="development"
6 SHORT_DESC="A Python wrapper for the liblzma library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL3"
9 SOURCE="pyliblzma"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://pypi.python.org/pypi/pyliblzma"
12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="liblzma python"
15 BUILD_DEPENDS="liblzma-dev python-dev python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }