wok-next view python-jaraco.functools/receipt @ rev 21110

subversion: update dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 11 04:06:27 2019 +0200 (2019-01-11)
parents
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="jaraco.functools"
4 PACKAGE="python-jaraco.functools"
5 VERSION="1.20"
6 CATEGORY="python"
7 SHORT_DESC="Additional functools in the spirit of stdlib’s functools"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:jaraco.functools"
14 BUILD_DEPENDS="python python-backports.functools-lru-cache \
15 python-more-itertools \
16 python3 python3-more-itertools"
17 SPLIT="${PACKAGE/python/python3}:3"
19 compile_rules() {
20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
21 }
23 genpkg_rules() {
24 copy @std
25 py="${PACKAGE%%-*}" # python/python3
26 case $PACKAGE in
27 python-*) DEPENDS="$py $py-backports.functools-lru-cache \
28 $py-more-itertools";;
29 python3-*) DEPENDS="$py $py-more-itertools";;
30 esac
31 }