wok-6.x diff python-nose/receipt @ rev 23914
Add linux-mmc (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 16 17:34:09 2020 +0000 (2020-08-16) |
parents | c89d25976dbe |
children | 1df6fa555414 |
line diff
1.1 --- a/python-nose/receipt Thu Feb 14 13:44:59 2019 +0100 1.2 +++ b/python-nose/receipt Sun Aug 16 17:34:09 2020 +0000 1.3 @@ -1,16 +1,17 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-nose" 1.7 -VERSION="0.11.3" 1.8 +VERSION="1.3.7" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Unittest extension" 1.11 +TAGS="python" 1.12 +SHORT_DESC="Unittest extension." 1.13 MAINTAINER="taziden@slitaz.org" 1.14 LICENSE="LGPL2.1" 1.15 +WEB_SITE="https://pypi.org/project/nose/" 1.16 + 1.17 SOURCE="nose" 1.18 TARBALL="$SOURCE-$VERSION.tar.gz" 1.19 -WEB_SITE="https://pypi.org/project/nose/" 1.20 -WGET_URL="$WEB_SITE/download/1.0/$TARBALL" 1.21 -TAGS="python" 1.22 +WGET_URL="https://files.pythonhosted.org/packages/source/n/$SOURCE/$TARBALL" 1.23 1.24 DEPENDS="python" 1.25 BUILD_DEPENDS="python python-dev" 1.26 @@ -19,6 +20,7 @@ 1.27 compile_rules() 1.28 { 1.29 sed -i 's|man/man|share/&|' setup.py 1.30 + 1.31 python setup.py install --root=$DESTDIR 1.32 } 1.33 1.34 @@ -26,5 +28,5 @@ 1.35 genpkg_rules() 1.36 { 1.37 mkdir -p $fs/usr 1.38 - cp -a $install/usr/lib $fs/usr 1.39 + cp -a $install/usr/lib $fs/usr 1.40 }