git: 8c88b908be62 - main - devel/py-rauth: Remove DEPRECATION

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 04 Jul 2022 15:47:18 UTC
The branch main has been updated by bofh:

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

commit 8c88b908be62f556910ef10e11458410492a990d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-07-03 19:39:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-07-04 15:46:48 +0000

    devel/py-rauth: Remove DEPRECATION
    
    - Change TEST_DEPENDS to security/py-cryptodome a drop in replacement
      for now defunct security/py-crypto
    - Add USE_PYTHON=nose
---
 devel/py-rauth/Makefile | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/devel/py-rauth/Makefile b/devel/py-rauth/Makefile
index f63e683a2ae1..3f40cc51e1f0 100644
--- a/devel/py-rauth/Makefile
+++ b/devel/py-rauth/Makefile
@@ -11,23 +11,15 @@ COMMENT=	Python library for OAuth 1.0/a, 2.0, and Ofly consumers
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-DEPRECATED=	Depends on expired security/py-pycrypto
-EXPIRATION_DATE=2022-09-30
-
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=1.2.3:www/py-requests@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=1.2.1:devel/py-nose@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:devel/py-mock@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:security/py-pycrypto@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:devel/py-mock@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_GITHUB=	yes
-USE_PYTHON=	distutils autoplist
-
 GH_ACCOUNT=	litl
+USE_PYTHON=	autoplist distutils nose
 
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
-
 .include <bsd.port.mk>