git: d3152e4fa5de - main - security/sqlmap: update to 1.8

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Sun, 19 May 2024 00:20:11 UTC
The branch main has been updated by rm:

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

commit d3152e4fa5deebbf045780b7889581c85d78c195
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2024-05-19 00:19:14 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2024-05-19 00:19:14 +0000

    security/sqlmap: update to 1.8
    
     - update to 1.8, this fixes runtime and adds support of latest Python version
     - convert to pep517
    
    PR:             278345
    Reported by:    runtomaker@gmail.com
---
 security/sqlmap/Makefile | 6 ++++--
 security/sqlmap/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/security/sqlmap/Makefile b/security/sqlmap/Makefile
index 61eaaeac9455..b22c8675730e 100644
--- a/security/sqlmap/Makefile
+++ b/security/sqlmap/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	sqlmap
-PORTVERSION=	1.3.12
+PORTVERSION=	1.8
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,12 @@ WWW=		https://sqlmap.org/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/sqlmap/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
 
 USES=		python shebangfix
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 SHEBANG_FILES=	*.py sqlmap/extra/shutils/*.sh sqlmap/extra/shutils/*.py
 NO_ARCH=	yes
diff --git a/security/sqlmap/distinfo b/security/sqlmap/distinfo
index 758fda3b17e3..396332c41449 100644
--- a/security/sqlmap/distinfo
+++ b/security/sqlmap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1575908570
-SHA256 (sqlmap-1.3.12.tar.gz) = 3bad3275e2f29ffa54d4013a2ac2c77e87d01a1d745065d54ed5e60bc68dfbf0
-SIZE (sqlmap-1.3.12.tar.gz) = 6693553
+TIMESTAMP = 1716077230
+SHA256 (sqlmap-1.8.tar.gz) = 8dbb204ee36e57c123ff50f042345174dfd262f3ed0a044ed8d7251379472ba1
+SIZE (sqlmap-1.8.tar.gz) = 7208171