wok-6.x view python-mechanize/receipt @ rev 23652

updated smtube (19.6.0 -> 20.1.0)
author Hans-G?nter Theisgen
date Mon Apr 20 15:28:06 2020 +0100 (2020-04-20)
parents 814362194a8d
children 1df6fa555414
line source
1 # SliTaz package receipt.
3 PACKAGE="python-mechanize"
4 VERSION="0.4.5"
5 CATEGORY="network"
6 SHORT_DESC="Stateful programmatic web browsing in Python."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/mechanize/"
11 SOURCE="mechanize"
12 TARBALL="${SOURCE}-${VERSION}.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/m/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev python-distribute python-setuptools"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 python setup.py install --root="$DESTDIR" --optimize=1
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }