commit: a63203a5d85529fb4a4be1dc1c768de2249f54bc Author: Hanno Böck <hanno <AT> gentoo <DOT> org> AuthorDate: Sun Mar 10 12:11:04 2024 +0000 Commit: Hanno Böck <hanno <AT> gentoo <DOT> org> CommitDate: Sun Mar 10 12:11:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a63203a5
dev-python/pyClamd: Support python 3.12 Signed-off-by: Hanno Böck <hanno <AT> gentoo.org> dev-python/pyClamd/pyClamd-0.4.0-r5.ebuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/dev-python/pyClamd/pyClamd-0.4.0-r5.ebuild b/dev-python/pyClamd/pyClamd-0.4.0-r5.ebuild new file mode 100644 index 000000000000..7d7dc6e7bb6d --- /dev/null +++ b/dev-python/pyClamd/pyClamd-0.4.0-r5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 + +inherit distutils-r1 pypi + +PATCHES=( "${FILESDIR}/${P}-remove-obsolete-bugtrack_url.diff" ) + +DESCRIPTION="python interface to Clamd (Clamav daemon)" +HOMEPAGE="https://xael.org/pages/pyclamd-en.html" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +# Tests need clamd running and we cannot rely on that being +# true during build +RESTRICT="test"