wok annotate python-restkit/receipt @ rev 24133
Up tazinst (115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:17:56 2021 +0000 (2021-10-23) |
parents | 814362194a8d |
children | 1df6fa555414 |
rev | line source |
---|---|
claudinei@14879 | 1 # SliTaz package receipt. |
claudinei@14879 | 2 |
claudinei@14879 | 3 PACKAGE="python-restkit" |
Hans-G?nter@23555 | 4 VERSION="4.2.2" |
claudinei@14879 | 5 CATEGORY="development" |
Hans-G?nter@23555 | 6 SHORT_DESC="An HTTP resource kit for Python." |
claudinei@14879 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15376 | 8 LICENSE="MIT" |
Hans-G?nter@23555 | 9 |
Hans-G?nter@23555 | 10 SOURCE="restkit" |
Hans-G?nter@23555 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23555 | 12 WEB_SITE="https://pypi.org/project/restkit/" |
Hans-G?nter@23555 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
claudinei@14879 | 14 |
claudinei@14879 | 15 DEPENDS="python python-http-parser python-socketpool" |
Hans-G?nter@23555 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
claudinei@14879 | 17 |
claudinei@14879 | 18 # Rules to configure and make the package. |
claudinei@14879 | 19 compile_rules() |
claudinei@14879 | 20 { |
claudinei@14879 | 21 python setup.py install --root=$DESTDIR |
claudinei@14879 | 22 } |
claudinei@14879 | 23 |
claudinei@14879 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14879 | 25 genpkg_rules() |
claudinei@14879 | 26 { |
claudinei@14879 | 27 mkdir -p $fs/usr |
Hans-G?nter@23555 | 28 |
Hans-G?nter@23555 | 29 rm -rf $install/usr/restkit |
Hans-G?nter@23555 | 30 cp -a $install/usr $fs |
claudinei@14879 | 31 } |