wok view python-ptyprocess/receipt @ rev 24288

fail2ban: add log4j-jndi.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 13 18:29:05 2022 +0000 (2022-01-13)
parents 814362194a8d
children 076f424196b2
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ptyprocess"
4 SOURCE="ptyprocess"
5 VERSION="0.6.0"
6 CATEGORY="development"
7 SHORT_DESC="Run a subprocess in a pseudo terminal"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="ISCL"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.org/project/$SOURCE/"
12 WGET_URL="https://files.pythonhosted.org/packages/7d/2d/e4b8733cf79b7309d84c9081a4ab558c89d8c89da5961bf4ddb050ca1ce0/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-setuptools"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py install --root=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }