wok-6.x view python-http-parser/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents 2a5cc8208d36
children 814362194a8d
line source
1 # SliTaz package receipt.
3 PACKAGE="python-http-parser"
4 SOURCE="http-parser"
5 VERSION="0.8.1"
6 CATEGORY="development"
7 SHORT_DESC="HTTP request/response parser for python in C"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="https://github.com/benoitc/http-parser/"
12 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev setuptools wget python-cython"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr $fs
28 }