aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-11-30 07:16:57 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-11-30 07:16:57 +0000
commitc543b0e18486c8d1f2b4f2f0e347715a9c2cf877 (patch)
tree1fa1822b11d9b257665af12e74f3e56addcdcd41
parent299b415cde61ce92dc3f72185f3f805b9bf57fcd (diff)
devel/py-pytokens: Add py-pytokens 0.3.0
pytokens provides a fast, spec compliant Python 3.14+ tokenizer that runs on older Pythons.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pytokens/Makefile22
-rw-r--r--devel/py-pytokens/distinfo3
-rw-r--r--devel/py-pytokens/pkg-descr2
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index ac70a4767232..47219144a38f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5840,6 +5840,7 @@
SUBDIR += py-pythonfinder
SUBDIR += py-pythran
SUBDIR += py-pytimeparse
+ SUBDIR += py-pytokens
SUBDIR += py-pytoolconfig
SUBDIR += py-pytools
SUBDIR += py-pytrie
diff --git a/devel/py-pytokens/Makefile b/devel/py-pytokens/Makefile
new file mode 100644
index 000000000000..8bf1fc0f7cfa
--- /dev/null
+++ b/devel/py-pytokens/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= pytokens
+PORTVERSION= 0.3.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Fast, spec compliant Python 3.14+ tokenizer that runs on older Pythons
+WWW= https://github.com/tusharsadhwani/pytokens
+
+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}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pytokens/distinfo b/devel/py-pytokens/distinfo
new file mode 100644
index 000000000000..e6b337293665
--- /dev/null
+++ b/devel/py-pytokens/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1763853128
+SHA256 (pytokens-0.3.0.tar.gz) = 2f932b14ed08de5fcf0b391ace2642f858f1394c0857202959000b68ed7a458a
+SIZE (pytokens-0.3.0.tar.gz) = 17644
diff --git a/devel/py-pytokens/pkg-descr b/devel/py-pytokens/pkg-descr
new file mode 100644
index 000000000000..0b9ae5d694d3
--- /dev/null
+++ b/devel/py-pytokens/pkg-descr
@@ -0,0 +1,2 @@
+pytokens provides a fast, spec compliant Python 3.14+ tokenizer that runs on
+older Pythons.