wok-next view python-appdirs/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
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 }