git: a928c993fdd6 - main - devel/py-pyleri: Add py-pyleri 1.4.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Oct 2023 02:01:03 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a928c993fdd68ccc89d80bb5089148a866f40ccb
commit a928c993fdd68ccc89d80bb5089148a866f40ccb
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-05 01:53:28 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-05 01:53:28 +0000
devel/py-pyleri: Add py-pyleri 1.4.2
Pyleri is an easy-to-use parser created for SiriDB. We first used lrparsing and
wrote jsleri for auto-completion and suggestions in our web console. Later we
found small issues within the lrparsing module and also had difficulties keeping
the language the same in all projects. That is when we decided to create Pyleri
which can export a created grammar to JavaScript, C, Python, Go and Java.
---
devel/Makefile | 1 +
devel/py-pyleri/Makefile | 19 +++++++++++++++++++
devel/py-pyleri/distinfo | 3 +++
devel/py-pyleri/pkg-descr | 5 +++++
4 files changed, 28 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index e63743be84ad..9e23a283cbd1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5300,6 +5300,7 @@
SUBDIR += py-pyjsparser
SUBDIR += py-pykdtree
SUBDIR += py-pylama
+ SUBDIR += py-pyleri
SUBDIR += py-pylev
SUBDIR += py-pylibsrtp
SUBDIR += py-pylint-django
diff --git a/devel/py-pyleri/Makefile b/devel/py-pyleri/Makefile
new file mode 100644
index 000000000000..711c65bd8372
--- /dev/null
+++ b/devel/py-pyleri/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= pyleri
+PORTVERSION= 1.4.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python Left-Right Parser
+WWW= https://github.com/cesbit/pyleri
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pyleri/distinfo b/devel/py-pyleri/distinfo
new file mode 100644
index 000000000000..22d7810b522e
--- /dev/null
+++ b/devel/py-pyleri/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1696432864
+SHA256 (pyleri-1.4.2.tar.gz) = 18b92f631567c3c0dc6a9288aa9abc5706a8c1e0bd48d33fea0401eec02f2e63
+SIZE (pyleri-1.4.2.tar.gz) = 36482
diff --git a/devel/py-pyleri/pkg-descr b/devel/py-pyleri/pkg-descr
new file mode 100644
index 000000000000..7e9ca83aa22c
--- /dev/null
+++ b/devel/py-pyleri/pkg-descr
@@ -0,0 +1,5 @@
+Pyleri is an easy-to-use parser created for SiriDB. We first used lrparsing and
+wrote jsleri for auto-completion and suggestions in our web console. Later we
+found small issues within the lrparsing module and also had difficulties keeping
+the language the same in all projects. That is when we decided to create Pyleri
+which can export a created grammar to JavaScript, C, Python, Go and Java.