diff --git a/devel/capstone/Makefile b/devel/capstone/Makefile index 0c77f06f2..af6d8f15b 100644 --- a/devel/capstone/Makefile +++ b/devel/capstone/Makefile @@ -1,5 +1,5 @@ SUBDIR = SUBDIR += main -SUBDIR += python,python3 +SUBDIR += python .include diff --git a/devel/capstone/python/Makefile b/devel/capstone/python/Makefile index 8fc243cff..52273217e 100644 --- a/devel/capstone/python/Makefile +++ b/devel/capstone/python/Makefile @@ -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 diff --git a/devel/capstone/python/pkg/PLIST b/devel/capstone/python/pkg/PLIST index d6b4128db..be02b2728 100644 --- a/devel/capstone/python/pkg/PLIST +++ b/devel/capstone/python/pkg/PLIST @@ -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