wok-next view python-tweepy/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents 8b5b2a6d07b8
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="tweepy"
4 PACKAGE="python-tweepy"
5 VERSION="3.6.0"
6 CATEGORY="python"
7 SHORT_DESC="Twitter library for Python"
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:tweepy"
14 BUILD_DEPENDS="python python-pysocks python-requests python-requests-oauthlib \
15 python-six \
16 python3 python3-pysocks python3-requests python3-requests-oauthlib python3-six"
17 SPLIT="${PACKAGE/python/python3}:3"
19 compile_rules() {
20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
21 }
23 genpkg_rules() {
24 copy @std
25 py="${PACKAGE%%-*}" # python/python3
26 DEPENDS="$py $py-pysocks $py-requests $py-requests-oauthlib $py-six"
27 }