From 28fd938702b9fc0d38867de6f4b9c1897f89835d05d9599aa65e1402a85d376d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 3 Mar 2020 12:10:13 +0000 Subject: [PATCH] - Update to 1.10.3: * minor fixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsbeautifier?expand=0&rev=11 --- jsbeautifier-1.10.2.tar.gz | 3 --- jsbeautifier-1.10.3.tar.gz | 3 +++ python-jsbeautifier.changes | 6 ++++++ python-jsbeautifier.spec | 18 +++++++++--------- 4 files changed, 18 insertions(+), 12 deletions(-) delete mode 100644 jsbeautifier-1.10.2.tar.gz create mode 100644 jsbeautifier-1.10.3.tar.gz diff --git a/jsbeautifier-1.10.2.tar.gz b/jsbeautifier-1.10.2.tar.gz deleted file mode 100644 index 107c98e..0000000 --- a/jsbeautifier-1.10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5ce5195c0b54a68eb813649829143373823ca28caa4d7aa682442b87ebea1ce -size 69133 diff --git a/jsbeautifier-1.10.3.tar.gz b/jsbeautifier-1.10.3.tar.gz new file mode 100644 index 0000000..a62a54c --- /dev/null +++ b/jsbeautifier-1.10.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:978ee8fd057190ed414918cf689e6045185402a36113d93463958b8a4d895d29 +size 69260 diff --git a/python-jsbeautifier.changes b/python-jsbeautifier.changes index 42098ae..8301e72 100644 --- a/python-jsbeautifier.changes +++ b/python-jsbeautifier.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 3 12:05:39 UTC 2020 - Tomáš Chvátal + +- Update to 1.10.3: + * minor fixes + ------------------------------------------------------------------- Wed Sep 11 13:28:59 UTC 2019 - Tomáš Chvátal diff --git a/python-jsbeautifier.spec b/python-jsbeautifier.spec index 46f992a..1500e77 100644 --- a/python-jsbeautifier.spec +++ b/python-jsbeautifier.spec @@ -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