wok-next annotate python-contextlib2/receipt @ rev 21303

updated gujin (2.8.6 -> 2.8.7)
author Hans-G?nter Theisgen
date Tue Dec 10 07:57:29 2019 +0100 (2019-12-10)
parents 8b5b2a6d07b8
children
rev   line source
al@20745 1 # SliTaz package receipt v2.
al@20745 2
al@20972 3 ORIGIN="contextlib2"
al@20745 4 PACKAGE="python-contextlib2"
al@20972 5 VERSION="0.5.5"
al@20745 6 CATEGORY="python"
al@20745 7 SHORT_DESC="Backports and enhancements for the contextlib module"
al@20745 8 MAINTAINER="al.bobylev@gmail.com"
al@20745 9 LICENSE="BSD"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 HOST_ARCH="any"
al@20885 12 REPOLOGY="python:contextlib2"
al@20745 13
al@20972 14 BUILD_DEPENDS="python python3"
al@20972 15 SPLIT="${PACKAGE/python/python3}:3"
al@20745 16
al@20745 17 compile_rules() {
al@20972 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
al@20745 19 }
al@20745 20
al@20745 21 genpkg_rules() {
al@20745 22 copy @std
al@20972 23 py="${PACKAGE%%-*}" # python/python3
al@20972 24 DEPENDS="$py"
al@20745 25 }