wok-next view python-appdirs/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="appdirs"
4 PACKAGE="python-appdirs"
5 VERSION="1.4.3"
6 CATEGORY="python"
7 SHORT_DESC="Determining appropriate platform-specific dirs, e.g. a user data dir"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:appdirs"
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 }