Blame python-pytest-flake8.spec

4ba306
# Enable Python dependency generation
4ba306
%{?python_enable_dependency_generator}
4ba306
4ba306
# Created by pyp2rpm-3.3.2
4ba306
%global pypi_name pytest-flake8
4ba306
4ba306
%global desc \
4ba306
%{name} is a plugin for pytest to leverage flake8 to automatically\
4ba306
and efficiently checking for PEP8 compliance of a project.
4ba306
4ba306
Name:           python-%{pypi_name}
164a6f
Version:        1.0.4
4915b3
Release:        3%{?dist}
4ba306
Summary:        Plugin for pytest to check PEP8 compliance with Flake8
4ba306
4ba306
License:        BSD
4ba306
URL:            https://github.com/tholo/pytest-flake8
4ba306
Source0:        https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
4ba306
BuildArch:      noarch
4ba306
4ba306
BuildRequires:  python3-devel
4ba306
BuildRequires:  python3dist(flake8) >= 3.5
4ba306
BuildRequires:  python3dist(pytest) >= 3.5
4ba306
BuildRequires:  python3dist(setuptools)
4ba306
4ba306
%description %{desc}
4ba306
4ba306
%package -n     python3-%{pypi_name}
4ba306
Summary:        %{summary}
4ba306
%{?python_provide:%python_provide python3-%{pypi_name}}
4ba306
4ba306
%description -n python3-%{pypi_name} %{desc}
4ba306
4ba306
4ba306
%prep
4ba306
%autosetup -n %{pypi_name}-%{version}
4ba306
# Remove bundled egg-info
4ba306
rm -rf %{pypi_name}.egg-info
4ba306
4ba306
4ba306
%build
4ba306
%py3_build
4ba306
4ba306
4ba306
%install
4ba306
%py3_install
4ba306
4ba306
4ba306
%files -n python3-%{pypi_name}
4ba306
%license LICENSE
4ba306
%doc README.rst
4ba306
%{python3_sitelib}/__pycache__/*
4ba306
%{python3_sitelib}/pytest_flake8.py
4ba306
%{python3_sitelib}/pytest_flake8-%{version}-py?.?.egg-info
4ba306
4ba306
%changelog
4915b3
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.4-3
4915b3
- Rebuilt for Python 3.8
4915b3
edbf0d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
edbf0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
edbf0d
164a6f
* Thu Apr 04 2019 Dan Radez <dradez@redhat.com> - 1.0.4-1
164a6f
- update to 1.0.4
164a6f
ffb4d9
* Wed Feb 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-3
ffb4d9
- Subpackage python2-pytest-flake8 has been removed
ffb4d9
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
ffb4d9
ea8deb
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
ea8deb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ea8deb
4ba306
* Wed Jul 11 2018 Neal Gompa <ngompa13@gmail.com> - 1.0.1-1
4ba306
- Initial package