wok-next annotate 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 |
rev | line source |
---|---|
pankso@13567 | 1 # SliTaz package receipt. |
pankso@13567 | 2 |
pankso@13567 | 3 PACKAGE="python-mechanize" |
pankso@13567 | 4 VERSION="0.2.5" |
pankso@13567 | 5 CATEGORY="network" |
pankso@13567 | 6 SHORT_DESC="Stateful programmatic web browsing in Python." |
pankso@13567 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
al@20885 | 9 WEB_SITE="http://wwwsearch.sourceforge.net/mechanize/" |
al@20885 | 10 REPOLOGY="python:mechanize" |
al@20885 | 11 |
al@20885 | 12 SOURCE="mechanize" |
pankso@13567 | 13 TARBALL="${SOURCE}-${VERSION}.tar.gz" |
pankso@13567 | 14 WGET_URL="http://pypi.python.org/packages/source/m/mechanize/$TARBALL" |
pankso@13567 | 15 |
pankso@13567 | 16 DEPENDS="python" |
pankso@13567 | 17 BUILD_DEPENDS="python-dev python-distribute" |
pankso@13567 | 18 |
pankso@13567 | 19 # Rules to configure and make the package. |
pankso@13567 | 20 compile_rules() |
pankso@13567 | 21 { |
pankso@13567 | 22 python setup.py install --root="$DESTDIR" --optimize=1 |
pankso@13567 | 23 } |
pankso@13567 | 24 |
pankso@13567 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13567 | 26 genpkg_rules() |
pankso@13567 | 27 { |
pankso@13567 | 28 mkdir -p $fs/usr |
pankso@13567 | 29 cp -a $install/usr/lib $fs/usr |
pankso@13567 | 30 } |