wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-gdata"
4 VERSION="latest"
5 CATEGORY="python"
6 SHORT_DESC="Python client library for Google data APIs"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://pypi.org/project/gdata/"
10 REPOLOGY="python:gdata"
12 BUILD_DEPENDS="python"
14 compile_rules() {
15 pip install --no-compile --root=$DESTDIR gdata
16 }
18 genpkg_rules() {
19 VERSION=$(sed -n '/^Successfully installed/ s|.*gdata-||p' $LOGS/$PACKAGE.log)
20 copy @std
21 DEPENDS="python"
22 }