forked from pool/python-jsbeautifier
- Update to 1.10.3:
* minor fixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsbeautifier?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
45b481260c
commit
28fd938702
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a5ce5195c0b54a68eb813649829143373823ca28caa4d7aa682442b87ebea1ce
|
||||
size 69133
|
||||
3
jsbeautifier-1.10.3.tar.gz
Normal file
3
jsbeautifier-1.10.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:978ee8fd057190ed414918cf689e6045185402a36113d93463958b8a4d895d29
|
||||
size 69260
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 3 12:05:39 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.10.3:
|
||||
* minor fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 11 13:28:59 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-jsbeautifier
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,26 +18,25 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-jsbeautifier
|
||||
Version: 1.10.2
|
||||
Version: 1.10.3
|
||||
Release: 0
|
||||
Summary: JavaScript unobfuscator and beautifier
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: http://jsbeautifier.org
|
||||
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 setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-EditorConfig >= 0.12.0
|
||||
Requires: python-EditorConfig >= 0.12.2
|
||||
Requires: python-setuptools
|
||||
Requires: python-six >= 1.6.1
|
||||
Requires: python-six >= 1.13.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module EditorConfig >= 0.12.0}
|
||||
BuildRequires: %{python_module EditorConfig >= 0.12.2}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six >= 1.6.1}
|
||||
BuildRequires: %{python_module six >= 1.13.0}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@@ -56,7 +55,8 @@ cp %{SOURCE1} .
|
||||
%{python_expand %fdupes %{buildroot}%{$python_sitelib}}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest jsbeautifier/tests/testindentation.py
|
||||
%pytest jsbeautifier/tests/generated/tests.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user