wok annotate python-tweepy/receipt @ rev 25227
updated python-pyserial (3.4 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:51:10 2022 +0100 (2022-07-13) |
parents | 1df6fa555414 |
children | 481bf096e6aa |
rev | line source |
---|---|
paul@13223 | 1 # SliTaz package receipt. |
paul@13223 | 2 |
paul@13223 | 3 PACKAGE="python-tweepy" |
Hans-G?nter@23569 | 4 VERSION="3.8.0" |
paul@13223 | 5 CATEGORY="development" |
Hans-G?nter@23569 | 6 TAGS="python" |
paul@13223 | 7 SHORT_DESC="Twitter library for python." |
paul@13223 | 8 MAINTAINER="paul@slitaz.org" |
pascal@15376 | 9 LICENSE="MIT" |
Hans-G?nter@23569 | 10 WEB_SITE="https://pypi.org/project/tweepy/" |
Hans-G?nter@23569 | 11 |
paul@13223 | 12 SOURCE="tweepy" |
paul@13223 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23569 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15376 | 15 |
paul@13223 | 16 DEPENDS="python" |
pascal@21582 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
paul@13223 | 18 |
pascal@24383 | 19 # What is the latest version available today? |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24383 | 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 23 } |
pascal@24288 | 24 |
paul@13223 | 25 # Rules to configure and make the package. |
paul@13223 | 26 compile_rules() |
paul@13223 | 27 { |
pascal@15376 | 28 python setup.py install --root=$DESTDIR |
paul@13223 | 29 } |
paul@13223 | 30 |
paul@13223 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@13223 | 32 genpkg_rules() |
paul@13223 | 33 { |
Hans-G?nter@23569 | 34 cp -a $install/usr $fs |
paul@13223 | 35 } |