git: 0a7ac5cfb56d - main - all: salvage python-potr and it consumer from removal for now.

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 31 Dec 2022 14:31:07 UTC
The branch main has been updated by rene:

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

commit 0a7ac5cfb56d90b2966e50ad150c2c9064c8bb8b
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2022-12-31 14:28:32 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-12-31 14:28:32 +0000

    all: salvage python-potr and it consumer from removal for now.
    
    Both security/py-potr and irc/weechat-otr seem experimental abandonware
    from looking at their websites though.
    
    PR:             260897
---
 irc/weechat-otr/Makefile  | 4 +---
 security/py-potr/Makefile | 6 ++----
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/irc/weechat-otr/Makefile b/irc/weechat-otr/Makefile
index ed0936bb62b3..581cbaaa1783 100644
--- a/irc/weechat-otr/Makefile
+++ b/irc/weechat-otr/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	weechat-otr
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.9.2
+PORTREVISION=	1
 CATEGORIES=	irc security python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -10,9 +11,6 @@ WWW=		https://github.com/mmb/weechat-otr
 
 LICENSE=	GPLv3
 
-DEPRECATED=	Depends on expired security/py-pycrypto (via security/py-potr)
-EXPIRATION_DATE=2022-12-31
-
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}potr>=1.0.1:security/py-potr@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}potr>=1.0.1:security/py-potr@${PY_FLAVOR} \
 		weechat:irc/weechat
diff --git a/security/py-potr/Makefile b/security/py-potr/Makefile
index 46b24d8fbb17..67efb9b415bb 100644
--- a/security/py-potr/Makefile
+++ b/security/py-potr/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	potr
 PORTVERSION=	1.0.1
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,7 @@ WWW=		https://github.com/afflux/pure-python-otr/
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-DEPRECATED=	Depends on expired security/py-pycrypto
-EXPIRATION_DATE=2022-09-30
-
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR}
 
 USES=		python:3.6+ zip
 USE_PYTHON=	autoplist distutils