aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-twisted-web/APKBUILD
blob: 48a2ca510a10cdde12a07d80394277605d08f980 (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.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="2c95ae74a850cf3db078d52d97939fc1  TwistedWeb-13.0.0.tar.bz2"
sha256sums="a3f6b3a47950d96a6da5cf28bf4c1e0bfa894ff2a1c38c38eac4876cac0bdc55  TwistedWeb-13.0.0.tar.bz2"
sha512sums="d034a63a8d9a52f2db7967e57245a18ff288f1030579204286cc6d4990afe6fa30fb8aa73f62460ecaabaa76c1cc20be75aef0382f5c1bd565bef7923a9c86f8  TwistedWeb-13.0.0.tar.bz2"