aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-dnslib/APKBUILD
blob: 40e2b41bade3dc9937d107c6c12a96f545566d26 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-dnslib
_pkgname=dnslib
pkgver=0.9.10
pkgrel=0
pkgdesc="A simple library to encode/decode DNS wire-format packets"
url="https://bitbucket.org/paulc/dnslib/"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces=py-dnslib # Backwards compatibility
provides=py-dnslib=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6d57dde440baffcc279e159554654b41adedd0471e56fb91a665596e2b7c2d3d909a9d72bd4a465638b177f5d81ceffc0737335964508bf5046ee38f5046bba5  dnslib-0.9.10.tar.gz"