forked from pool/python-jsbeautifier
Accepting request 1245048 from home:glaubitz:branches:devel:languages:python
- 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
OBS-URL: https://build.opensuse.org/request/show/1245048
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsbeautifier?expand=0&rev=25
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ebd733b560704c602d744eafc839db60a1ee9326e30a2a80c4adb8718adc1b24
|
||||
size 75606
|
||||
3
jsbeautifier-1.15.2.tar.gz
Normal file
3
jsbeautifier-1.15.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6aff11af2c6cb9a2ce135f33a5b223cf5ee676ab7ff5da0edac01e23734f5755
|
||||
size 75266
|
||||
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 11 09:50:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user