wok annotate python-tweepy/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 076f424196b2 |
children |
rev | line source |
---|---|
paul@13223 | 1 # SliTaz package receipt. |
paul@13223 | 2 |
paul@13223 | 3 PACKAGE="python-tweepy" |
Hans-G?nter@25244 | 4 VERSION="3.10.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@25244 | 11 REPOLOGY="python:tweepy" |
Hans-G?nter@23569 | 12 |
paul@13223 | 13 SOURCE="tweepy" |
paul@13223 | 14 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23569 | 15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15376 | 16 |
paul@13223 | 17 DEPENDS="python" |
pascal@21582 | 18 BUILD_DEPENDS="python python-dev python-setuptools" |
paul@13223 | 19 |
pascal@24383 | 20 # What is the latest version available today? |
pascal@24288 | 21 current_version() |
pascal@24288 | 22 { |
pascal@24383 | 23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 24 } |
pascal@24288 | 25 |
paul@13223 | 26 # Rules to configure and make the package. |
paul@13223 | 27 compile_rules() |
paul@13223 | 28 { |
pascal@15376 | 29 python setup.py install --root=$DESTDIR |
paul@13223 | 30 } |
paul@13223 | 31 |
paul@13223 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@13223 | 33 genpkg_rules() |
paul@13223 | 34 { |
Hans-G?nter@25244 | 35 cook_copy_folders lib |
paul@13223 | 36 } |