wok-next view python-mechanize/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents 16df76e1fc6a
children 9b3461bf373c
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"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python-distribute"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }