wok-next view python-tweepy/receipt @ rev 21032
Fix some homepages: follow HTTP redirections.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 17:26:00 2018 +0200 (2018-11-03) |
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 }