wok-next diff python-configobj/receipt @ rev 21592
updated dkms (2.1.1.2 -> 2.8.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 07:35:54 2020 +0100 (2020-06-24) |
parents | 9b3461bf373c |
children |
line diff
1.1 --- a/python-configobj/receipt Fri Jul 13 13:52:56 2018 +0300 1.2 +++ b/python-configobj/receipt Wed Jun 24 07:35:54 2020 +0100 1.3 @@ -1,30 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 +ORIGIN="configobj" 1.8 PACKAGE="python-configobj" 1.9 VERSION="5.0.6" 1.10 CATEGORY="development" 1.11 SHORT_DESC="Config file reading, writing and validation" 1.12 MAINTAINER="al.bobylev@gmail.com" 1.13 -LICENSE="other" 1.14 -WEB_SITE="https://github.com/DiffSK/configobj" 1.15 +LICENSE="BSD" 1.16 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.17 +HOST_ARCH="any" 1.18 REPOLOGY="python:configobj" 1.19 1.20 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.21 -WGET_URL="https://github.com/DiffSK/configobj/archive/v$VERSION.tar.gz" 1.22 +BUILD_DEPENDS="python python-six \ 1.23 +python3 python3-six" 1.24 +SPLIT="${PACKAGE/python/python3}:3" 1.25 1.26 -DEPENDS="python python-six" 1.27 -BUILD_DEPENDS="python" 1.28 - 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - python setup.py build 1.33 - python setup.py install --root=$DESTDIR 1.34 +compile_rules() { 1.35 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 1.36 } 1.37 1.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 -genpkg_rules() 1.40 -{ 1.41 - cp -a $install/* $fs 1.42 +genpkg_rules() { 1.43 + copy @std 1.44 + py="${PACKAGE%%-*}" # python/python3 1.45 + DEPENDS="$py $py-six" 1.46 } 1.47 -