commit:     e672906f2380e8af6f12e8958060255783f1a880
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 19:38:44 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 19:46:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e672906f

dev-python/pyClamd: Add PYPI_PN prior to rename

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyClamd/pyClamd-0.4.0-r5.ebuild | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-python/pyClamd/pyClamd-0.4.0-r5.ebuild 
b/dev-python/pyClamd/pyClamd-0.4.0-r5.ebuild
index 82d800b08c2e..89d623d69615 100644
--- a/dev-python/pyClamd/pyClamd-0.4.0-r5.ebuild
+++ b/dev-python/pyClamd/pyClamd-0.4.0-r5.ebuild
@@ -3,24 +3,26 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9,10,11,12} )
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
+PYPI_PN=pyClamd
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 pypi
 
-PATCHES=( "${FILESDIR}/${P}-remove-obsolete-bugtrack_url.diff" )
-
-DESCRIPTION="python interface to Clamd (Clamav daemon)"
+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}"
+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" )

Reply via email to