wok-next view python-restkit/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 | 92698cd69f34 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="restkit"
4 PACKAGE="python-restkit"
5 VERSION="4.2.2"
6 CATEGORY="python"
7 SHORT_DESC="Python REST kit"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:restkit"
14 BUILD_DEPENDS="python-dev python-http-parser python-socketpool \
15 python3-dev python3-http-parser python3-socketpool"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 fix utf-8; export LC_ALL=en_US.UTF-8
21 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
22 }
24 genpkg_rules() {
25 copy @std
26 py="${PACKAGE%%-*}" # python/python3
27 DEPENDS="$py $py-http-parser $py-socketpool"
28 }