wok-next annotate python-socketpool/receipt @ rev 20958
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Sep 06 04:28:48 2018 +0300 (2018-09-06) |
parents | 6c73b944e8dd |
children | c9a7a7b42a86 |
rev | line source |
---|---|
claudinei@14878 | 1 # SliTaz package receipt. |
claudinei@14878 | 2 |
al@18086 | 3 PACKAGE="python-socketpool" |
claudinei@14878 | 4 VERSION="0.5.2" |
claudinei@14878 | 5 CATEGORY="development" |
claudinei@14878 | 6 SHORT_DESC="A simple python socket pool." |
claudinei@14878 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15376 | 8 LICENSE="MIT" |
al@20887 | 9 WEB_SITE="https://github.com/benoitc/socketpool/" |
al@20887 | 10 REPOLOGY="python:socketpool" |
al@20887 | 11 |
al@20887 | 12 SOURCE="socketpool" |
pascal@14882 | 13 TARBALL="$SOURCE-$VERSION.zip" |
pascal@14882 | 14 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" |
claudinei@14878 | 15 |
claudinei@14878 | 16 DEPENDS="python" |
al@20444 | 17 BUILD_DEPENDS="python-dev" |
claudinei@14878 | 18 |
claudinei@14878 | 19 # Rules to configure and make the package. |
claudinei@14878 | 20 compile_rules() |
claudinei@14878 | 21 { |
claudinei@14878 | 22 python setup.py install --root=$DESTDIR |
claudinei@14878 | 23 } |
claudinei@14878 | 24 |
claudinei@14878 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14878 | 26 genpkg_rules() |
claudinei@14878 | 27 { |
claudinei@14878 | 28 mkdir -p $fs/usr |
claudinei@14878 | 29 rm -rf $install/usr/socketpool |
claudinei@14878 | 30 cp -a $install/usr $fs |
claudinei@14878 | 31 } |