# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{11..12} ) DISTUTILS_USE_PEP517=poetry inherit git-r3 distutils-r1 systemd DESCRIPTION="Slidge is an XMPP (puppeteer) gateway library in python" HOMEPAGE="https://git.sr.ht/~nicoco/slidge" EGIT_REPO_URI="https://git.sr.ht/~nicoco/slidge" EGIT_COMMIT="72ce4cc08314ed12c2552038070b36492c517ab6" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" DEPEND=">=dev-python/qrcode-7.4.1[${PYTHON_USEDEP}] >=dev-python/pillow-10[${PYTHON_USEDEP}] >=dev-python/aiohttp-3.8.3[${PYTHON_USEDEP}] >=dev-python/ConfigArgParse-1.5.3[${PYTHON_USEDEP}] >=dev-python/pickle-secure-0.99.9[${PYTHON_USEDEP}] >=dev-python/python-magic-0.4.27[${PYTHON_USEDEP}] >=dev-python/slixmpp-1.8.5[${PYTHON_USEDEP}] >=dev-python/blurhash-python-1.2.1[${PYTHON_USEDEP}]" RDEPEND="${DEPEND} acct-user/slidge acct-group/slidge" distutils_enable_tests pytest src_install () { distutils-r1_src_install insinto /etc/slidge/conf.d newins dev/confs/slidge-example.ini common.conf systemd_dounit "${FILESDIR}/slidge@.service" }