git: 1ba9bfb5c5b8 - main - security/py-libnacl: Update to 2.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 21 Aug 2023 17:15:07 UTC
The branch main has been updated by sunpoet:

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

commit 1ba9bfb5c5b817c17b224659da9305833ed96632
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-21 17:04:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-21 17:04:54 +0000

    security/py-libnacl: Update to 2.1.0
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/saltstack/libnacl/tree/master/doc/topics/releases
---
 security/py-libnacl/Makefile | 5 +++--
 security/py-libnacl/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/security/py-libnacl/Makefile b/security/py-libnacl/Makefile
index 218eae94f8e1..6f19e9bee4e0 100644
--- a/security/py-libnacl/Makefile
+++ b/security/py-libnacl/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libnacl
-PORTVERSION=	1.8.0
+PORTVERSION=	2.1.0
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +12,11 @@ WWW=		https://libnacl.readthedocs.io/en/latest/ \
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR}
 LIB_DEPENDS=	libsodium.so:security/libsodium
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils unittest
+USE_PYTHON=	autoplist concurrent pep517 unittest
 
 NO_ARCH=	yes
 TEST_ARGS=	discover -s tests
diff --git a/security/py-libnacl/distinfo b/security/py-libnacl/distinfo
index c8b4b57530c0..1ebe01800426 100644
--- a/security/py-libnacl/distinfo
+++ b/security/py-libnacl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1652471215
-SHA256 (libnacl-1.8.0.tar.gz) = f1037b85ca31fd8b02c43d66f78c2049bc58480e6a395dc9d27e6821b5fe185d
-SIZE (libnacl-1.8.0.tar.gz) = 41331
+TIMESTAMP = 1692211813
+SHA256 (libnacl-2.1.0.tar.gz) = f3418da7df29e6d9b11fd7d990289d16397dc1020e4e35192e11aee826922860
+SIZE (libnacl-2.1.0.tar.gz) = 42189