summaryrefslogtreecommitdiffstats
path: root/main/py-twisted-words/APKBUILD
blob: 60ba0d7b3d64c811c02f9b5fa79bdce7c69a4895 (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=12.3.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="3146f62e2d4252aa781c4a2fbcae6ea9  TwistedWords-12.3.0.tar.bz2"
sha256sums="e6cd4f197aa698d95c80549d869a397299be2e69b148ac90c839b258b03c0980  TwistedWords-12.3.0.tar.bz2"
sha512sums="270638482e452ed6287818b129b5e22963a29325b5b60aa8b257509e4d4a359ff0f6fa0cacd666d263de52ea9c2a8b33802b2c6ec7f5d50258e961169a2aec69  TwistedWords-12.3.0.tar.bz2"