forked from pool/python-yamllint
Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| afb502ec5a | |||
| 83db40d712 | |||
| 5ff081f68d |
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- 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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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}
|
||||
Name: python-yamllint
|
||||
Version: 1.35.1
|
||||
Version: 1.36.2
|
||||
Release: 0
|
||||
Summary: A linter for YAML files
|
||||
License: GPL-3.0-only
|
||||
@@ -26,14 +31,21 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/adrienverge/yamllint
|
||||
Source: https://files.pythonhosted.org/packages/source/y/yamllint/yamllint-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyYAML
|
||||
Requires: python-pathspec >= 0.5.3
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module pathspec >= 0.5.3}
|
||||
@@ -53,10 +65,10 @@ indentation, etc.
|
||||
sed 's/ setuptools/ setuptools; python_version < "3.8"/' setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/yamllint
|
||||
|
||||
@@ -72,6 +84,9 @@ export GITHUB_RUN_ID=1
|
||||
%postun
|
||||
%python_uninstall_alternative yamllint
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative yamllint
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
|
||||
BIN
yamllint-1.35.1.tar.gz
LFS
BIN
yamllint-1.35.1.tar.gz
LFS
Binary file not shown.
BIN
yamllint-1.36.2.tar.gz
LFS
Normal file
BIN
yamllint-1.36.2.tar.gz
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user