wok-next annotate python-http-parser/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 6c73b944e8dd
children c9a7a7b42a86
rev   line source
claudinei@14877 1 # SliTaz package receipt.
claudinei@14877 2
claudinei@14877 3 PACKAGE="python-http-parser"
claudinei@14877 4 VERSION="0.8.1"
claudinei@14877 5 CATEGORY="development"
claudinei@14877 6 SHORT_DESC="HTTP request/response parser for python in C"
claudinei@14877 7 MAINTAINER="claudinei@slitaz.org"
pascal@15379 8 LICENSE="MIT"
al@20885 9 WEB_SITE="https://github.com/benoitc/http-parser/"
al@20885 10 REPOLOGY="python:http-parser"
al@20885 11
al@20885 12 SOURCE="http-parser"
pascal@14882 13 TARBALL="$SOURCE-$VERSION.zip"
pascal@14882 14 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
claudinei@14877 15
claudinei@14877 16 DEPENDS="python"
al@20444 17 BUILD_DEPENDS="python-dev python-cython"
claudinei@14877 18
claudinei@14877 19 # Rules to configure and make the package.
claudinei@14877 20 compile_rules()
claudinei@14877 21 {
claudinei@14877 22 python setup.py install --root=$DESTDIR
claudinei@14877 23 }
claudinei@14877 24
claudinei@14877 25 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@14877 26 genpkg_rules()
claudinei@14877 27 {
claudinei@14877 28 mkdir -p $fs/usr
claudinei@14877 29 cp -a $install/usr $fs
claudinei@14877 30 }