summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/py3-twisted/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/py3-twisted/APKBUILD b/user/py3-twisted/APKBUILD
new file mode 100644
index 000000000..e9d38cf7a
--- /dev/null
+++ b/user/py3-twisted/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=py3-twisted
+_pkgname=Twisted
+pkgver=18.9.0
+pkgrel=0
+pkgdesc="Asynchronous networking framework written in Python"
+url="https://twistedmatrix.com/"
+arch="all"
+license="MIT"
+depends="py3-incremental"
+makedepends="python3-dev"
+subpackages=""
+source="https://files.pythonhosted.org/packages/5d/0e/a72d85a55761c2c3ff1cb968143a2fd5f360220779ed90e0fadf4106d4f2/Twisted-$pkgver.tar.bz2"
+builddir="$srcdir/Twisted-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py test
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="a9878750f46207b8758f5407a0e4332d9e367bd3ed4e18001825982c3ba78c56372934e634f1866805b9b9bc452698ad36396285172b61cf84da0de5efa7cc29 Twisted-18.9.0.tar.bz2"