aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-twisted-words/APKBUILD
blob: 92de96025dd9f27d6919f8688a25fc6932626571 (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-words
_pkgname=TwistedWords
pkgver=13.0.0
pkgrel=0
pkgdesc="Python Twisted Words library"
url="http://twistedmatrix.com/trac/wiki/TwistedWords"
arch="noarch"
license="MIT"
depends="py-twisted"
makedepends="python-dev"
source="http://twistedmatrix.com/Releases/Words/${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="ccbfed2e563ffdf49ac91d0cf06c629c  TwistedWords-13.0.0.tar.bz2"
sha256sums="aec3ea773d7a6b3744edaa4206a9d9ce0f20c414c09bc8e53cbc8c96558acbe6  TwistedWords-13.0.0.tar.bz2"
sha512sums="5693eaee5dfe2687190e88cb0bc7f13ad7ab8dd1f5c3ac5a2ebf50cfdf667743d7f486d31e53de7d55bc3cfaa7f3e8cab500bd6da0a03a60522b815e4eac1dc5  TwistedWords-13.0.0.tar.bz2"