# Description: Python event-driven networking framework
# URL: https://www.twistedmatrix.com/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-automat python3-constantly python3-hyperlink python3-incremental python3-zope-interface

name=python3-twisted
version=22.10.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 --prefix=/usr \
    --root=$PKG \
    --skip-build
}
