wok-6.x annotate python-http-parser/receipt @ rev 24277
updated python-http-parser (0.8.3 -> 0.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 06 07:57:35 2022 +0100 (2022-01-06) |
parents | 5ea0ce1cecc0 |
children | 1c472d55ff93 |
rev | line source |
---|---|
claudinei@14877 | 1 # SliTaz package receipt. |
claudinei@14877 | 2 |
claudinei@14877 | 3 PACKAGE="python-http-parser" |
Hans-G?nter@24277 | 4 VERSION="0.9.0" |
claudinei@14877 | 5 CATEGORY="development" |
Hans-G?nter@23493 | 6 SHORT_DESC="HTTP request and response parser for python in C." |
claudinei@14877 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
Hans-G?nter@24277 | 9 WEB_SITE="https://pypi.org/project/http-parser/" |
Hans-G?nter@24277 | 10 REPOLOGY="python:http-parser" |
Hans-G?nter@23493 | 11 |
Hans-G?nter@23493 | 12 SOURCE="http-parser" |
Hans-G?nter@24277 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24277 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/h/$SOURCE/$TARBALL" |
claudinei@14877 | 15 |
claudinei@14877 | 16 DEPENDS="python" |
Hans-G?nter@24277 | 17 BUILD_DEPENDS="python-cython python-dev python-setuptools" |
claudinei@14877 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
claudinei@14877 | 25 # Rules to configure and make the package. |
claudinei@14877 | 26 compile_rules() |
claudinei@14877 | 27 { |
claudinei@14877 | 28 python setup.py install --root=$DESTDIR |
claudinei@14877 | 29 } |
claudinei@14877 | 30 |
claudinei@14877 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14877 | 32 genpkg_rules() |
claudinei@14877 | 33 { |
claudinei@14877 | 34 mkdir -p $fs/usr |
Hans-G?nter@24277 | 35 cp -a $install/usr $fs |
claudinei@14877 | 36 } |