Blame SPECS/python-pytest-flake8.spec

f26588
# Enable Python dependency generation
f26588
%{?python_enable_dependency_generator}
f26588
f26588
# Created by pyp2rpm-3.3.2
f26588
%global pypi_name pytest-flake8
f26588
f26588
%global desc \
f26588
%{name} is a plugin for pytest to leverage flake8 to automatically\
f26588
and efficiently checking for PEP8 compliance of a project.
f26588
f26588
Name:           python-%{pypi_name}
f26588
Version:        1.0.6
f26588
Release:        3%{?dist}
f26588
Summary:        Plugin for pytest to check PEP8 compliance with Flake8
f26588
f26588
License:        BSD
f26588
URL:            https://github.com/tholo/pytest-flake8
f26588
Source0:        %{pypi_source}
f26588
BuildArch:      noarch
f26588
f26588
BuildRequires:  python3-devel
f26588
BuildRequires:  python3dist(flake8) >= 3.5
f26588
BuildRequires:  python3dist(pytest) >= 3.5
f26588
BuildRequires:  python3dist(setuptools)
f26588
f26588
%description %{desc}
f26588
f26588
%package -n     python3-%{pypi_name}
f26588
Summary:        %{summary}
f26588
%{?python_provide:%python_provide python3-%{pypi_name}}
f26588
f26588
%description -n python3-%{pypi_name} %{desc}
f26588
f26588
f26588
%prep
f26588
%autosetup -n %{pypi_name}-%{version}
f26588
# Remove bundled egg-info
f26588
rm -rf %{pypi_name}.egg-info
f26588
f26588
f26588
%build
f26588
%py3_build
f26588
f26588
f26588
%install
f26588
%py3_install
f26588
f26588
f26588
%check
f26588
%pytest
f26588
f26588
f26588
%files -n python3-%{pypi_name}
f26588
%license LICENSE
f26588
%doc README.rst
f26588
%{python3_sitelib}/__pycache__/*
f26588
%{python3_sitelib}/pytest_flake8.py
f26588
%{python3_sitelib}/pytest_flake8-%{version}-py%{python3_version}.egg-info/
f26588
f26588
%changelog
f26588
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-3
f26588
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f26588
f26588
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-2
f26588
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f26588
f26588
* Mon Jun 01 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.6-1
f26588
- Update to 1.0.6 (#1827518) to fix compatibility with flake8 3.8
f26588
f26588
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.4-6
f26588
- Rebuilt for Python 3.9
f26588
f26588
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-5
f26588
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f26588
f26588
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.4-4
f26588
- Rebuilt for Python 3.8.0rc1 (#1748018)
f26588
f26588
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.4-3
f26588
- Rebuilt for Python 3.8
f26588
f26588
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
f26588
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f26588
f26588
* Thu Apr 04 2019 Dan Radez <dradez@redhat.com> - 1.0.4-1
f26588
- update to 1.0.4
f26588
f26588
* Wed Feb 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-3
f26588
- Subpackage python2-pytest-flake8 has been removed
f26588
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
f26588
f26588
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
f26588
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f26588
f26588
* Wed Jul 11 2018 Neal Gompa <ngompa13@gmail.com> - 1.0.1-1
f26588
- Initial package