22 lines
591 B
Plaintext
22 lines
591 B
Plaintext
# Description: Python event-driven networking framework.
|
|
# URL: https://www.twistedmatrix.com/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: python3-automat python3-constantly python3-hyperlink python3-incremental python3-zope-interface
|
|
|
|
name=python3-twisted
|
|
version=21.7.0
|
|
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
|
|
}
|