wok-next annotate python-pycryptopp/receipt @ rev 20972

Improve Python packages: update, also provide Python3 packages where available
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 22 16:05:26 2018 +0300 (2018-09-22)
parents 8b5b2a6d07b8
children
rev   line source
al@20972 1 # SliTaz package receipt v2.
pascal@14376 2
al@20972 3 ORIGIN="pycryptopp"
pascal@14376 4 PACKAGE="python-pycryptopp"
al@20972 5 VERSION="0.7.1"
al@20972 6 RANDOM_NUM="869544967005693312591928092448767568728501330214"
al@20972 7 CATEGORY="python"
al@20972 8 SHORT_DESC="Wrapper around a few algorithms from Crypto++ and python-Ed25519"
pascal@14376 9 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15378 10 LICENSE="GPL"
al@20972 11 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 12 #HOST_ARCH
al@20887 13 REPOLOGY="python:pycryptopp"
al@20887 14
al@20444 15 BUILD_DEPENDS="python-dev"
pascal@14376 16
al@20972 17 compile_rules() {
al@20972 18 # Python3 based compilation produce error
al@20972 19 pip install --no-compile --root=$install $ORIGIN==$VERSION.$RANDOM_NUM
pascal@14376 20 }
pascal@14376 21
al@20972 22 genpkg_rules() {
al@20972 23 copy @std
al@20972 24 DEPENDS="python"
pascal@14376 25 }