wok-next annotate python-pytest/receipt @ rev 21338

OpenSSL 1.0.2t -> 1.0.2u: overflow bug CVE-2019-1551
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 21 08:55:46 2019 +0000 (2019-12-21)
parents 8b5b2a6d07b8
children
rev   line source
al@20972 1 # SliTaz package receipt v2.
pascal@14376 2
al@20972 3 ORIGIN="pytest"
pascal@14376 4 PACKAGE="python-pytest"
al@20972 5 VERSION="3.8.0"
al@20972 6 CATEGORY="python"
pascal@14376 7 SHORT_DESC="A simple powerful testing with Python"
pascal@14376 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15378 9 LICENSE="MIT"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 HOST_ARCH="any"
al@20887 12 REPOLOGY="python:pytest"
al@20887 13
al@20972 14 BUILD_DEPENDS="python python-atomicwrites python-attrs python-funcsigs \
al@20972 15 python-more-itertools python-pathlib2 python-pluggy python-py python-six \
al@20972 16 python3 python3-atomicwrites python3-attrs python3-more-itertools \
al@20972 17 python3-pluggy python3-py python3-six"
al@20972 18 SPLIT="${PACKAGE/python/python3}:3"
pascal@14376 19
al@20972 20 compile_rules() {
al@20972 21 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
pascal@14376 22 }
pascal@14376 23
al@20972 24 genpkg_rules() {
al@20972 25 copy @std
al@20972 26 py=${PACKAGE%%-*} # python/python3
al@20972 27 case $PACKAGE in
al@20972 28 python-*)
al@20972 29 DEPENDS="$py $py-atomicwrites $py-attrs $py-funcsigs \
al@20972 30 $py-more-itertools $py-pathlib2 $py-pluggy $py-py $py-six"
al@20972 31 ;;
al@20972 32 python3-*)
al@20972 33 DEPENDS="$py $py-atomicwrites $py-attrs $py-more-itertools \
al@20972 34 $py-pluggy $py-py $py-six"
al@20972 35 ;;
al@20972 36 esac
pascal@14376 37 }