diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-24 03:02:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-24 03:02:55 +0000 |
commit | 530a5a826feeb71085fb8a01927f4d775a0b131b (patch) | |
tree | b7669c45ea3f2a3a37b2437817a370226bb1c819 /dev-python/pyclamd | |
parent | 71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 (diff) |
gentoo auto-resync : 24:11:2024 - 03:02:54
Diffstat (limited to 'dev-python/pyclamd')
-rw-r--r-- | dev-python/pyclamd/Manifest | 4 | ||||
-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, 53 insertions, 0 deletions
diff --git a/dev-python/pyclamd/Manifest b/dev-python/pyclamd/Manifest new file mode 100644 index 000000000000..eec419f78abb --- /dev/null +++ b/dev-python/pyclamd/Manifest @@ -0,0 +1,4 @@ +AUX pyclamd-0.4.0-remove-obsolete-bugtrack_url.diff 827 BLAKE2B 785e75cf5094fd32e205eb1db5749ebf6fea1fb415aee3a1fe587864147ab6a81340b85d24313e17c5ea1d6467beb8392fe5c5c3c30ce6a9afc50f38e6d04520 SHA512 23fb59f17a498a6f10da49eb23e728366c0e6101ce588c76eec818658fad75390c6437b094bbec42b10dcca4465793862e511d311d4b3ba020f4c13f85f767ec +DIST pyClamd-0.4.0.tar.gz 11177 BLAKE2B cb69c9e1fec936d416a18658a2c3e9df4dc4684cf56c19e8a02ad9929b4c86d9985395c38a8f88f7053f81fe08fa3574c6a206bcc519a9494c2a61caf6b995b1 SHA512 b96e26729e0fe2600572534c0fa22a01238761589f1771e72a054dde9c1b8f122493c83ca04cffda167f7a0e44fbf309bdf76b8fe1de499ec50d56c677923bd4 +EBUILD pyclamd-0.4.0-r5.ebuild 611 BLAKE2B e802bd098bf40c1ae75ce6ef4a47a4597f231bb1a97ed08ee6db7f74004ea037575cafe55c2389bf704d5f662a90102ff71c3670c947238ba0415bdba0150f53 SHA512 f6b7d32eeec191ad4a465af35463bdcb9e9c1b44aeddd4ce44625449aa25042949941088aff407e29381702b50bdb3735b89b43792fd7d7953d778811a9be272 +MISC metadata.xml 295 BLAKE2B cda80e8a0e2125cf0a97ab3ea3c63f588fb57afc25d1559cea145e09676c7708f2c7aa271a7cccabde61927f8a6e5e3200b6ce5b4597eb9a8065f7938fe9201a SHA512 54f6204e9620ddfa126858fd5c5ae7400245759999362f355287276df4d6a255d34322bd70e08b875bbbfceec7099b39db214008a6ea5458a74845d3a39e3952 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" ) |