diff options
Diffstat (limited to 'dev-python/pyclamd')
-rw-r--r-- | dev-python/pyclamd/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyclamd/files/pyclamd-0.4.0-remove-obsolete-bugtrack_url.diff | 11 | ||||
-rw-r--r-- | dev-python/pyclamd/metadata.xml | 10 | ||||
-rw-r--r-- | dev-python/pyclamd/pyclamd-0.4.0-r5.ebuild | 28 |
4 files changed, 50 insertions, 0 deletions
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..01dbf6bb0a99 --- /dev/null +++ b/dev-python/pyclamd/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hanno@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="pypi">pyClamd</remote-id> + </upstream> +</pkgmetadata> 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..89d623d69615 --- /dev/null +++ b/dev-python/pyclamd/pyclamd-0.4.0-r5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 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..12} ) + +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" ) |