forked from pool/python-Js2Py
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b866f3e2a5 | |||
| a1236ecb3b |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jun 27 02:47:33 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- Switch to pyproject macros.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 1 23:38:45 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
Wed Jan 1 23:38:45 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ Version: 0.74
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: JavaScript to Python Translator & JavaScript interpreter
|
Summary: JavaScript to Python Translator & JavaScript interpreter
|
||||||
License: MIT
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/PiotrDabkowski/Js2Py
|
URL: https://github.com/PiotrDabkowski/Js2Py
|
||||||
Source: https://files.pythonhosted.org/packages/source/J/Js2Py/Js2Py-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/J/Js2Py/Js2Py-%{version}.tar.gz
|
||||||
Source1: https://raw.githubusercontent.com/PiotrDabkowski/Js2Py/master/LICENSE.md
|
Source1: https://raw.githubusercontent.com/PiotrDabkowski/Js2Py/master/LICENSE.md
|
||||||
@@ -34,10 +35,8 @@ Patch2: CVE-2024-28397.patch
|
|||||||
# PATCH-FIX-UPSTREAM 313-compatibility.patch gh#PiotrDabkowski/Js2Py#334 mcepl@suse.com
|
# PATCH-FIX-UPSTREAM 313-compatibility.patch gh#PiotrDabkowski/Js2Py#334 mcepl@suse.com
|
||||||
# Compatibility with Python 3.13
|
# Compatibility with Python 3.13
|
||||||
Patch3: 313-compatibility.patch
|
Patch3: 313-compatibility.patch
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module pyjsparser}
|
BuildRequires: %{python_module pyjsparser}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pyjsparser
|
Requires: python-pyjsparser
|
||||||
@@ -55,10 +54,10 @@ implementation of the JavaScript core, is written in pure Python.
|
|||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -73,6 +72,6 @@ popd
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%{python_sitelib}/js2py
|
%{python_sitelib}/js2py
|
||||||
%{python_sitelib}/[Jj]s2[Pp]y-%{version}.dist-info
|
%{python_sitelib}/Js2Py-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user