wok-6.x annotate python-requests/receipt @ rev 16776
Add: httpie, python-requests; up: python-pygments (1.6), setuptools (4.0.1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 22 01:53:55 2014 +0300 (2014-06-22) |
parents | |
children | 5b063a7e40ae |
rev | line source |
---|---|
al@16776 | 1 # SliTaz package receipt. |
al@16776 | 2 |
al@16776 | 3 PACKAGE="python-requests" |
al@16776 | 4 VERSION="2.3.0" |
al@16776 | 5 CATEGORY="network" |
al@16776 | 6 SHORT_DESC="Python HTTP Requests for Humans" |
al@16776 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16776 | 8 LICENSE="Apache2" |
al@16776 | 9 WEB_SITE="http://python-requests.org/" |
al@16776 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16776 | 11 WGET_URL="https://github.com/kennethreitz/requests/archive/v$VERSION.tar.gz" |
al@16776 | 12 |
al@16776 | 13 DEPENDS="python" |
al@16776 | 14 BUILD_DEPENDS="python wget" |
al@16776 | 15 |
al@16776 | 16 # Rules to configure and make the package. |
al@16776 | 17 compile_rules() |
al@16776 | 18 { |
al@16776 | 19 python setup.py install --no-compile --root=$install |
al@16776 | 20 } |
al@16776 | 21 |
al@16776 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16776 | 23 genpkg_rules() |
al@16776 | 24 { |
al@16776 | 25 cp -a $install/* $fs |
al@16776 | 26 } |