wok-next annotate python-caldav/receipt @ rev 21206
try to build assaultcube again
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 09:25:03 2019 +0100 (2019-12-02) |
parents | c9a7a7b42a86 |
children |
rev | line source |
---|---|
al@20948 | 1 # SliTaz package receipt v2. |
pascal@11727 | 2 |
al@20972 | 3 ORIGIN="caldav" |
pascal@11727 | 4 PACKAGE="python-caldav" |
al@20972 | 5 VERSION="0.5.0" |
al@20948 | 6 CATEGORY="python" |
pascal@11727 | 7 SHORT_DESC="CalDAV (RFC4791) client library for Python" |
pascal@11727 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="GPL" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@21100 | 11 #HOST_ARCH="any" |
al@20885 | 12 REPOLOGY="python:caldav" |
al@20885 | 13 |
al@21100 | 14 COOKOPTS="force-arch" # arch-specific .so in python3-caldav on x86_64 |
al@21100 | 15 |
al@20948 | 16 BUILD_DEPENDS="python python-vobject python-lxml python-nose python-coverage \ |
al@20972 | 17 python-requests python-six \ |
al@20972 | 18 python3 python3-vobject python3-lxml python3-nose python3-coverage \ |
al@20972 | 19 python3-requests python3-six" |
al@20972 | 20 SPLIT="${PACKAGE/python/python3}:3" |
pascal@11727 | 21 |
al@20948 | 22 compile_rules() { |
al@20972 | 23 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
pascal@11727 | 24 } |
pascal@11727 | 25 |
al@20948 | 26 genpkg_rules() { |
al@20948 | 27 copy @std |
al@20972 | 28 py=${PACKAGE%%-*} # python/python3 |
al@20972 | 29 DEPENDS="$py $py-vobject $py-lxml $py-nose $py-coverage $py-requests \ |
al@20972 | 30 $py-six" |
pascal@11727 | 31 } |