# Contributor: Noel Kuntze # Maintainer: Noel Kuntze pkgname=py3-daemon pkgver=2.3.0 pkgrel=1 pkgdesc="Library to implement a well-behaved Unix daemon process" url="https://pagure.io/python-daemon" options="!check" # Has lots of dependencies arch="noarch" license="Apache-2.0 AND GPL-3.0-or-later" depends="py3-setuptools py3-lockfile" makedepends="py3-docutils" source="https://pypi.io/packages/source/p/python-daemon/python-daemon-$pkgver.tar.gz" builddir="$srcdir/python-daemon-$pkgver" prepare() { default_prepare # Remove unnecessary dependency for building, twine is # required for uploading the package to pypi which we don't # do sed -e '/twine/d' -i setup.py } build() { python3 setup.py build } package() { python3 setup.py install --root="$pkgdir" } sha512sums=" 30bb70821aae720d09032c8c666524fa9a1a486314ffff73eb161231a1f2b954914295b4ad41f9c8529bc045fb6d0f89256bc59f8979a4f8a6698e9bd4d7441a python-daemon-2.3.0.tar.gz "