summaryrefslogtreecommitdiffstats
path: root/main/py-twisted-words/APKBUILD
blob: dbb18de6d174498f6e3bff277fde769f3b59fc7b (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=15.1.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="297fc1562778b4d258c750645b90bd03  TwistedWords-15.1.0.tar.bz2"
sha256sums="94863962e5dc339217c2c6dbeb081d78e8976a20bd588f287a23974bf58c1adc  TwistedWords-15.1.0.tar.bz2"
sha512sums="1b711fea9aabc0d9f3e73e811cabbde41f1e5bdf4573dbe5fcbedb7da480aabe0ed23e006433ad3c425db39277c58804ef408c5d31d2b3e7c2c5564a9a631857  TwistedWords-15.1.0.tar.bz2"