wok-next annotate python-ipaddr/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 270c09f6a958
children
rev   line source
al@20685 1 # SliTaz package receipt v2.
al@20685 2
al@20972 3 ORIGIN="ipaddr"
al@20685 4 PACKAGE="python-ipaddr"
al@20972 5 VERSION="2.2.0"
al@20685 6 CATEGORY="python"
al@20685 7 SHORT_DESC="Google's Python IP address manipulation library"
al@20685 8 MAINTAINER="al.bobylev@gmail.com"
al@20685 9 LICENSE="Apache"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 HOST_ARCH="any"
al@20885 12 REPOLOGY="python:ipaddr"
al@20685 13
al@20972 14 BUILD_DEPENDS="python python3"
al@20972 15 SPLIT="${PACKAGE/python/python3}:3"
al@20685 16
al@20685 17 compile_rules() {
al@20972 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
al@20685 19 }
al@20685 20
al@20685 21 genpkg_rules() {
al@20685 22 copy @std
al@20972 23 py=${PACKAGE%%-*} # python/python3
al@20972 24 DEPENDS="$py"
al@20685 25 }