%define srcname Js2Py Summary: Pure Python JavaScript Translator/Interpreter. Name: python3-Js2Py Version: 0.74 Release: 1%{?dist} License: MIT License Group: Development/Languages/Python Vendor: VMware, Inc. Distribution: Photon Url: https://pypi.python.org/pypi/Js2Py Source0: https://files.pythonhosted.org/packages/source/J/Js2Py/%{srcname}-%{version}.tar.gz %define sha512 %{srcname}=cb2f42c2bec0c15dadc301ee0a7ac452cc8c4bba4669e95f1155863590d6d00781883b54d4dab755a0f66eb6e30990fedca732494b1f8b6c07dc29f5203a8c8c Patch0: 0001-Use-fips-compatible-algorithm.patch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-six BuildRequires: python3-py BuildRequires: python3-packaging %if 0%{?with_check} BuildRequires: python3-pyjsparser BuildRequires: python3-numpy %endif Requires: python3 Requires: python3-numpy Requires: python3-six Requires: python3-tzlocal Requires: python3-pyjsparser BuildArch: noarch %description 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. %prep %autosetup -p1 -n %{srcname}-%{version} %build %{py3_build} %install %{py3_install} %check %{python3} simple_test.py %files %defattr(-,root,root) %{python3_sitelib}/* %changelog * Sat Aug 12 2023 Shreenidhi Shedi 0.74-1 - Upgrade to v0.74 * Fri Dec 02 2022 Prashant S Chauhan 0.71-2 - Update release to compile with python 3.11 * Sun Aug 21 2022 Gerrit Photon 0.71-1 - Automatic Version Bump * Fri Jul 24 2020 Gerrit Photon 0.70-1 - Automatic Version Bump * Tue Jun 16 2020 Tapas Kundu 0.66-2 - Mass removal python2 * Sun Nov 10 2019 Tapas Kundu 0.66-1 - Updated to version 0.66 * Thu Sep 13 2018 Tapas Kundu 0.59-1 - Updated to version 0.59 * Fri Sep 08 2017 Xiaolin Li 0.50-1 - Initial packaging for Photon