wok-next rev 20927
punjab -> python-punjab
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 22 17:33:48 2018 +0300 (2018-08-22) |
parents | 680393ac1f5c |
children | afcdeab84551 |
files | punjab/receipt python-punjab/receipt |
line diff
1.1 --- a/punjab/receipt Wed Aug 22 17:26:14 2018 +0300 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,29 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="punjab" 1.7 -VERSION="0.14" 1.8 -CATEGORY="network" 1.9 -SHORT_DESC="HTTP jabber proxy allowing persistent client connections." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="GPL2" 1.12 -WEB_SITE="http://punjab.sourceforge.net" 1.13 -REPOLOGY="python:punjab" 1.14 - 1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WGET_URL="http://code.stanziq.com/$PACKAGE/releases/$TARBALL" 1.17 -CONFIG_FILES="/etc/punjab.tac" 1.18 - 1.19 -DEPENDS="python twisted pyopenssl" 1.20 -BUILD_DEPENDS="python python-dev" 1.21 - 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - python setup.py build && python setup.py install --root=$DESTDIR 1.26 -} 1.27 - 1.28 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 -genpkg_rules() 1.30 -{ 1.31 - cp -a $install/* $fs 1.32 -}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/python-punjab/receipt Wed Aug 22 17:33:48 2018 +0300 2.3 @@ -0,0 +1,24 @@ 2.4 +# SliTaz package receipt v2. 2.5 + 2.6 +PACKAGE="python-punjab" 2.7 +VERSION="latest" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="HTTP jabber proxy allowing persistent client connections" 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +WEB_SITE="https://pypi.org/project/punjab/" 2.13 +HOST_ARCH="any" 2.14 +REPOLOGY="python:punjab" 2.15 + 2.16 +BUILD_DEPENDS="python" 2.17 + 2.18 +compile_rules() { 2.19 + pip install --no-compile --root=$DESTDIR punjab 2.20 +} 2.21 + 2.22 +genpkg_rules() { 2.23 + VERSION=$(sed -n '/^Successfully installed/ s|.*punjab-||p' $LOGS/$PACKAGE.log) 2.24 + copy @std 2.25 + DEPENDS="python twisted pyopenssl" 2.26 + CONFIG_FILES="/etc/punjab.tac" 2.27 +}