handle py3.12 switchover

This commit is contained in:
purplerain 2025-01-27 20:12:17 +00:00
parent ff2ea4b4be
commit ffc4360a2c
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
3 changed files with 5 additions and 8 deletions

View file

@ -1,5 +1,5 @@
SUBDIR =
SUBDIR += main
SUBDIR += python,python3
SUBDIR += python
.include <bsd.port.subdir.mk>

View file

@ -1,7 +1,7 @@
COMMENT = Python bindings for capstone
MODPY_EGG_VERSION = ${GH_TAGNAME}
REVISION = 1
MODPY_DISTV = ${GH_TAGNAME}
REVISION = 2
PKGNAME = py-${DISTNAME}
@ -10,11 +10,8 @@ USE_GMAKE = Yes
WRKDIST = ${WRKDIR}/${DISTNAME}/bindings/python
FLAVORS = python3
FLAVOR = python3
RUN_DEPENDS = devel/capstone/main \
devel/py-setuptools${MODPY_FLAVOR}
devel/py-setuptools
TEST_DEPENDS = devel/capstone/python
TEST_TARGET = check

View file

@ -1,4 +1,4 @@
@pkgpath devel/capstone/python
@pkgpath devel/capstone/python,python3
lib/python${MODPY_VERSION}/site-packages/capstone/
lib/python${MODPY_VERSION}/site-packages/capstone-5.0.0.dist-info/
lib/python${MODPY_VERSION}/site-packages/capstone-5.0.0.dist-info/LICENSE.TXT