summaryrefslogtreecommitdiff
path: root/sysutils/py-tldr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/py-tldr/Makefile')
-rw-r--r--sysutils/py-tldr/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/sysutils/py-tldr/Makefile b/sysutils/py-tldr/Makefile
index eeb4e29ad965..c76b894712bc 100644
--- a/sysutils/py-tldr/Makefile
+++ b/sysutils/py-tldr/Makefile
@@ -1,7 +1,7 @@
PORTNAME= tldr
-PORTVERSION= 3.3.0
-PORTREVISION= 1
+PORTVERSION= 3.4.1
CATEGORIES= sysutils python
+MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jinking.this@gmail.com
@@ -11,17 +11,14 @@ WWW= https://github.com/tldr-pages/tldr-python-client
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}termcolor>0:devel/py-termcolor@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}shtab>0:devel/py-shtab@${PY_FLAVOR}
-USES= python
-USE_PYTHON= autoplist distutils flavors
-
-USE_GITHUB= yes
-GH_ACCOUNT= tldr-pages
-GH_PROJECT= tldr-python-client
-
+USES= python shebangfix
+USE_PYTHON= autoplist pep517 flavors
+SHEBANG_FILES= tldr.py
NO_ARCH= yes
.include <bsd.port.mk>