diff options
-rw-r--r-- | testing/py-twisted/APKBUILD (renamed from testing/twisted/APKBUILD) | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testing/twisted/APKBUILD b/testing/py-twisted/APKBUILD index 5c6d8541a5..bc21c236f9 100644 --- a/testing/twisted/APKBUILD +++ b/testing/py-twisted/APKBUILD @@ -1,17 +1,22 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=twisted +pkgname=py-twisted pkgver=8.2.0 pkgrel=2 pkgdesc="Asynchronous networking framework written in Python." url="http://twistedmatrix.com/" license="MIT" -depends="python pycrypto zope-interface" +depends="python py-crypto py-zope-interface" makedepends="python-dev" source="http://tmrc.mit.edu/mirror/$pkgname/Twisted/8.2/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 } |