summaryrefslogtreecommitdiffstats
path: root/main/py-twisted-names/APKBUILD
blob: 35cbbd023225a1fa0a767669b03a5e2099289dcb (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-names
_pkgname=TwistedNames
pkgver=13.0.0
pkgrel=0
pkgdesc="Python Twisted Names DNS server and resolver library"
url="http://twistedmatrix.com/trac/wiki/TwistedNames"
arch="noarch"
license="MIT"
depends="py-twisted"
makedepends="python-dev"
source="http://twistedmatrix.com/Releases/Names/${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="9264b6f9fc85e1f7ed31d5fd13eeb48a  TwistedNames-13.0.0.tar.bz2"
sha256sums="831741ec0abaf6fc13469d172152212ab3e8c112b0313c2c0614348e3f32d575  TwistedNames-13.0.0.tar.bz2"
sha512sums="37a4f4dc311243d18752cf9f27a0d65a9c6efa9600f59060e4bd62100863d7b14076d1e1fea51a0fdca67a5807803ebf36c262f44ee80ce2bf14ef1e1512639d  TwistedNames-13.0.0.tar.bz2"