wok-current annotate python-mechanize/receipt @ rev 25256
updated qrencode and qrencode-dev (4.0.2 -> 4.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 06:38:49 2022 +0100 (2022-07-15) |
parents | 076f424196b2 |
children |
rev | line source |
---|---|
pankso@13567 | 1 # SliTaz package receipt. |
pankso@13567 | 2 |
pankso@13567 | 3 PACKAGE="python-mechanize" |
Hans-G?nter@25203 | 4 VERSION="0.4.7" |
pankso@13567 | 5 CATEGORY="network" |
pankso@13567 | 6 SHORT_DESC="Stateful programmatic web browsing in Python." |
pankso@13567 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
Hans-G?nter@23508 | 9 WEB_SITE="https://pypi.org/project/mechanize/" |
Hans-G?nter@25203 | 10 REPOLOGY="python:mechanize" |
Hans-G?nter@23508 | 11 |
Hans-G?nter@23508 | 12 SOURCE="mechanize" |
Hans-G?nter@25203 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25203 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pankso@13567 | 15 |
pankso@13567 | 16 DEPENDS="python" |
Hans-G?nter@23508 | 17 BUILD_DEPENDS="python python-dev python-distribute python-setuptools" |
Hans-G?nter@23508 | 18 |
Hans-G?nter@23508 | 19 HOST_ARCH="i486 arm" |
pankso@13567 | 20 |
pascal@24383 | 21 # What is the latest version available today? |
pascal@24288 | 22 current_version() |
pascal@24288 | 23 { |
pascal@24383 | 24 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 25 } |
pascal@24288 | 26 |
pankso@13567 | 27 # Rules to configure and make the package. |
pankso@13567 | 28 compile_rules() |
pankso@13567 | 29 { |
pankso@13567 | 30 python setup.py install --root="$DESTDIR" --optimize=1 |
pankso@13567 | 31 } |
pankso@13567 | 32 |
pankso@13567 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13567 | 34 genpkg_rules() |
pankso@13567 | 35 { |
Hans-G?nter@25203 | 36 cook_copy_folders lib |
pankso@13567 | 37 } |