net-im/maubot: drop 0.4.2

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy 2024-11-20 12:04:29 -05:00
parent 6210aec2e8
commit c1dd32c7c6
No known key found for this signature in database
GPG Key ID: BEF2297448848842
2 changed files with 0 additions and 62 deletions

View File

@ -1,2 +1 @@
DIST maubot-0.4.2.tar.gz 1981478 BLAKE2B 47ed5ef89b37099ee071a08914bf0f7ae49c7f53786696d29e5f5a58ecae7dab4707b7bd2ac59bbc8246778a9c0ef487d5724fe5b61342f52637e0a0c74a7298 SHA512 136cc8870de804f0cf8b85efa21ed16ef56f803c64e8f04562b5c69402573596edf87a9c783670d09878f4cbf59613553ce6898c11aa166248d02d26704f7921
DIST maubot-0.5.0.tar.gz 1985146 BLAKE2B 2c80a3cf25671139ae9e962cc0544cc9421fffb72e098958e4b00e4801d25152c9741a306b6a71ce1664116a183c6a57e30bb54d6bf71010f13ffad9901cfbd9 SHA512 089f368e59405adfa05b3fe6da5c5fe5a092ae8509b01aa7b6d8940c6a16fb3a66ce715cbb2a757857f088def3f9eb2010c9789d4d2537151bc203c38afb6495

View File

@ -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 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/jinja2[${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
}