2017-11-05 19:16:51 +11:00
|
|
|
# Description: Python event-driven networking framework.
|
2020-06-01 15:45:48 +00:00
|
|
|
# URL: https://www.twistedmatrix.com/
|
2017-11-05 19:16:51 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2021-09-09 16:49:24 +02:00
|
|
|
# Depends on: python3-automat python3-constantly python3-hyperlink python3-incremental python3-zope-interface
|
2017-11-05 19:16:51 +11:00
|
|
|
|
|
|
|
name=python3-twisted
|
2022-05-31 23:23:24 +02:00
|
|
|
version=22.4.0
|
2017-11-05 19:16:51 +11:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/twisted/twisted/archive/twisted-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd twisted-twisted-$version
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
|
|
|
|
|
|
|
|
# clean up bins
|
|
|
|
cd $PKG/usr/bin
|
|
|
|
for f in *; do
|
|
|
|
mv "$f" "${f%}3"
|
|
|
|
done
|
|
|
|
}
|