aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-helper/APKBUILD
blob: 311a27f4f0f0b8bbad8b86906f70a94dbf46c440 (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: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-helper
_pkgname=helper
pkgver=2.4.2
pkgrel=1
pkgdesc="A Python library for quickly writing configurable applications and daemons"
url="https://helper.readthedocs.org/"
arch="noarch"
license="BSD-3-Clause"
provides="py-helper" # for backwards compatibility
replaces="py-helper=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3 py3-yaml"
makedepends="python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="f25836eefda71b08c9d38569e1111220f8cde729de9cb5a99c2b8900ff99555066df9a47f19d9d5a9d070e1efa6b187f34b6a0d22fc1f571f5ab4ce87de23f14  helper-2.4.2.tar.gz"