wok-6.x annotate twisted/receipt @ rev 23879
Up slitaz-boot-scripts (461): busybox may need /usr/lib/libstd++.so
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 05 12:49:35 2020 +0000 (2020-07-05) |
parents | 9b3543315b4e |
children | 922f061231c2 |
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@2149 | 19 # Rules to configure and make the package. |
pascal@2149 | 20 compile_rules() |
pascal@2149 | 21 { |
Hans-G?nter@22064 | 22 python setup.py build && |
Hans-G?nter@22064 | 23 python setup.py install --root=$DESTDIR |
pascal@2149 | 24 } |
pascal@2149 | 25 |
pascal@2149 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2149 | 27 genpkg_rules() |
pascal@2149 | 28 { |
Hans-G?nter@23709 | 29 cp -a $install/usr $fs |
pascal@2149 | 30 } |