aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-twisted-web/APKBUILD
blob: ff3d8bf1a7d163f0f230e90ad6e216ff25421732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Jeff Bilyk <jbilyk@alpinelinux.org>
# Maintainer:
pkgname=py-twisted-web
_pkgname=TwistedWeb
pkgver=13.2.0
pkgrel=0
pkgdesc="Python Twisted Web library"
url="http://twistedmatrix.com/trac/wiki/TwistedWeb"
arch="noarch"
license="MIT"
depends="py-twisted"
makedepends="python-dev"
source="http://twistedmatrix.com/Releases/Web/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="7acd74f2975062213eeb88905a50521e  TwistedWeb-13.2.0.tar.bz2"
sha256sums="aee160e0264d9dbaa0ec0613851128c91e3ac4246d3e9e13a6f2cfdfe7a4904f  TwistedWeb-13.2.0.tar.bz2"
sha512sums="69e721ec456214d000f88268340b7cf21186073af11e7f906bf95c9a1bfaf49fdc5832b4e39586ebdddd3f1378bf823ab147de58d7aa9e8491a2561a54389a1f  TwistedWeb-13.2.0.tar.bz2"