summaryrefslogtreecommitdiffstats
path: root/main/py-twisted-web/APKBUILD
blob: 5ddd2e8ef9f60db91dadd491c502c96f24e4dfa4 (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.1.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="62294e463403a571032f142d1fa04f58  TwistedWeb-13.1.0.tar.bz2"
sha256sums="2594fd520b74a8194fe82326fb3f0b72858020db345b18ad06aefd0690efb1aa  TwistedWeb-13.1.0.tar.bz2"
sha512sums="787c9676b73d0b6b746f887bf4eec7afa6658e8b03d0595bf91b5c6df7bf7bd82c4f7f90e989130c1e022d6ad96317995077a4bcca768df8aae3dab2421ff133  TwistedWeb-13.1.0.tar.bz2"