Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2024 17:47:50 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: da7ccecae72d - main - security/py-pysha3: Mark DEPRECATED
Message-ID:  <202401161747.40GHloKj073463@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit da7ccecae72d64dc75087744164b6d9f1a8c6878
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-16 17:20:28 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-16 17:47:41 +0000

    security/py-pysha3: Mark DEPRECATED
    
    - Mark to IGNORE for 3.9 and later
    - These library has been merged into python 3.6
    - Upstream has declared abandoned
    - Set EXPIRATION_DATE 2024-02-16
    
    PR:             276380
---
 security/py-pysha3/Makefile | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/security/py-pysha3/Makefile b/security/py-pysha3/Makefile
index bbc4058b21f9..3381390deea6 100644
--- a/security/py-pysha3/Makefile
+++ b/security/py-pysha3/Makefile
@@ -11,16 +11,24 @@ WWW=		https://bitbucket.org/tiran/pykeccak
 LICENSE=	PSFL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Merged into python standard library since version 3.6
+EXPIRATION_DATE=	2024-02-16
 BROKEN_mips64=		fails to compile: KeccakP-1600-opt64.c: error: Not yet implemented
 
 # Actually Python 2.7,3.4+
-USES=		python
+USES=		python:-3.6
 USE_PYTHON=	autoplist distutils
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} > 30600
+IGNORE=	Does not support python 3.9 and later
+.endif
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pysha3*.so
 
 do-test:
 	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401161747.40GHloKj073463>