fix Gentoo ebuild

This commit is contained in:
2025-08-21 14:14:17 +02:00
parent b345487052
commit 5a8808c7d0

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
PYTHON_COMPAT=( python3_{10..13} ) PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools DISTUTILS_USE_PEP517=setuptools
SCM="" SCM=""
@@ -31,19 +31,21 @@ LICENSE="GPL-3"
SLOT="0" SLOT="0"
IUSE="+lxml systemd" IUSE="+lxml systemd"
RDEPEND=" RDEPEND="dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}] dev-python/jsonschema[${PYTHON_USEDEP}]
lxml? ( dev-python/lxml[${PYTHON_USEDEP}] ) lxml? ( dev-python/lxml[${PYTHON_USEDEP}] )
dev-python/netaddr[${PYTHON_USEDEP}] dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/peewee[${PYTHON_USEDEP}] dev-python/peewee[${PYTHON_USEDEP}]
>=dev-python/pymilter-1.5[${PYTHON_USEDEP}]" >=dev-python/pymilter-1.0.5[${PYTHON_USEDEP}]"
python_install_all() { python_install_all() {
distutils-r1_python_install_all
use systemd && systemd_dounit pyquarantine/misc/systemd/${PN}.service use systemd && systemd_dounit pyquarantine/misc/systemd/${PN}.service
newinitd pyquarantine/misc/openrc/${PN}.initd ${PN} newinitd pyquarantine/misc/openrc/${PN}.initd ${PN}
newconfd pyquarantine/misc/openrc/${PN}.confd ${PN} newconfd pyquarantine/misc/openrc/${PN}.confd ${PN}
insinto /etc/pyquarantine
doins pyquarantine/misc/pyquarantine.conf.default
doins -r pyquarantine/misc/templates
distutils-r1_python_install_all
} }
pkg_postinst() { pkg_postinst() {