wok-next view python-six/receipt @ rev 21493
updated aria2 (1.34.0 -> 1.35.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 18 21:19:09 2020 +0100 (2020-06-18) |
parents | c9a7a7b42a86 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="six"
4 PACKAGE="python-six"
5 VERSION="1.11.0"
6 CATEGORY="python"
7 SHORT_DESC="Six is a Python 2 and 3 compatibility library"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:six"
14 TARBALL="$ORIGIN-$VERSION.tar.gz"
15 WGET_URL="https://pypi.io/packages/source/${ORIGIN:0:1}/$ORIGIN/$TARBALL"
17 BUILD_DEPENDS="python python3"
18 SPLIT="${PACKAGE/python/python3}:3"
20 compile_rules() {
21 python$SET setup.py install --root=$install
23 find $install -type f -name '*.pyc' -delete
24 }
26 genpkg_rules() {
27 copy @std
28 py="${PACKAGE%%-*}" # python/python3
29 DEPENDS="$py"
30 }