python3-twisted: adopted port

This commit is contained in:
Tim Biermann 2023-08-06 21:41:58 +02:00
parent 294d93ca23
commit 3e0c6b2924
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 19 additions and 869 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF395UNDoTGC4llg0GJJeQfyJeOhSKuFxbn9Bm/moNh0pV5EuyA/3uHtlgvg0ldhpQ6kZZwhoJ4zviiVxIImPwAQQ=
SHA256 (Pkgfile) = 895398ee13b87d824460d1d28ae164f7dc5e772425fe7d9233961285f50483b8
SHA256 (.footprint) = 4eb9397620b57296b05e664e83ca40b061d8a6bbf6d51db3013920ed299af2ce
RWSagIOpLGJF34sUFpFvuI45oCqjnnGAijpBCoNK4VstyUioWvp93fZheiDKthiCkIP9dxwj0ADs5VqjbMYjvbYHJCdYUlhLiAc=
SHA256 (Pkgfile) = 842c91025dec6167294912ec75e02ad37f75f7989d6690f1d147e1a851b919a4
SHA256 (.footprint) = a6f5b0abffb882a2770d1ad57caa28268e52d90c604e8c0506261f9a46117c9b
SHA256 (twisted-22.10.0.tar.gz) = 2a310f83278b54d8e8e2b9d804baf839835f80ab5b42e141a370cdc170dd7ddb

View File

@ -1,6 +1,6 @@
# Description: Python event-driven networking framework.
# Description: Python event-driven networking framework
# URL: https://www.twistedmatrix.com/
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-automat python3-constantly python3-hyperlink python3-incremental python3-zope-interface
name=python3-twisted
@ -9,13 +9,10 @@ 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
cd twisted-twisted-$version
# clean up bins
cd $PKG/usr/bin
for f in *; do
mv "$f" "${f%}3"
done
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG \
--skip-build
}