wok-current view python-tweepy/receipt @ rev 25338
updated svkbd packages ( -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jul 24 10:22:05 2022 +0100 (2022-07-24) |
parents | 076f424196b2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-tweepy"
4 VERSION="3.10.0"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="Twitter library for python."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/tweepy/"
11 REPOLOGY="python:tweepy"
13 SOURCE="tweepy"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
17 DEPENDS="python"
18 BUILD_DEPENDS="python python-dev python-setuptools"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders lib
36 }