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

updated strace (5.6 -> 5.18)
author Hans-G?nter Theisgen
date Sat Jul 23 14:59:58 2022 +0100 (2022-07-23)
parents 1c472d55ff93
children
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@24383 19 # What is the latest version available today?
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24383 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
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 }