diff --git a/jsbeautifier-1.15.1.tar.gz b/jsbeautifier-1.15.1.tar.gz deleted file mode 100644 index 1f06b58..0000000 --- a/jsbeautifier-1.15.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ebd733b560704c602d744eafc839db60a1ee9326e30a2a80c4adb8718adc1b24 -size 75606 diff --git a/jsbeautifier-1.15.2.tar.gz b/jsbeautifier-1.15.2.tar.gz new file mode 100644 index 0000000..d90a614 --- /dev/null +++ b/jsbeautifier-1.15.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6aff11af2c6cb9a2ce135f33a5b223cf5ee676ab7ff5da0edac01e23734f5755 +size 75266 diff --git a/python-jsbeautifier.changes b/python-jsbeautifier.changes index 9906f7a..6319adb 100644 --- a/python-jsbeautifier.changes +++ b/python-jsbeautifier.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Feb 11 09:50:53 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.15.2 + * Patch SNYK-JS-CROSSSPAWN-8303230 issue brought it through old glob package + * Release wheels on pypi + * ModuleNotFoundError: No module named 'setuptools.command.test' as of latest + setuptools package release + * [Python]Compatible with setuptools>=72 +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install + * Update name for dist directory in %files section + ------------------------------------------------------------------- Mon Mar 18 20:32:10 UTC 2024 - Dirk Müller diff --git a/python-jsbeautifier.spec b/python-jsbeautifier.spec index 19849bf..c4cbccf 100644 --- a/python-jsbeautifier.spec +++ b/python-jsbeautifier.spec @@ -1,7 +1,7 @@ # # spec file for package python-jsbeautifier # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-jsbeautifier -Version: 1.15.1 +Version: 1.15.2 Release: 0 Summary: JavaScript unobfuscator and beautifier License: MIT @@ -26,7 +26,9 @@ URL: https://jsbeautifier.org Source0: https://files.pythonhosted.org/packages/source/j/jsbeautifier/jsbeautifier-%{version}.tar.gz # https://github.com/beautify-web/js-beautify/issues/1674 Source1: https://raw.githubusercontent.com/beautify-web/js-beautify/master/LICENSE +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-EditorConfig >= 0.12.2 @@ -50,10 +52,10 @@ Beautify, unpack or deobfuscate JavaScript. Handles popular online obfuscators. cp %{SOURCE1} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/js-beautify %{python_expand %fdupes %{buildroot}%{$python_sitelib}} @@ -71,6 +73,6 @@ cp %{SOURCE1} . %license LICENSE %python_alternative %{_bindir}/js-beautify %{python_sitelib}/jsbeautifier -%{python_sitelib}/jsbeautifier-%{version}-py*.egg-info +%{python_sitelib}/jsbeautifier-%{version}.dist-info %changelog