wok-next view python-unittest2/receipt @ rev 21526
updated bogofilter (1.2.4 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 14:26:31 2020 +0100 (2020-06-19) |
parents | 8b5b2a6d07b8 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="unittest2"
4 PACKAGE="python-unittest2"
5 VERSION="1.1.0"
6 CATEGORY="python"
7 SHORT_DESC="The new features in unittest backported to Python 2.4+"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:unittest2"
14 BUILD_DEPENDS="python python-argparse python-six python-traceback2 \
15 python3 python3-argparse python3-six python3-traceback2"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 copy @std
24 py="${PACKAGE%%-*}" # python/python3
25 DEPENDS="$py $py-argparse $py-six $py-traceback2"
26 }