mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 22:32:14 +01:00
24 lines
703 B
Plaintext
24 lines
703 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py-twisted
|
|
pkgver=10.0.0
|
|
pkgrel=1
|
|
pkgdesc="Asynchronous networking framework written in Python."
|
|
url="http://twistedmatrix.com/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends="python py-crypto py-zope-interface"
|
|
makedepends="python-dev"
|
|
source="http://tmrc.mit.edu/mirror/twisted/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2"
|
|
|
|
build() {
|
|
cd "$srcdir"/Twisted-$pkgver
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir"/Twisted-$pkgver
|
|
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
md5sums="3b226af1a19b25e3b3e93cc6edf5e284 Twisted-10.0.0.tar.bz2"
|