From 8f737c17e7b9656beb2303f3bced9a6ea8e0f33c Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Fri, 24 May 2024 14:28:17 -0400 Subject: net-im/maubot: treeclean Signed-off-by: Julien Roy --- net-im/maubot/Manifest | 1 - net-im/maubot/files/maubot.initd | 28 ----------------- net-im/maubot/files/maubot.service | 12 -------- net-im/maubot/maubot-0.4.2.ebuild | 61 -------------------------------------- net-im/maubot/metadata.xml | 19 ------------ 5 files changed, 121 deletions(-) delete mode 100644 net-im/maubot/Manifest delete mode 100644 net-im/maubot/files/maubot.initd delete mode 100644 net-im/maubot/files/maubot.service delete mode 100644 net-im/maubot/maubot-0.4.2.ebuild delete mode 100644 net-im/maubot/metadata.xml (limited to 'net-im/maubot') diff --git a/net-im/maubot/Manifest b/net-im/maubot/Manifest deleted file mode 100644 index a37108d..0000000 --- a/net-im/maubot/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST maubot-0.4.2.tar.gz 1981478 BLAKE2B 47ed5ef89b37099ee071a08914bf0f7ae49c7f53786696d29e5f5a58ecae7dab4707b7bd2ac59bbc8246778a9c0ef487d5724fe5b61342f52637e0a0c74a7298 SHA512 136cc8870de804f0cf8b85efa21ed16ef56f803c64e8f04562b5c69402573596edf87a9c783670d09878f4cbf59613553ce6898c11aa166248d02d26704f7921 diff --git a/net-im/maubot/files/maubot.initd b/net-im/maubot/files/maubot.initd deleted file mode 100644 index f4b109d..0000000 --- a/net-im/maubot/files/maubot.initd +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="maubot daemon" -description="A plugin-based Matrix bot system" -module="maubot" - -pidfile="/run/${RC_SVCNAME}.pid" -command="/usr/bin/python" -command_args="-m ${module} -c /etc/maubot/${module}.yaml" -command_background=true -command_user="maubot:maubot" - -output_log="/var/log/maubot/maubot_daemon.log" -error_log="/var/log/maubot/maubot_daemon.log" - -depend() { - need net -} - -start_pre() { - checkpath -d -m 0755 -o "$command_user" /var/lib/maubot - checkpath -d -m 0755 -o "$command_user" /var/lib/maubot/plugins - checkpath -d -m 0755 -o "$command_user" /var/lib/maubot/logs - checkpath -d -m 0755 -o "$command_user" /var/lib/maubot/trash - checkpath -f -m 0644 -o "$command_user" "$output_log" -} diff --git a/net-im/maubot/files/maubot.service b/net-im/maubot/files/maubot.service deleted file mode 100644 index 92ed035..0000000 --- a/net-im/maubot/files/maubot.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=A plugin-based Matrix bot system -After=network.target - -[Service] -User=maubot -Group=maubot -Restart=always -ExecStart=/usr/bin/python -m maubot -c /etc/maubot/maubot.yaml - -[Install] -WantedBy=multi-user.target \ No newline at end of file diff --git a/net-im/maubot/maubot-0.4.2.ebuild b/net-im/maubot/maubot-0.4.2.ebuild deleted file mode 100644 index 321bc85..0000000 --- a/net-im/maubot/maubot-0.4.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYPI_NO_NORMALIZE=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 optfeature pypi systemd - -DESCRIPTION="Plugin-based Matrix bot system" -HOMEPAGE="https://github.com/maubot/maubot/" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - acct-user/maubot - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/aiosqlite[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/asyncpg[${PYTHON_USEDEP}] - dev-python/bcrypt[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/commonmark[${PYTHON_USEDEP}] - dev-python/cryptg[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/mautrix[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - dev-python/python-olm[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/unpaddedbase64[${PYTHON_USEDEP}] - dev-python/yarl[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -src_install() { - distutils-r1_src_install - - keepdir /var/log/maubot - fowners root:maubot /var/log/maubot - fperms 770 /var/log/maubot - sed -i -e "s/\.\/${PN}.log/\/var\/log\/maubot\/${PN}.log/" "${ED}/usr/example-config.yaml" || die - sed -i -e "s/\.\/plugins/\/var\/lib\/maubot\/plugins/g" "${ED}/usr/example-config.yaml" || die - sed -i -e "s/\.\/trash/\/var\/lib\/maubot\/trash/g" "${ED}/usr/example-config.yaml" || die - - insinto "/etc/maubot" - newins "${ED}/usr/example-config.yaml" "${PN}.yaml" - rm "${ED}/usr/example-config.yaml" || die - - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - systemd_dounit "${FILESDIR}/${PN}.service" - - fowners -R root:maubot /etc/maubot - fperms -R 770 /etc/maubot -} diff --git a/net-im/maubot/metadata.xml b/net-im/maubot/metadata.xml deleted file mode 100644 index 62040c3..0000000 --- a/net-im/maubot/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Julien Roy - julien@jroy.ca - - - - Tulir Asokan - tulir@maunium.net - - https://github.com/maubot/maubot/releases - https://docs.mau.fi/maubot/ - https://github.com/maubot/maubot/issues - maubot/maubot - maubot - - -- cgit v1.2.3