wok-next view python-pathlib2/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
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 }