aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-daemonize/APKBUILD
blob: a7775a6ced0061942949a6ed8862af5d68929c71 (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
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-daemonize
_pkgname=daemonize
pkgver=2.5.0
pkgrel=2
pkgdesc="Library for writing system daemons in Python"
url="https://github.com/thesharp/daemonize"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check" # No testsuite
builddir="$srcdir/$_pkgname-$pkgver"

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

build() {
	python3 setup.py build
}

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

sha512sums="5043db681b36028e3168cd2ad86235e0962bbdc46ded2f631ab36846083b0817524cddd7a9333997a82b4888b2490391bac2e1cfd043c1ddc129da54d2cbd6bd  daemonize-2.5.0.tar.gz"