From ea8696de9f1f6650449fad032d42143262cfcf0b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 15 Nov 2018 00:00:10 +0000 Subject: user/py3-twisted: new package --- user/py3-twisted/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/py3-twisted/APKBUILD (limited to 'user/py3-twisted') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-60-g2f50