wok view python-socketpool/receipt @ rev 25783
Up verbiste (0.1.49)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 13:23:01 2024 +0000 (6 weeks ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-socketpool"
4 VERSION="0.5.3"
5 CATEGORY="development"
6 SHORT_DESC="A simple python socket pool."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/benoitc/socketpool/"
11 SOURCE="socketpool"
12 TARBALL="$SOURCE-$VERSION.zip"
13 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev python-setuptools"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 rm -rf $install/usr/socketpool
36 cp -a $install/usr $fs
37 }