Files
packages/anda/langs/python/yamale/yamale.spec
T
Raboneko e3b5f22907 add: yamale (#6851) (#6854)
(cherry picked from commit 121598d3ef)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2025-10-24 00:45:01 -05:00

52 lines
1.1 KiB
RPMSpec

%global pypi_name yamale
%global _desc A schema and validator for YAML.
Name: python-%{pypi_name}
Version: 6.0.0
Release: 1%?dist
Summary: A schema and validator for YAML
License: MIT
URL: https://github.com/23andMe/Yamale
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: yamale
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n yamale-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files yamale
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md SECURITY.md
%license LICENSE
%{_bindir}/yamale
%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc
%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc
%python3_sitelib/yamale-%version.dist-info/*
%changelog
* Fri Oct 24 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit