wok-next annotate python-restkit/receipt @ rev 21119
libarchive: depends on libzstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 14 03:39:08 2019 +0200 (2019-01-14) |
parents | 92698cd69f34 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
claudinei@14879 | 2 |
al@20972 | 3 ORIGIN="restkit" |
claudinei@14879 | 4 PACKAGE="python-restkit" |
al@20972 | 5 VERSION="4.2.2" |
al@20972 | 6 CATEGORY="python" |
al@20972 | 7 SHORT_DESC="Python REST kit" |
claudinei@14879 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15376 | 9 LICENSE="MIT" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 HOST_ARCH="any" |
al@20887 | 12 REPOLOGY="python:restkit" |
al@20887 | 13 |
al@20972 | 14 BUILD_DEPENDS="python-dev python-http-parser python-socketpool \ |
al@20972 | 15 python3-dev python3-http-parser python3-socketpool" |
al@20972 | 16 SPLIT="${PACKAGE/python/python3}:3" |
claudinei@14879 | 17 |
al@20972 | 18 compile_rules() { |
al@20972 | 19 fix utf-8; export LC_ALL=en_US.UTF-8 |
claudinei@14879 | 20 |
al@20972 | 21 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
claudinei@14879 | 22 } |
claudinei@14879 | 23 |
al@20972 | 24 genpkg_rules() { |
al@20972 | 25 copy @std |
al@20972 | 26 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 27 DEPENDS="$py $py-http-parser $py-socketpool" |
claudinei@14879 | 28 } |