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

Update python (2.7.15)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 13 13:52:56 2018 +0300 (2018-07-13)
parents c4e53a39395a
children 8b5b2a6d07b8
line source
1 # SliTaz package receipt.
3 PACKAGE="python-mechanize"
4 VERSION="0.2.5"
5 CATEGORY="network"
6 SHORT_DESC="Stateful programmatic web browsing in Python."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://wwwsearch.sourceforge.net/mechanize/"
10 REPOLOGY="python:mechanize"
12 SOURCE="mechanize"
13 TARBALL="${SOURCE}-${VERSION}.tar.gz"
14 WGET_URL="http://pypi.python.org/packages/source/m/mechanize/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python-dev python-distribute"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py install --root="$DESTDIR" --optimize=1
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }