wok-current annotate python-mechanize/receipt @ rev 23588
updated python-zfec (1.4.24 -> 1.5.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 14:41:13 2020 +0100 (2020-04-07) |
parents | 814362194a8d |
children | 1df6fa555414 |
rev | line source |
---|---|
pankso@13567 | 1 # SliTaz package receipt. |
pankso@13567 | 2 |
pankso@13567 | 3 PACKAGE="python-mechanize" |
Hans-G?nter@23508 | 4 VERSION="0.4.5" |
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@23508 | 10 |
Hans-G?nter@23508 | 11 SOURCE="mechanize" |
pankso@13567 | 12 TARBALL="${SOURCE}-${VERSION}.tar.gz" |
Hans-G?nter@23508 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/m/$SOURCE/$TARBALL" |
pankso@13567 | 14 |
pankso@13567 | 15 DEPENDS="python" |
Hans-G?nter@23508 | 16 BUILD_DEPENDS="python python-dev python-distribute python-setuptools" |
Hans-G?nter@23508 | 17 |
Hans-G?nter@23508 | 18 HOST_ARCH="i486 arm" |
pankso@13567 | 19 |
pankso@13567 | 20 # Rules to configure and make the package. |
pankso@13567 | 21 compile_rules() |
pankso@13567 | 22 { |
pankso@13567 | 23 python setup.py install --root="$DESTDIR" --optimize=1 |
pankso@13567 | 24 } |
pankso@13567 | 25 |
pankso@13567 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13567 | 27 genpkg_rules() |
pankso@13567 | 28 { |
pankso@13567 | 29 mkdir -p $fs/usr |
Hans-G?nter@23508 | 30 cp -a $install/usr/lib $fs/usr |
pankso@13567 | 31 } |