wok-next view python-pytest/receipt @ rev 21403
updated php again (7.4.4 -> 7.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 21 10:28:30 2020 +0100 (2020-04-21) |
parents | 8b5b2a6d07b8 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="pytest"
4 PACKAGE="python-pytest"
5 VERSION="3.8.0"
6 CATEGORY="python"
7 SHORT_DESC="A simple powerful testing with Python"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:pytest"
14 BUILD_DEPENDS="python python-atomicwrites python-attrs python-funcsigs \
15 python-more-itertools python-pathlib2 python-pluggy python-py python-six \
16 python3 python3-atomicwrites python3-attrs python3-more-itertools \
17 python3-pluggy python3-py python3-six"
18 SPLIT="${PACKAGE/python/python3}:3"
20 compile_rules() {
21 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
22 }
24 genpkg_rules() {
25 copy @std
26 py=${PACKAGE%%-*} # python/python3
27 case $PACKAGE in
28 python-*)
29 DEPENDS="$py $py-atomicwrites $py-attrs $py-funcsigs \
30 $py-more-itertools $py-pathlib2 $py-pluggy $py-py $py-six"
31 ;;
32 python3-*)
33 DEPENDS="$py $py-atomicwrites $py-attrs $py-more-itertools \
34 $py-pluggy $py-py $py-six"
35 ;;
36 esac
37 }