wok-next annotate python-pycryptodomex/receipt @ rev 21056

zim: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 03 11:57:12 2018 +0200 (2018-12-03)
parents
children
rev   line source
al@20977 1 # SliTaz package receipt v2.
al@20977 2
al@20977 3 ORIGIN="pycryptodomex"
al@20977 4 PACKAGE="python-pycryptodomex"
al@20977 5 VERSION="3.6.6"
al@20977 6 CATEGORY="python"
al@20977 7 SHORT_DESC="Cryptographic library for Python"
al@20977 8 MAINTAINER="al.bobylev@gmail.com"
al@20977 9 LICENSE="BSD"
al@20977 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20977 11 #HOST_ARCH
al@20977 12 REPOLOGY="python:pycryptodomex"
al@20977 13
al@20977 14 BUILD_DEPENDS="python python3"
al@20977 15 SPLIT="${PACKAGE/python/python3}:3"
al@20977 16
al@20977 17 compile_rules() {
al@20977 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
al@20977 19 }
al@20977 20
al@20977 21 genpkg_rules() {
al@20977 22 copy @std
al@20977 23 py="${PACKAGE%%-*}" # python/python3
al@20977 24 DEPENDS="$py"
al@20977 25 }