summaryrefslogtreecommitdiffstats
path: root/main/py-twisted-web/APKBUILD
blob: a4feedcb2a065d2999e749a072bd51c5e1f95d9d (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=12.0.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="e253566d86305bd1335874e69803d4f6  TwistedWeb-12.0.0.tar.bz2"
sha256sums="ff6d0dad12f1928deca23c8d05a0cb9a340abbb6e2cd8bc503e4092a0a873859  TwistedWeb-12.0.0.tar.bz2"
sha512sums="8a3e39989efa179e08ce4e15287fe0f12315b296fa7216d8444f6470e5860fb57e95c5173c30bdf1afa25304b411358ff1516069d486fd72559adfb89892b742  TwistedWeb-12.0.0.tar.bz2"