wok-next diff python-distutils-extra/receipt @ rev 21695

updated gob2 (2.0.17 -> 2.0.20)
author Hans-G?nter Theisgen
date Tue Jun 30 15:37:32 2020 +0100 (2020-06-30)
parents 9b3461bf373c
children
line diff
     1.1 --- a/python-distutils-extra/receipt	Fri Jul 13 13:52:56 2018 +0300
     1.2 +++ b/python-distutils-extra/receipt	Tue Jun 30 15:37:32 2020 +0100
     1.3 @@ -1,26 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="python-distutils-extra"
     1.8 -VERSION="2.39"
     1.9 -CATEGORY="development"
    1.10 +VERSION="2.41"
    1.11 +CATEGORY="python"
    1.12  SHORT_DESC="Add support for i18n, documentation and icons to distutils"
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="GPL2"
    1.15  WEB_SITE="https://launchpad.net/python-distutils-extra"
    1.16 +HOST_ARCH="any"
    1.17  REPOLOGY="python:distutils-extra"
    1.18  
    1.19 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 -WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL"
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.22 +WGET_URL="https://salsa.debian.org/debian/$PACKAGE/-/archive/$VERSION/$TARBALL"
    1.23  
    1.24 -BUILD_DEPENDS="python"
    1.25 +BUILD_DEPENDS="python python3"
    1.26 +SPLIT="${PACKAGE/python/python3}:3"
    1.27  
    1.28  compile_rules() {
    1.29 -	python setup.py install \
    1.30 -		--prefix=/usr \
    1.31 -		--root=$install
    1.32 +	python$SET -B setup.py install --root=$install
    1.33  }
    1.34  
    1.35  genpkg_rules() {
    1.36  	copy @std
    1.37 -	DEPENDS="python"
    1.38 +	py=${PACKAGE%%-*} # python/python3
    1.39 +	DEPENDS="$py"
    1.40  }