wok-next annotate python-gdata/receipt @ rev 20948

Provide the technique to build Python packages for both Python2 and Python3
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 31 17:13:06 2018 +0300 (2018-08-31)
parents 9b3461bf373c
children c9a7a7b42a86
rev   line source
al@20948 1 # SliTaz package receipt v2.
pascal@11727 2
pascal@11727 3 PACKAGE="python-gdata"
al@20948 4 VERSION="latest"
al@20948 5 CATEGORY="python"
al@20948 6 SHORT_DESC="Python client library for Google data APIs"
pascal@11727 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15379 8 LICENSE="Apache"
al@20948 9 WEB_SITE="https://pypi.org/project/gdata/"
al@20885 10 REPOLOGY="python:gdata"
al@20885 11
al@20948 12 BUILD_DEPENDS="python"
pascal@11727 13
al@20948 14 compile_rules() {
al@20948 15 pip install --no-compile --root=$DESTDIR gdata
pascal@11727 16 }
pascal@11727 17
al@20948 18 genpkg_rules() {
al@20948 19 VERSION=$(sed -n '/^Successfully installed/ s|.*gdata-||p' $LOGS/$PACKAGE.log)
al@20948 20 copy @std
al@20948 21 DEPENDS="python"
pascal@11727 22 }