wok-next view python-six/receipt @ rev 21578

updated davfs2 (1.5.4 -> 1.5.6)
author Hans-G?nter Theisgen
date Tue Jun 23 15:33:53 2020 +0100 (2020-06-23)
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 }