forked from pool/python-yamllint
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9ed7d81d14 | |||
| 9907ef21ed | |||
| 6eecc56d5e | |||
| 94af65e6ad | |||
| a014afe41d | |||
| 4487ca44d6 |
@@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 26 09:48:09 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 30 10:54:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.37.1
|
||||||
|
* Rule ``comments``: tell how many spaces are expected
|
||||||
|
* Rule ``quoted-strings``: Fix ``only-when-needed`` on
|
||||||
|
multiline with backslash
|
||||||
|
* Config: Report if ``rules`` is not a dict
|
||||||
|
* Fix ``test_codec_built_in_equivalent()`` test when run with pytest
|
||||||
|
* CI: Fix TestPyPI "dev0" versions for master commits on tags
|
||||||
|
* Docs: Add links to GitHub repository and releases
|
||||||
|
* Docs: Fix GitLab integration example
|
||||||
|
* Docs: Fix GitLab integration link
|
||||||
|
* Fix the tests badge link on the README
|
||||||
|
- from version 1.37.0
|
||||||
|
* Automatically detect Unicode character encoding of files
|
||||||
|
* Publish pushes to master branch to TestPyPI
|
||||||
|
- 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
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 18 12:03:00 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.36.2
|
||||||
|
* Build: Restore missing documentation and tests in sdist
|
||||||
|
- from version 1.36.1
|
||||||
|
* Publish PyPI releases using GitHub Actions workflows
|
||||||
|
- from version 1.36.0
|
||||||
|
* Add support for Python 3.13, drop support for Python 3.8
|
||||||
|
* Rule ``key-ordering``: add ``ignored-keys`` option
|
||||||
|
* Rule ``quoted-strings``: fix ``only-when-needed`` and escaped special chars
|
||||||
|
* Fix TTY-related tests on Python 3.14
|
||||||
|
* Docs: fix import of ``yamllint.config`` rather than ``yamllint``
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 16 14:41:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Mar 16 14:41:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-yamllint
|
# spec file for package python-yamllint
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,9 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-yamllint
|
Name: python-yamllint
|
||||||
Version: 1.35.1
|
Version: 1.37.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A linter for YAML files
|
Summary: A linter for YAML files
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
@@ -26,14 +31,21 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/adrienverge/yamllint
|
URL: https://github.com/adrienverge/yamllint
|
||||||
Source: https://files.pythonhosted.org/packages/source/y/yamllint/yamllint-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/y/yamllint/yamllint-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
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-PyYAML
|
Requires: python-PyYAML
|
||||||
Requires: python-pathspec >= 0.5.3
|
Requires: python-pathspec >= 0.5.3
|
||||||
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
%endif
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module pathspec >= 0.5.3}
|
BuildRequires: %{python_module pathspec >= 0.5.3}
|
||||||
@@ -53,10 +65,10 @@ indentation, etc.
|
|||||||
sed 's/ setuptools/ setuptools; python_version < "3.8"/' setup.cfg
|
sed 's/ setuptools/ setuptools; python_version < "3.8"/' setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%python_clone -a %{buildroot}%{_bindir}/yamllint
|
%python_clone -a %{buildroot}%{_bindir}/yamllint
|
||||||
|
|
||||||
@@ -72,6 +84,9 @@ export GITHUB_RUN_ID=1
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative yamllint
|
%python_uninstall_alternative yamllint
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative yamllint
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|||||||
BIN
yamllint-1.35.1.tar.gz
LFS
BIN
yamllint-1.35.1.tar.gz
LFS
Binary file not shown.
3
yamllint-1.37.1.tar.gz
Normal file
3
yamllint-1.37.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:81f7c0c5559becc8049470d86046b36e96113637bcbe4753ecef06977c00245d
|
||||||
|
size 141613
|
||||||
Reference in New Issue
Block a user