git: ca7bf01cd357 - main - deskutils/calibre: Add missing dependency on security/py-pycryptodome

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Fri, 20 Jan 2023 08:09:17 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ca7bf01cd357ee37b06b4d95d0dcf810bbb43abf

commit ca7bf01cd357ee37b06b4d95d0dcf810bbb43abf
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-01-20 08:08:42 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-01-20 08:08:42 +0000

    deskutils/calibre: Add missing dependency on security/py-pycryptodome
    
    It is listed as required by upstream and used by some plugins.
    
    While here, fix dependency on net/py-zeroconf.
    
    PR:             269033
---
 deskutils/calibre/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/deskutils/calibre/Makefile b/deskutils/calibre/Makefile
index 1e86e128017e..d194d5c6031f 100644
--- a/deskutils/calibre/Makefile
+++ b/deskutils/calibre/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	calibre
 PORTVERSION=	6.11.0
+PORTREVISION=	1
 CATEGORIES=	deskutils python
 MASTER_SITES=	http://download.calibre-ebook.com/${PORTVERSION}/
 
@@ -31,7 +32,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVO
 		${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}html5-parser>=0.4.3:www/py-html5-parser@${PY_FLAVOR} \
 		${PY_PILLOW} \
-		${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf \
+		${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf@${PY_FLAVOR} \
 		${LOCALBASE}/bin/cmake:devel/cmake-core
 RUN_DEPENDS=	xdg-open:devel/xdg-utils \
 		${PYTHON_PKGNAMEPREFIX}css-parser>=1.0.4:www/py-css-parser@${PY_FLAVOR} \
@@ -54,7 +55,8 @@ RUN_DEPENDS=	xdg-open:devel/xdg-utils \
 		${PYTHON_PKGNAMEPREFIX}jeepney>=0.6:devel/py-jeepney@${PY_FLAVOR} \
 		${PY_PILLOW} \
 		pdftohtml:graphics/poppler-utils \
-		${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf
+		${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR}
 
 USES=		desktop-file-utils gettext-runtime gl gnome localbase:ldflags \
 		pkgconfig pyqt:6 python:3.8+ qt:6 shared-mime-info shebangfix \