git: fa7a6287d79a - main - textproc/py-pscript: New port: Python to JavaScript compiler
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Nov 2024 18:29:38 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fa7a6287d79ab376f945fa3ec6d140433028360a
commit fa7a6287d79ab376f945fa3ec6d140433028360a
Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2024-11-02 18:28:21 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-11-02 18:29:28 +0000
textproc/py-pscript: New port: Python to JavaScript compiler
PScript is a Python to JavaScript compiler, and is also the name
of the subset of Python that this compiler supports. It was developed
as a part of Flexx and is now represented by its own project.
Although it is still an important part of Flexx, it can also be
useful by itself.
WWW: https://pscript.readthedocs.io/
PR: 282453
---
textproc/Makefile | 1 +
textproc/py-pscript/Makefile | 19 +++++++++++++++++++
textproc/py-pscript/distinfo | 3 +++
textproc/py-pscript/pkg-descr | 5 +++++
4 files changed, 28 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 9fe078d8ad4f..5d68da3984a4 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1512,6 +1512,7 @@
SUBDIR += py-petl
SUBDIR += py-pikepdf
SUBDIR += py-precis_i18n
+ SUBDIR += py-pscript
SUBDIR += py-pss
SUBDIR += py-pyPEG2
SUBDIR += py-pyahocorasick
diff --git a/textproc/py-pscript/Makefile b/textproc/py-pscript/Makefile
new file mode 100644
index 000000000000..f75c9f89a8b8
--- /dev/null
+++ b/textproc/py-pscript/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= pscript
+DISTVERSION= 0.7.7
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= DtxdF@disroot.org
+COMMENT= Python to JavaScript compiler
+WWW= https://pscript.readthedocs.io/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-pscript/distinfo b/textproc/py-pscript/distinfo
new file mode 100644
index 000000000000..7984b258bc3f
--- /dev/null
+++ b/textproc/py-pscript/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729895797
+SHA256 (pscript-0.7.7.tar.gz) = 8632f7a4483f235514aadee110edee82eb6d67336bf68744a7b18d76e50442f8
+SIZE (pscript-0.7.7.tar.gz) = 176138
diff --git a/textproc/py-pscript/pkg-descr b/textproc/py-pscript/pkg-descr
new file mode 100644
index 000000000000..5583b71bc6e8
--- /dev/null
+++ b/textproc/py-pscript/pkg-descr
@@ -0,0 +1,5 @@
+PScript is a Python to JavaScript compiler, and is also the name
+of the subset of Python that this compiler supports. It was developed
+as a part of Flexx and is now represented by its own project.
+Although it is still an important part of Flexx, it can also be
+useful by itself.