aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-06-30 07:05:41 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-06-30 07:05:41 +0000
commitd09439fcb1c3dfe31eeffd70bc2183b030b4ab79 (patch)
treedeaf523d456eb7dffb960566364885b98cce3c35
parenteae870424aecdf1746fc71e1d4e3c0fdb416365d (diff)
downloadports-d09439fcb1c3dfe31eeffd70bc2183b030b4ab79.tar.gz
ports-d09439fcb1c3dfe31eeffd70bc2183b030b4ab79.zip
textproc/py-untangle: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--textproc/py-untangle/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/py-untangle/Makefile b/textproc/py-untangle/Makefile
index 9c5da38e29bf..79ec20bcf1f2 100644
--- a/textproc/py-untangle/Makefile
+++ b/textproc/py-untangle/Makefile
@@ -1,5 +1,6 @@
PORTNAME= untangle
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,14 @@ WWW= https://github.com/stchris/untangle
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8.0:devel/py-defusedxml@${PY_FLAVOR}
-USES= python
-USE_PYTHON= autoplist concurrent distutils
+USES= python shebangfix
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
+SHEBANG_FILES= untangle.py
+
.include <bsd.port.mk>