summaryrefslogtreecommitdiffstats
path: root/main/py-twisted-names/APKBUILD
blob: c0de300daac9608cea6bed1d02ac541ddac83de2 (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.1.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="f022cae6df43303c9cb6364ab86cbc04  TwistedNames-13.1.0.tar.bz2"
sha256sums="f4d4825f77a0768a8a537a5b7604dc934be3fba547db444c3dafcef767476aa6  TwistedNames-13.1.0.tar.bz2"
sha512sums="adf79924fd0e8a09e01d99e36b3ca1c67f13e8201460a8ffa24b5ca45a12de7c63d9a3f72dce78eef0faf30ae7895d85833f5f8aa979346e938304087715d3b3  TwistedNames-13.1.0.tar.bz2"