wok-next view python-pathlib2/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
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="pathlib2"
4 PACKAGE="python-pathlib2"
5 VERSION="2.3.2"
6 CATEGORY="python"
7 SHORT_DESC="Object-oriented filesystem paths"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:pathlib2"
14 BUILD_DEPENDS="python python-scandir python-six \
15 python3 python3-six"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 copy @std
24 py="${PACKAGE%%-*}" # python/python3
25 case $PACKAGE in
26 python-*) DEPENDS="$py $py-scandir $py-six";;
27 python3-*) DEPENDS="$py $py-six";;
28 esac
29 }