notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-Js2Py JavaScript to Python translator and interpreter
0.74 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.74Version of this port present on the latest quarterly branch.
Maintainer: tcberner@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-04-19 08:36:17
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: MIT
WWW:
https://pypi.org/project/Js2Py/
Description:
Translates JavaScript to Python code. Js2Py is able to translate and execute virtually any JavaScript code. Js2Py is written in pure python and does not have any dependencies. Basically an implementation of JavaScript core in pure python.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}Js2Py>0:devel/py-Js2Py@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-Js2Py/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-Js2Py
  • pkg install py39-Js2Py
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-Js2Py listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-Js2Py
Package flavors (<flavor>: <package>)
  • py39: py39-Js2Py
distinfo:
TIMESTAMP = 1667804426 SHA256 (Js2Py-0.74.tar.gz) = 39f3a6aa8469180efba3c8677271df27c31332fd1b471df1af2af58b87b8972f SIZE (Js2Py-0.74.tar.gz) = 2504984

Packages (timestamps in pop-ups are UTC):
py37-Js2Py
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.70---0.70-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-Js2Py
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.74--0.740.740.74
FreeBSD:14:latest--0.74--0.74-0.74
FreeBSD:14:quarterly-----0.740.740.74
FreeBSD:15:latest--n/a-n/a0.740.740.74
 
py311-Js2Py
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.740.74-0.740.74---
FreeBSD:13:quarterly0.740.74-0.740.74---
FreeBSD:14:latest0.740.74-0.740.74---
FreeBSD:14:quarterly0.740.74-0.740.74---
FreeBSD:15:latest0.740.74n/a0.74n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-pyjsparser>=2.4.5 : devel/py-pyjsparser@py39
  2. py39-six>=1.10 : devel/py-six@py39
  3. py39-tzlocal>=1.2 : devel/py-tzlocal@py39
  4. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  5. python3.9 : lang/python39
This port is required by:
for Run
  1. net/py-cloudflare-scrape-js2py
  2. net/py-cloudscraper

Configuration Options:
No options to configure
Options name:
devel_py-Js2Py
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/J/Js2Py/
  2. https://pypi.org/packages/source/J/Js2Py/
Collapse this list.

Number of commits found: 16

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.74
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.74
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
0.74
07 Nov 2022 14:39:34
commit hash: 0009097a6928ae032a24507d3b3e05cd54cc3a10commit hash: 0009097a6928ae032a24507d3b3e05cd54cc3a10commit hash: 0009097a6928ae032a24507d3b3e05cd54cc3a10commit hash: 0009097a6928ae032a24507d3b3e05cd54cc3a10 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel/py-Js2Py: update to 0.74
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.71
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.71
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
0.71
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.71
06 Apr 2021 07:25:35
commit hash: b9ad876d99f0fc6c13717b25f9721070e1bf0c62commit hash: b9ad876d99f0fc6c13717b25f9721070e1bf0c62commit hash: b9ad876d99f0fc6c13717b25f9721070e1bf0c62commit hash: b9ad876d99f0fc6c13717b25f9721070e1bf0c62 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel/py-Js2Py: update to 0.71
0.70
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
0.70
14 Apr 2020 18:02:25
Revision:531709Original commit files touched by this commit
tcberner search for other commits by this committer
devel/py-Js2Py: update to 0.70
0.69
12 Apr 2020 16:32:17
Revision:531532Original commit files touched by this commit
tcberner search for other commits by this committer
devel/py-Js2Py: updte to 0.69
0.68
12 Mar 2020 17:52:09
Revision:528301Original commit files touched by this commit
tcberner search for other commits by this committer
devel/py-Js2Py: update to 0.68
0.67
29 Dec 2019 08:28:10
Revision:521261Original commit files touched by this commit
tcberner search for other commits by this committer
devel/py-JsPy: update to 0.67
0.66
23 Jun 2019 11:28:10
Revision:504940Original commit files touched by this commit
tcberner search for other commits by this committer
devel/py-Js2Py: update to 0.66
0.63
21 Apr 2019 15:23:28
Revision:499545Original commit files touched by this commit
tcberner search for other commits by this committer
devel/py-Js2Py: update to 0.63
0.62
19 Apr 2019 08:35:51
Revision:499333Original commit files touched by this commit
tcberner search for other commits by this committer
New port: devel/py-Js2Py

Pure Python JavaScript Translator/Interpreter

Everything is done in 100% pure Python so it's extremely easy to install and
use. Supports Python 2 & 3. Full support for ECMAScript 5.1, ECMA 6 support is
still experimental.

WWW: https://github.com/PiotrDabkowski/Js2Py

Number of commits found: 16