summaryrefslogblamecommitdiff
path: root/user/py3-twisted/APKBUILD
blob: 4a397f16d3c5855ae3b5721e0412b20f2caa5415 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



                                                  
             







                                                             
                                                                                                           
















                                                               
                                                                                                                                                                     
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-twisted
_pkgname=Twisted
pkgver=19.2.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/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$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="46f2645e71bb8eca65c915078c7b0e71c6ed0c09deb9d947765326986b7cb7d535f2e15af23a48579d86be98d208a110c848b72803a68340b7b31a22784a62f2  Twisted-19.2.0.tar.bz2"