wok-next annotate python-pynacl/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 92f1f4b98170
children
rev   line source
al@20924 1 # SliTaz package receipt v2.
al@20924 2
al@20972 3 ORIGIN="PyNaCl"
al@20924 4 PACKAGE="python-pynacl"
al@20972 5 VERSION="1.2.1"
al@20924 6 CATEGORY="python"
al@20924 7 SHORT_DESC="Python binding to the Networking and Cryptography library (NaCl)"
al@20924 8 MAINTAINER="al.bobylev@gmail.com"
al@20924 9 LICENSE="Apache2"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 #HOST_ARCH
al@20924 12 REPOLOGY="python:pynacl"
al@20924 13
al@20972 14 BUILD_DEPENDS="python python-cffi python-six \
al@20972 15 python3 python3-cffi python3-six"
al@20972 16 SPLIT="${PACKAGE/python/python3}:3"
al@20924 17
al@20924 18 compile_rules() {
al@20972 19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
al@20924 20 }
al@20924 21
al@20924 22 genpkg_rules() {
al@20924 23 copy @std
al@20972 24 py="${PACKAGE%%-*}" # python/python3
al@20972 25 DEPENDS="$py $py-cffi $py-six"
al@20924 26 }