Imported from SRPM

This commit is contained in:
User 2019-11-10 12:03:56 +03:00
commit c4eabee4a1
2 changed files with 52 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
yamllint-1.18.0.tar.gz: ce949f57ca8b1fa22c7d9ede0411fe34d2304031

50
yamllint.spec Normal file
View 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