2022-07-29 15:01:12 +00:00
|
|
|
# Contributor: Noel Kuntze <noel.kuntze@thermi.consulting>
|
|
|
|
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
|
|
|
|
pkgname=py3-daemon
|
2023-05-05 05:16:57 +00:00
|
|
|
pkgver=2.3.2
|
|
|
|
pkgrel=2
|
2022-07-29 15:01:12 +00:00
|
|
|
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"
|
2023-05-05 05:16:57 +00:00
|
|
|
subpackages="$pkgname-pyc"
|
2022-07-29 15:01:12 +00:00
|
|
|
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="
|
2023-05-05 05:16:57 +00:00
|
|
|
d9f6e6c376a496fae96bd9efed0a56d00a137617a3d1d5ef74802ef176bc813bb1d49bbb9164cdbec03213529f944b32b257bcc64283abfa4a3522ff00826bfd python-daemon-2.3.2.tar.gz
|
2022-07-29 15:01:12 +00:00
|
|
|
"
|