wok-next view python-lxml/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents c9a7a7b42a86
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="lxml"
4 PACKAGE="python-lxml"
5 VERSION="4.2.5"
6 CATEGORY="development"
7 SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD GPL PSL"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH
12 REPOLOGY="python:lxml"
14 BUILD_DEPENDS="python python3 libxml2-dev libxslt-dev"
15 SPLIT="$PACKAGE-dev \
16 ${PACKAGE/python/python3}:3 ${PACKAGE/python/python3}-dev:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 *-dev)
25 copy @dev
26 DEPENDS="${PACKAGE%%-dev}"
27 ;;
28 *)
29 copy @std
30 py="${PACKAGE%%-*}" # python/python3
31 DEPENDS="$py libxml2 libxslt"
32 ;;
33 esac
34 }