forked from pool/python-yamale
update to 6.0.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yamale?expand=0&rev=16
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
_service
Normal file
3
_service
Normal file
@@ -0,0 +1,3 @@
|
||||
<services>
|
||||
<service name="download_files" mode="disabled"/>
|
||||
</services>
|
||||
67
python-yamale.changes
Normal file
67
python-yamale.changes
Normal file
@@ -0,0 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 3 08:50:02 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 6.0.0:
|
||||
* New Features
|
||||
- Adds -e PATTERN / --exclude PATTERN argument to the CLI
|
||||
- CLI supports -n auto to spawn child processes equal to number
|
||||
of system CPUs
|
||||
* Breaking Changes
|
||||
- Enforces all paths supplied to the command line interface
|
||||
must exist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 1 08:54:19 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 5.3.0:
|
||||
* Create .pre-commit-hooks.yaml by @rsrdesarrollo in #258
|
||||
* feat: support multiple paths in yamale by @thiagowfx in #251
|
||||
* pre-commit: set pass_filenames to true by @thiagowfx in #260
|
||||
* Support 3.13, add [ruamel] optional package dep by @cblakkan in
|
||||
#257
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 2 07:15:49 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 5.2.1:
|
||||
* (fix)semver: SyntaxWarning: invalid escape sequence by @kiblik
|
||||
in #248
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 18:52:59 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 5.2.0:
|
||||
* Add CodeQL workflow for GitHub code scanning by @lgtm-com in #205
|
||||
* Add ruff gh action by @cblakkan in #244
|
||||
* Hard fail on undefined includes by @cblakkan in #247
|
||||
* Add semantic versioning (semver.org) validator by @thiagowfx in #246
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 20 17:40:26 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 5.1.0:
|
||||
* fix(cli): check schema to be a valid path first by
|
||||
@AndreyNautilus in #241
|
||||
* Ruff format codebase by @cblakkan in #243
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 19:28:44 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 5.0.0:
|
||||
* fix 3.12 deprecations by @sigma67 in #237
|
||||
* Prep for 5.0.0; Run tests on 3.8, 3.12 by @cblakkan in #240
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 11:46:03 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- add sle15_python_module_pythons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 28 05:30:09 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Clean up SPEC file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 27 11:26:21 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- new package yamale, used by Helm's chart-testing package
|
||||
73
python-yamale.spec
Normal file
73
python-yamale.spec
Normal file
@@ -0,0 +1,73 @@
|
||||
#
|
||||
# spec file for package python-yamale
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-yamale
|
||||
Version: 6.0.0
|
||||
Release: 0
|
||||
Summary: A schema and validator for YAML
|
||||
License: MIT
|
||||
URL: https://github.com/23andMe/Yamale
|
||||
Source: https://github.com/23andMe/Yamale/archive/refs/tags/%{version}.tar.gz#/yamale-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module ruamel.yaml}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A schema and validator for YAML.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n Yamale-%{version}
|
||||
|
||||
find . -type f -name "*.py" -exec sed -i '/#!\/usr\/bin\/env/d' {} +
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/yamale
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest yamale
|
||||
|
||||
%post
|
||||
%python_install_alternative yamale
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative yamale
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/yamale
|
||||
%{python_sitelib}/yamale
|
||||
%{python_sitelib}/yamale-%{version}*-info/
|
||||
|
||||
%changelog
|
||||
3
yamale-5.2.1.tar.gz
Normal file
3
yamale-5.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e64794c966103026b65863c87f8b7cdd7345140deb424811b45aab7608114e99
|
||||
size 371395
|
||||
3
yamale-5.3.0.tar.gz
Normal file
3
yamale-5.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c10086041359434cf94fe35ff7485680b41ec79c5a6eaa7fa68debc306360f5a
|
||||
size 371720
|
||||
3
yamale-6.0.0.tar.gz
Normal file
3
yamale-6.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9ce2b95ab6770e52432cf1a02b0f610105eb8cfc32e4935e8064ff6c325f6589
|
||||
size 372476
|
||||
Reference in New Issue
Block a user