wok-next annotate python-lxml/receipt @ rev 21307
updated hydra (7.3 -> 9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 10:07:48 2019 +0100 (2019-12-10) |
parents | c9a7a7b42a86 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
pascal@1626 | 2 |
al@20972 | 3 ORIGIN="lxml" |
pascal@1626 | 4 PACKAGE="python-lxml" |
al@20972 | 5 VERSION="4.2.5" |
pascal@1626 | 6 CATEGORY="development" |
al@20972 | 7 SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries" |
pascal@1626 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15385 | 9 LICENSE="BSD GPL PSL" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@21020 | 11 #HOST_ARCH |
al@20885 | 12 REPOLOGY="python:lxml" |
al@20885 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python3 libxml2-dev libxslt-dev" |
al@20972 | 15 SPLIT="$PACKAGE-dev \ |
al@20972 | 16 ${PACKAGE/python/python3}:3 ${PACKAGE/python/python3}-dev:3" |
pascal@15379 | 17 |
al@20972 | 18 compile_rules() { |
al@20972 | 19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
pascal@1626 | 20 } |
pascal@1626 | 21 |
al@20972 | 22 genpkg_rules() { |
al@20972 | 23 case $PACKAGE in |
al@20972 | 24 *-dev) |
al@20972 | 25 copy @dev |
al@20972 | 26 DEPENDS="${PACKAGE%%-dev}" |
al@20972 | 27 ;; |
al@20972 | 28 *) |
al@20972 | 29 copy @std |
al@20972 | 30 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 31 DEPENDS="$py libxml2 libxslt" |
al@20972 | 32 ;; |
al@20972 | 33 esac |
pascal@1626 | 34 } |