1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/py3-localzone/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

24 lines
776 B
Text

# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-localzone
pkgver=0.9.8
pkgrel=3
pkgdesc="simple library for managing DNS zones"
url="https://localzone.iomaestro.com"
options="!check" # No testsuite in pypi tarball
arch="noarch"
license="BSD-3-Clause"
depends="py3-dnspython"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/l/localzone/localzone-$pkgver.tar.gz"
builddir="$srcdir/localzone-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="912ee187f57dcb275d3c23d0b24397c12991d1c89e4c9931f4741e1d8ec76f8c41e0ab799150052062726921d5d92f8d98fa15d39fd5357032abc22dc1fe2afe localzone-0.9.8.tar.gz"