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

Add: gif2apng, apng2gif, apngasm, apngdis, apngopt, libpng+apng (latest stable libpng 1.6.2); up: optipng (0.7.4).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 14 03:16:29 2013 +0000 (2013-06-14)
parents
children fd4f1e692109
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 TARBALL="${SOURCE}-${VERSION}.tar.gz"
10 WEB_SITE="http://wwwsearch.sourceforge.net/mechanize/"
11 WGET_URL="http://pypi.python.org/packages/source/m/mechanize/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev python-distribute"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root="$DESTDIR" --optimize=1
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/lib $fs/usr
28 }