wok annotate twisted/receipt @ rev 24768
libwebkit: bison 3 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 12:46:44 2022 +0000 (2022-03-19) |
parents | 59ee8f109377 |
children | 1805f71c5d9f |
rev | line source |
---|---|
pascal@2149 | 1 # SliTaz package receipt. |
pascal@2149 | 2 |
pascal@2149 | 3 PACKAGE="twisted" |
Hans-G?nter@23709 | 4 VERSION="20.3.0" |
pascal@2149 | 5 CATEGORY="network" |
pascal@2149 | 6 SHORT_DESC="Event-driven networking for internet applications." |
pascal@2149 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 8 LICENSE="GPL2" |
Hans-G?nter@22064 | 9 WEB_SITE="https://twistedmatrix.com/trac/" |
Hans-G?nter@22064 | 10 |
pascal@2149 | 11 SOURCE="Twisted" |
pascal@2149 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20669 | 13 WGET_URL="https://twistedmatrix.com/Releases/Twisted/${VERSION%.*}/$TARBALL" |
pascal@15600 | 14 |
Hans-G?nter@23709 | 15 DEPENDS="python-attrs python-constantly python-incremental zopeinterface" |
Hans-G?nter@23709 | 16 BUILD_DEPENDS="python python-dev python-incremental python-pip |
Hans-G?nter@23709 | 17 python-setuptools zopeinterface" |
pascal@2149 | 18 |
pascal@24304 | 19 # What is the latest version available today? |
pascal@24304 | 20 current_version() |
pascal@24304 | 21 { |
pascal@24304 | 22 wget -O - https://github.com/twisted/twisted/releases 2>/dev/null | \ |
pascal@24304 | 23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24304 | 24 } |
pascal@24304 | 25 |
pascal@2149 | 26 # Rules to configure and make the package. |
pascal@2149 | 27 compile_rules() |
pascal@2149 | 28 { |
Hans-G?nter@22064 | 29 python setup.py build && |
Hans-G?nter@22064 | 30 python setup.py install --root=$DESTDIR |
pascal@2149 | 31 } |
pascal@2149 | 32 |
pascal@2149 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2149 | 34 genpkg_rules() |
pascal@2149 | 35 { |
Hans-G?nter@23709 | 36 cp -a $install/usr $fs |
pascal@2149 | 37 } |