git: b61f086214ff - main - cad/surelog: Use python-3.9

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 16 May 2024 20:45:13 UTC
The branch main has been updated by yuri:

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

commit b61f086214ff59de819bfd836b315eb1bcbe53b6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-16 20:43:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-16 20:45:11 +0000

    cad/surelog: Use python-3.9
    
    Reported by:    <Po-Chuan Hsieh <sunpoet@freebsd.org>
---
 cad/surelog/Makefile               | 5 +++--
 devel/py-orderedmultidict/Makefile | 2 +-
 devel/py-six/Makefile              | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/cad/surelog/Makefile b/cad/surelog/Makefile
index 0f5f9d340777..9a95c884155c 100644
--- a/cad/surelog/Makefile
+++ b/cad/surelog/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	surelog
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.83
+PORTREVISION=	1
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -52,8 +53,8 @@ OPTIONS_DEFINE=		PYTHON TCMALLOC
 OPTIONS_DEFAULT=	PYTHON TCMALLOC # should be the same TCMALLOC default as in cad/yosys, cad/uhdm because surelog's lib is used in the yosys plugin cad/yosys-systemverilog
 OPTIONS_SUB=		yes
 
-PYTHON_USES=		python:3.10 # it needs 3.9.19 while we have 3.9.18
-PYTHON_USES_OFF=	python:3.10,build
+PYTHON_USES=		python
+PYTHON_USES_OFF=	python:build
 PYTHON_BUILD_DEPENDS=	swig:devel/swig
 PYTHON_CMAKE_BOOL=	SURELOG_WITH_PYTHON
 PYTHON_CMAKE_ON=	-DFREEBSD_PYTHON_DISTVERSION=${PYTHON_DISTVERSION}
diff --git a/devel/py-orderedmultidict/Makefile b/devel/py-orderedmultidict/Makefile
index 552e4b84047c..bfc809d93b63 100644
--- a/devel/py-orderedmultidict/Makefile
+++ b/devel/py-orderedmultidict/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.8.0:devel/py-six@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	allflavors autoplist concurrent pep517 # allflavors because cad/surelog needs 3.10
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-six/Makefile b/devel/py-six/Makefile
index a95cd3c45cb5..972441563daf 100644
--- a/devel/py-six/Makefile
+++ b/devel/py-six/Makefile
@@ -15,7 +15,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gdbm>=0:databases/py-gdbm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	allflavors autoplist concurrent distutils pytest
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes