summaryrefslogtreecommitdiffstats
path: root/main/py-twisted-names/APKBUILD
blob: 16468a9e6d7aa40e3fa90ec11f91c26f1de3c9a8 (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=12.3.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="946d0d16c06abac58479332cb8a9b006  TwistedNames-12.3.0.tar.bz2"
sha256sums="0e125aee9ef0025527cd30fb91ba6b520b237402629bfabdbb40148aec31156a  TwistedNames-12.3.0.tar.bz2"
sha512sums="c77c99fabaa1d778852a4310207b452a17b2aa3c3241c250055a0f56b4eaf4aaa72c2e005318d10792f2b1c563568f28efda62fa5ff14b5a2b82c05ce4d58143  TwistedNames-12.3.0.tar.bz2"