summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-25 01:35:00 +0100
committerSam James <sam@gentoo.org>2023-08-25 01:35:00 +0100
commit9df238a43b43c264c08c8f85d6e6bee6763ba7b8 (patch)
treee58330ede94f1948b39d585666ebc7b4c28a8a4e /dev-util/buildbot-worker/buildbot-worker-9999.ebuild
parentdev-util/buildbot-worker: destabilize 3.9.0 for ~amd64 (diff)
downloadgentoo-9df238a43b43c264c08c8f85d6e6bee6763ba7b8.tar.gz
gentoo-9df238a43b43c264c08c8f85d6e6bee6763ba7b8.tar.bz2
gentoo-9df238a43b43c264c08c8f85d6e6bee6763ba7b8.zip
dev-util/buildbot-worker: sync live
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/buildbot-worker/buildbot-worker-9999.ebuild')
-rw-r--r--dev-util/buildbot-worker/buildbot-worker-9999.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-util/buildbot-worker/buildbot-worker-9999.ebuild b/dev-util/buildbot-worker/buildbot-worker-9999.ebuild
index a372eb1a754b..d641ad6870ee 100644
--- a/dev-util/buildbot-worker/buildbot-worker-9999.ebuild
+++ b/dev-util/buildbot-worker/buildbot-worker-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
EGIT_REPO_URI="https://github.com/buildbot/buildbot.git"
-inherit readme.gentoo-r1 git-r3 distutils-r1
+inherit readme.gentoo-r1 systemd distutils-r1
DESCRIPTION="BuildBot Worker (slave) Daemon"
HOMEPAGE="https://buildbot.net/
@@ -24,10 +24,10 @@ RDEPEND="
!<dev-util/buildbot-1.0.0
>=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
+ >=dev-python/msgpack-0.6.0[${PYTHON_USEDEP}]
>=dev-python/twisted-18.7.0[${PYTHON_USEDEP}]
"
BDEPEND="
- >=dev-python/msgpack-0.6.0[${PYTHON_USEDEP}]
test? (
${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
@@ -57,12 +57,16 @@ python_test() {
}
python_install_all() {
+
distutils-r1_python_install_all
doman docs/buildbot-worker.1
newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker
newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker
+ systemd_dounit "${FILESDIR}/buildbot_worker.target"
+ systemd_newunit "${FILESDIR}/buildbot_worker_at.service" "buildbot_worker@.service"
+ systemd_install_serviced "${FILESDIR}/buildbot_worker_at.service.conf" "buildbot_worker@.service"
dodir /var/lib/buildbot_worker
cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!"