wok-next diff python-pycryptopp/receipt @ rev 21157
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 04 11:54:13 2019 +0100 (2019-02-04) |
parents | 8b5b2a6d07b8 |
children |
line diff
1.1 --- a/python-pycryptopp/receipt Fri Sep 14 01:56:52 2018 +0300 1.2 +++ b/python-pycryptopp/receipt Mon Feb 04 11:54:13 2019 +0100 1.3 @@ -1,31 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 +ORIGIN="pycryptopp" 1.8 PACKAGE="python-pycryptopp" 1.9 -VERSION="0.6.0" 1.10 -CATEGORY="development" 1.11 -SHORT_DESC="Wrapper around a few algorithms from Crypto++ and python-Ed25519." 1.12 +VERSION="0.7.1" 1.13 +RANDOM_NUM="869544967005693312591928092448767568728501330214" 1.14 +CATEGORY="python" 1.15 +SHORT_DESC="Wrapper around a few algorithms from Crypto++ and python-Ed25519" 1.16 MAINTAINER="pascal.bellard@slitaz.org" 1.17 LICENSE="GPL" 1.18 -WEB_SITE="https://pypi.org/project/pycryptopp/" 1.19 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.20 +#HOST_ARCH 1.21 REPOLOGY="python:pycryptopp" 1.22 1.23 -SOURCE="pycryptopp" 1.24 -TARBALL="$SOURCE-$VERSION.1206569328141510525648634803928199668821045408958.tar.gz" 1.25 -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.26 - 1.27 -DEPENDS="python" 1.28 BUILD_DEPENDS="python-dev" 1.29 1.30 -# Rules to configure and make the package. 1.31 -compile_rules() 1.32 -{ 1.33 - python setup.py build 1.34 - python setup.py install --root=$DESTDIR 1.35 +compile_rules() { 1.36 + # Python3 based compilation produce error 1.37 + pip install --no-compile --root=$install $ORIGIN==$VERSION.$RANDOM_NUM 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr 1.44 - cp -a $install/usr/lib $fs/usr 1.45 +genpkg_rules() { 1.46 + copy @std 1.47 + DEPENDS="python" 1.48 }