mirror of
https://abf.rosa.ru/djam/yamllint.git
synced 2025-02-23 14:02:53 +00:00
Imported from SRPM
This commit is contained in:
commit
c4eabee4a1
2 changed files with 52 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
yamllint-1.18.0.tar.gz: ce949f57ca8b1fa22c7d9ede0411fe34d2304031
|
50
yamllint.spec
Normal file
50
yamllint.spec
Normal file
|
@ -0,0 +1,50 @@
|
|||
%global pypi_name yamllint
|
||||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
|
||||
Name: %{pypi_name}
|
||||
Version: 1.18.0
|
||||
Release: 1
|
||||
Summary: A linter for YAML files
|
||||
License: GPLv3+
|
||||
URL: https://github.com/adrienverge/yamllint
|
||||
Source0: https://pypi.python.org/packages/source/y/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
Group: Development/Python
|
||||
BuildArch: noarch
|
||||
Requires: python3egg(pathspec)
|
||||
Requires: python3egg(pyyaml)
|
||||
Requires: python3egg(setuptools)
|
||||
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: python3egg(setuptools)
|
||||
BuildRequires: python3egg(nose)
|
||||
BuildRequires: python3egg(pathspec)
|
||||
BuildRequires: python3egg(pyyaml)
|
||||
|
||||
%description
|
||||
A linter for YAML files.
|
||||
|
||||
yamllint does not only check for syntax validity, but for weirdnesses like key
|
||||
repetition and cosmetic problems such as lines length, trailing spaces,
|
||||
indentation, etc.
|
||||
|
||||
%prep
|
||||
%setup -qn %{pypi_name}-%{version}
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
|
||||
%files
|
||||
%doc README.rst LICENSE
|
||||
%{_bindir}/%{pypi_name}
|
||||
%{py3_puresitedir}/%{pypi_name}
|
||||
%{py3_puresitedir}/%{pypi_name}-*
|
||||
|
||||
%changelog
|
Loading…
Add table
Reference in a new issue