wok-next view python-mechanize/receipt @ rev 19880
Up cookutils, eudev, firmware, ncurses, paper-gtk-theme, paper-icon-theme, slitaz-configs; remove slitaz-next.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 05 21:53:37 2017 +0300 (2017-10-05) |
parents | 7d672a2330b8 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-mechanize"
4 VERSION="0.2.5"
5 SOURCE="mechanize"
6 CATEGORY="network"
7 SHORT_DESC="Stateful programmatic web browsing in Python."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="${SOURCE}-${VERSION}.tar.gz"
11 WEB_SITE="http://wwwsearch.sourceforge.net/mechanize/"
12 WGET_URL="http://pypi.python.org/packages/source/m/mechanize/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev python-distribute"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root="$DESTDIR" --optimize=1
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }