wok-next diff python-py-restclient/receipt @ rev 21257

encfs: use cmake
author Hans-G?nter Theisgen
date Fri Dec 06 13:47:57 2019 +0100 (2019-12-06)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-py-restclient/receipt	Fri Dec 06 13:47:57 2019 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +ORIGIN="py-restclient"
     1.7 +PACKAGE="python-py-restclient"
     1.8 +VERSION="1.3.3"
     1.9 +CATEGORY="python"
    1.10 +SHORT_DESC="Python REST client"
    1.11 +MAINTAINER="claudinei@slitaz.org"
    1.12 +LICENSE="MIT"
    1.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.14 +HOST_ARCH="any"
    1.15 +REPOLOGY="python:py-restclient"
    1.16 +
    1.17 +BUILD_DEPENDS="python python-httplib2  python3 python3-httplib2"
    1.18 +SPLIT="${PACKAGE/python/python3}:3"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.22 +}
    1.23 +
    1.24 +genpkg_rules() {
    1.25 +	copy @std
    1.26 +	py="${PACKAGE%%-*}" # python/python3
    1.27 +	DEPENDS="$py $py-httplib2"
    1.28 +}