summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-21 13:45:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-21 13:45:48 +0000
commit171b5c7d1d242eebd519815069d6359b6113a180 (patch)
treecbd4630f769572e623a5f4759f49b2fa2ec0438c
parentf9ca1925e34255433cc81edbfee99526c16bebc7 (diff)
downloadaports-171b5c7d1d242eebd519815069d6359b6113a180.tar.bz2
aports-171b5c7d1d242eebd519815069d6359b6113a180.tar.xz
testing/py-twisted: renamed from twisted
-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 5c6d8541a..bc21c236f 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
}