commit: 6bb14ea9c8638c15c82153b3570edd49eba353ab
Author: Hanno Böck <hanno <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 4 07:09:13 2025 +0000
Commit: Hanno Böck <hanno <AT> gentoo <DOT> org>
CommitDate: Sat Jan 4 07:09:13 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bb14ea9
dev-python/pyclamd: support python 3.13
Signed-off-by: Hanno Böck <hanno <AT> gentoo.org>
dev-python/pyclamd/pyclamd-0.4.0-r6.ebuild | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/dev-python/pyclamd/pyclamd-0.4.0-r6.ebuild
b/dev-python/pyclamd/pyclamd-0.4.0-r6.ebuild
new file mode 100644
index 000000000000..8a43f0173ab0
--- /dev/null
+++ b/dev-python/pyclamd/pyclamd-0.4.0-r6.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=pyClamd
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python interface to Clamd (ClamAV daemon)"
+HOMEPAGE="https://xael.org/pages/pyclamd-en.html"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="amd64"
+
+RDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+# Tests need clamd running and we cannot rely on that being
+# true during build
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${P}-remove-obsolete-bugtrack_url.diff" )