blob: f7ce9445a0b2859f0226635d9ec5cce2f5e8982c (
plain)
1 # Description: Python event-driven networking framework.
2 # URL: http://www.twistedmatrix.com/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: python3-Automat python3-constantly python3-hyperlink python3-incremental python3-zope-interface
5
6 name=python3-twisted
7 version=19.10.0
8 release=1
9 source=(https://github.com/twisted/twisted/archive/twisted-$version.tar.gz)
10
11 build() {
12 cd twisted-twisted-$version
13 /usr/bin/python3 setup.py build
14 /usr/bin/python3 setup.py install --root=$PKG --optimize=1
15
16 # clean up bins
17 cd $PKG/usr/bin
18 for f in *; do
19 mv "$f" "${f%}3"
20 done
21 }
|