wok-6.x annotate python-requests/receipt @ rev 17484
opus-tools: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 30 10:55:38 2014 +0100 (2014-12-30) |
parents | 313b384e2a06 |
children | 6d05491c304a |
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" |
pascal@17345 | 8 LICENSE="Apache" |
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 } |