From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/pyclamd/Manifest | 1 + ...pyclamd-0.4.0-remove-obsolete-bugtrack_url.diff | 11 +++++++++ dev-python/pyclamd/metadata.xml | 8 +++++++ dev-python/pyclamd/pyclamd-0.4.0-r6.ebuild | 28 ++++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 dev-python/pyclamd/Manifest create mode 100644 dev-python/pyclamd/files/pyclamd-0.4.0-remove-obsolete-bugtrack_url.diff create mode 100644 dev-python/pyclamd/metadata.xml create mode 100644 dev-python/pyclamd/pyclamd-0.4.0-r6.ebuild (limited to 'dev-python/pyclamd') diff --git a/dev-python/pyclamd/Manifest b/dev-python/pyclamd/Manifest new file mode 100644 index 000000000000..db9535f689fd --- /dev/null +++ b/dev-python/pyclamd/Manifest @@ -0,0 +1 @@ +DIST pyClamd-0.4.0.tar.gz 11177 BLAKE2B cb69c9e1fec936d416a18658a2c3e9df4dc4684cf56c19e8a02ad9929b4c86d9985395c38a8f88f7053f81fe08fa3574c6a206bcc519a9494c2a61caf6b995b1 SHA512 b96e26729e0fe2600572534c0fa22a01238761589f1771e72a054dde9c1b8f122493c83ca04cffda167f7a0e44fbf309bdf76b8fe1de499ec50d56c677923bd4 diff --git a/dev-python/pyclamd/files/pyclamd-0.4.0-remove-obsolete-bugtrack_url.diff b/dev-python/pyclamd/files/pyclamd-0.4.0-remove-obsolete-bugtrack_url.diff new file mode 100644 index 000000000000..446c215ba518 --- /dev/null +++ b/dev-python/pyclamd/files/pyclamd-0.4.0-remove-obsolete-bugtrack_url.diff @@ -0,0 +1,11 @@ +diff -Naurp a/setup.py b/setup.py +--- a/setup.py 2017-08-28 00:05:52.000000000 +0200 ++++ b/setup.py 2023-02-18 16:57:08.911936472 +0100 +@@ -27,7 +27,6 @@ setup (name = 'pyClamd', + author_email = 'norman@xael.org', + keywords='python, clamav, antivirus, scanner, virus, libclamav', + url = 'http://xael.org/pages/pyclamd-en.html', +- bugtrack_url = 'https://bitbucket.org/xael/pyclamd', + include_dirs = ['/usr/local/include'], + description = 'pyClamd is a python interface to Clamd (Clamav daemon).', + long_description = 'pyClamd is a python interface to Clamd (Clamav daemon). By using pyClamd, you can add virus detection capabilities to your python software in an efficient and easy way. Instead of pyClamav which uses libclamav, pyClamd may be used by a closed source product.', diff --git a/dev-python/pyclamd/metadata.xml b/dev-python/pyclamd/metadata.xml new file mode 100644 index 000000000000..c6eb48b47eb8 --- /dev/null +++ b/dev-python/pyclamd/metadata.xml @@ -0,0 +1,8 @@ + + + + + hanno@gentoo.org + + baldeagleos-repo + 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..72a3f4fd5887 --- /dev/null +++ b/dev-python/pyclamd/pyclamd-0.4.0-r6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2026 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_{13..14} ) + +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" ) -- cgit v1.3