aboutsummaryrefslogtreecommitdiff
path: root/devel/py-construct-classes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-construct-classes/Makefile')
-rw-r--r--devel/py-construct-classes/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/py-construct-classes/Makefile b/devel/py-construct-classes/Makefile
index b3b4e09e0d51..2d3f7c862424 100644
--- a/devel/py-construct-classes/Makefile
+++ b/devel/py-construct-classes/Makefile
@@ -1,9 +1,9 @@
PORTNAME= construct-classes
-PORTVERSION= 0.1.2
-PORTREVISION= 1
+PORTVERSION= 0.2.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:C/-/_/}-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Parse your binary structs into dataclasses
@@ -12,10 +12,12 @@ WWW= https://pypi.org/project/construct-classes/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/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}construct>=2.10:devel/py-construct@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist pep517
NO_ARCH= yes