wok annotate python-http-parser/receipt @ rev 20658

sakura: revert previous (fix login shell)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 13 20:57:08 2019 +0100 (2019-01-13)
parents 2a5cc8208d36
children 814362194a8d
rev   line source
claudinei@14877 1 # SliTaz package receipt.
claudinei@14877 2
claudinei@14877 3 PACKAGE="python-http-parser"
claudinei@14877 4 SOURCE="http-parser"
claudinei@14877 5 VERSION="0.8.1"
claudinei@14877 6 CATEGORY="development"
claudinei@14877 7 SHORT_DESC="HTTP request/response parser for python in C"
claudinei@14877 8 MAINTAINER="claudinei@slitaz.org"
pascal@15379 9 LICENSE="MIT"
pascal@14882 10 TARBALL="$SOURCE-$VERSION.zip"
claudinei@14877 11 WEB_SITE="https://github.com/benoitc/http-parser/"
pascal@14882 12 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
claudinei@14877 13
claudinei@14877 14 DEPENDS="python"
pascal@14883 15 BUILD_DEPENDS="python-dev setuptools wget python-cython"
claudinei@14877 16
claudinei@14877 17 # Rules to configure and make the package.
claudinei@14877 18 compile_rules()
claudinei@14877 19 {
claudinei@14877 20 python setup.py install --root=$DESTDIR
claudinei@14877 21 }
claudinei@14877 22
claudinei@14877 23 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@14877 24 genpkg_rules()
claudinei@14877 25 {
claudinei@14877 26 mkdir -p $fs/usr
claudinei@14877 27 cp -a $install/usr $fs
claudinei@14877 28 }