wok view python-socketpool/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months 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 }