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