wok-current view python-socketpool/receipt @ rev 22774
Add serf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 25 17:25:42 2020 +0100 (2020-01-25) |
parents | 7390f8de9846 |
children | 6dc658ef46da |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-socketpool"
4 SOURCE="socketpool"
5 VERSION="0.5.2"
6 CATEGORY="development"
7 SHORT_DESC="A simple python socket pool."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="https://github.com/benoitc/socketpool/"
12 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python-setuptools wget"
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 rm -rf $install/usr/socketpool
28 cp -a $install/usr $fs
29 }