wok-next annotate python-bcrypt/receipt @ rev 21010

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 12 16:40:30 2018 +0300 (2018-10-12)
parents 8b5b2a6d07b8
children
rev   line source
al@20924 1 # SliTaz package receipt v2.
al@20924 2
al@20972 3 ORIGIN="bcrypt"
al@20924 4 PACKAGE="python-bcrypt"
al@20972 5 VERSION="3.1.4"
al@20924 6 CATEGORY="python"
al@20924 7 SHORT_DESC="Modern password hashing for your software and your servers"
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:bcrypt"
al@20924 13
al@20972 14 BUILD_DEPENDS="python python-six python-cffi \
al@20972 15 python3 python3-six python3-cffi"
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-six $py-cffi"
al@20924 26 }