wok-current view python-configobj/receipt @ rev 25716
Adjust mesa depends and fix loop for libegl-mesa,libglx-mesa / mesa
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 14:46:05 2024 +0000 (5 months ago) |
parents | 16df76e1fc6a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-configobj"
4 VERSION="5.0.6"
5 CATEGORY="development"
6 SHORT_DESC="Config file reading, writing and validation"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://github.com/DiffSK/configobj"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/DiffSK/configobj/archive/v$VERSION.tar.gz"
13 DEPENDS="python python-six"
14 BUILD_DEPENDS="wget cacerts python"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py build
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }