aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-twisted-web/APKBUILD
blob: a89888538836c770a111aea06dc36c64b80b8a34 (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: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-twisted-web
_pkgname=TwistedWeb
pkgver=15.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="49ef88f2e9f16741911a0894dfa8bc28  TwistedWeb-15.1.0.tar.bz2"
sha256sums="ef55ca0c425f3eed8080003cab080365d7dde038c6554581b4a06aab5a3285ce  TwistedWeb-15.1.0.tar.bz2"
sha512sums="3eccfafa1110b4fa85892fb3c8b0a37514c33c51f1edc6ac41c257dd198fa2f113e82b884dc6af3fa4dc1aefc69e8e6cc3ab1fc19a569c125e608a829c229748  TwistedWeb-15.1.0.tar.bz2"