wok-next annotate python-caldav/receipt @ rev 20992

eduke32: simplify bdeps, fix build for i486
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 04 11:45:29 2018 +0300 (2018-10-04)
parents add7e3ca3657
children c88baf7ab6c5
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@20972 11 HOST_ARCH="any"
al@20885 12 REPOLOGY="python:caldav"
al@20885 13
al@20948 14 BUILD_DEPENDS="python python-vobject python-lxml python-nose python-coverage \
al@20972 15 python-requests python-six \
al@20972 16 python3 python3-vobject python3-lxml python3-nose python3-coverage \
al@20972 17 python3-requests python3-six"
al@20972 18 SPLIT="${PACKAGE/python/python3}:3"
pascal@11727 19
al@20948 20 compile_rules() {
al@20972 21 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
pascal@11727 22 }
pascal@11727 23
al@20948 24 genpkg_rules() {
al@20948 25 copy @std
al@20972 26 py=${PACKAGE%%-*} # python/python3
al@20972 27 DEPENDS="$py $py-vobject $py-lxml $py-nose $py-coverage $py-requests \
al@20972 28 $py-six"
pascal@11727 29 }