wok-current annotate python-socketpool/receipt @ rev 24885
updated mcabber (0.9.10 -> 1.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 01 07:52:41 2022 +0100 (2022-04-01) |
parents | 6dc658ef46da |
children |
rev | line source |
---|---|
claudinei@14878 | 1 # SliTaz package receipt. |
claudinei@14878 | 2 |
al@18086 | 3 PACKAGE="python-socketpool" |
Hans-G?nter@23563 | 4 VERSION="0.5.3" |
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" |
Hans-G?nter@23563 | 9 WEB_SITE="https://github.com/benoitc/socketpool/" |
Hans-G?nter@23563 | 10 |
Hans-G?nter@23563 | 11 SOURCE="socketpool" |
pascal@14882 | 12 TARBALL="$SOURCE-$VERSION.zip" |
pascal@14882 | 13 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" |
claudinei@14878 | 14 |
claudinei@14878 | 15 DEPENDS="python" |
Hans-G?nter@23563 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
claudinei@14878 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
claudinei@14878 | 24 # Rules to configure and make the package. |
claudinei@14878 | 25 compile_rules() |
claudinei@14878 | 26 { |
claudinei@14878 | 27 python setup.py install --root=$DESTDIR |
claudinei@14878 | 28 } |
claudinei@14878 | 29 |
claudinei@14878 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14878 | 31 genpkg_rules() |
claudinei@14878 | 32 { |
Hans-G?nter@23563 | 33 rm -rf $install/usr/socketpool |
Hans-G?nter@23563 | 34 |
Hans-G?nter@23563 | 35 cp -a $install/usr $fs |
claudinei@14878 | 36 } |