summaryrefslogtreecommitdiffstats
path: root/main/py-twisted-names/APKBUILD
blob: 8ea764d18d48479e4e47cdd943f71df2c34fbf3f (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=15.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="da57281cfa602fdeb99cf011de54e186  TwistedNames-15.1.0.tar.bz2"
sha256sums="998821c69b8f950264985bcb296340023602d81899a8e3345b055fb05e1f9b28  TwistedNames-15.1.0.tar.bz2"
sha512sums="c03141bce0eb26de927d537a896b72823b8dbabde946a3dffd68331c6bb63deab4e7260e07540eb980d31a190c7d5b8224b46dc2e908e8b1aa8c6f869acf745a  TwistedNames-15.1.0.tar.bz2"