wok view python-requests/receipt @ rev 18472

ghostscript, libv4l, slitaz-base-files: fix installation (thanks llev)
ghostscript: fix package upgrades;
libv4l: check multiple preloads in case of upgrade, not add preload if installation not finished/fails;
slitaz-base-files: not to overwrite real sudo.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 05 01:10:26 2015 +0300 (2015-10-05)
parents 313b384e2a06
children 6d05491c304a
line source
1 # SliTaz package receipt.
3 PACKAGE="python-requests"
4 VERSION="2.3.0"
5 CATEGORY="network"
6 SHORT_DESC="Python HTTP Requests for Humans"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="http://python-requests.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/kennethreitz/requests/archive/v$VERSION.tar.gz"
13 DEPENDS="python"
14 BUILD_DEPENDS="python wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py install --no-compile --root=$install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $install/* $fs
26 }