wok-next diff python-appdirs/receipt @ rev 21445

updated scim (1.4.17 -> 1.4.18)
author Hans-G?nter Theisgen
date Tue May 05 16:55:11 2020 +0100 (2020-05-05)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-appdirs/receipt	Tue May 05 16:55:11 2020 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +ORIGIN="appdirs"
     1.7 +PACKAGE="python-appdirs"
     1.8 +VERSION="1.4.3"
     1.9 +CATEGORY="python"
    1.10 +SHORT_DESC="Determining appropriate platform-specific dirs, e.g. a user data dir"
    1.11 +MAINTAINER="al.bobylev@gmail.com"
    1.12 +LICENSE="MIT"
    1.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.14 +HOST_ARCH="any"
    1.15 +REPOLOGY="python:appdirs"
    1.16 +
    1.17 +TARBALL="$ORIGIN-$VERSION.tar.gz"
    1.18 +WGET_URL="https://pypi.io/packages/source/${ORIGIN:0:1}/$ORIGIN/$TARBALL"
    1.19 +
    1.20 +BUILD_DEPENDS="python python3"
    1.21 +SPLIT="${PACKAGE/python/python3}:3"
    1.22 +
    1.23 +compile_rules() {
    1.24 +	python$SET setup.py install --root=$install
    1.25 +
    1.26 +	find $install -type f -name '*.pyc' -delete
    1.27 +}
    1.28 +
    1.29 +genpkg_rules() {
    1.30 +	copy @std
    1.31 +	py="${PACKAGE%%-*}" # python/python3
    1.32 +	DEPENDS="$py"
    1.33 +}