17
0

6 Commits

Author SHA256 Message Date
9ed7d81d14 Accepting request 1301410 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yamllint?expand=0&rev=22
2025-08-26 12:57:29 +00:00
9907ef21ed - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yamllint?expand=0&rev=46
2025-08-26 09:48:28 +00:00
6eecc56d5e Accepting request 1289273 from devel:languages:python
Forwarded request #1289245 from glaubitz

- 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

OBS-URL: https://build.opensuse.org/request/show/1289273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yamllint?expand=0&rev=21
2025-07-01 09:34:16 +00:00
94af65e6ad - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yamllint?expand=0&rev=44
2025-06-30 12:58:16 +00:00
a014afe41d Accepting request 1254109 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1254109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yamllint?expand=0&rev=20
2025-03-18 16:42:27 +00:00
4487ca44d6 Accepting request 1254096 from home:glaubitz:branches:devel:languages:python
- 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``

OBS-URL: https://build.opensuse.org/request/show/1254096
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yamllint?expand=0&rev=42
2025-03-18 12:29:35 +00:00
4 changed files with 64 additions and 8 deletions

View File

@@ -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>

View File

@@ -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.37.1
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

Binary file not shown.

3
yamllint-1.37.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81f7c0c5559becc8049470d86046b36e96113637bcbe4753ecef06977c00245d
size 141613