commit:     9df238a43b43c264c08c8f85d6e6bee6763ba7b8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 25 00:35:00 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 25 00:35:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df238a4

dev-util/buildbot-worker: sync live

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/buildbot-worker/buildbot-worker-9999.ebuild | 8 ++++++--
 1 file 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!"

Reply via email to