Package python3-module-flake8: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | %define _unpackaged_files_terminate_build 1 %define pypi_name flake8 %def_with check Name: python3-module-%pypi_name Version: 7.0.0 Release: alt1 Summary: Code checking using pep8 and pyflakes Group: Development/Python3 License: MIT Url: https://pypi.org/project/flake8/ VCS: https://github.com/PyCQA/flake8.git BuildArch: noarch Source: %name-%version.tar Source1: %pyproject_deps_config_name Patch0: %name-%version-alt.patch %pyproject_runtimedeps_metadata BuildRequires(pre): rpm-build-pyproject %pyproject_builddeps_build %if_with check %pyproject_builddeps_metadata %pyproject_builddeps_check %endif %description Flake8 is a wrapper around these tools: - PyFlakes - pep8 - Ned's McCabe script Flake8 runs all tools by launching the single 'flake8' script, but ignores pep8 and PyFlakes extended options and just uses defaults. It displays the warnings in a per-file, merged output. It also adds a few features: - files that contains with this header are skipped:: - lines that contains a "# NOQA" comment at the end will not issue a warning. - a Mercurial hook. - a McCabe complexity checker. %prep %setup %autopatch -p1 %pyproject_deps_resync_build %pyproject_deps_resync_metadata %if_with check %pyproject_deps_resync_check_tox tox.ini testenv %endif %build %pyproject_build %install %pyproject_install %check %pyproject_run_pytest -ra -Wignore %files %doc README.rst LICENSE %_bindir/flake8 %python3_sitelibdir/flake8/ %python3_sitelibdir/%{pyproject_distinfo %pypi_name}/ %changelog * Thu Feb 08 2024 Anton Zhukharev <ancieg@altlinux.org> 7.0.0-alt1 - Updated to 7.0.0. * Mon Aug 14 2023 Stanislav Levin <slev@altlinux.org> 6.1.0-alt1 - 6.0.0 -> 6.1.0. * Mon Feb 13 2023 Anton Zhukharev <ancieg@altlinux.org> 6.0.0-alt1 - 5.0.4 -> 6.0.0. * Mon Aug 15 2022 Stanislav Levin <slev@altlinux.org> 5.0.4-alt1 - 4.0.1 -> 5.0.4. * Wed Apr 06 2022 Stanislav Levin <slev@altlinux.org> 4.0.1-alt2 - Fixed FTBFS (mccabe 0.7). * Wed Jan 26 2022 Stanislav Levin <slev@altlinux.org> 4.0.1-alt1 - 3.9.2 -> 4.0.1. * Tue Sep 07 2021 Stanislav Levin <slev@altlinux.org> 3.9.2-alt1 - 3.9.1 -> 3.9.2. * Tue Apr 20 2021 Stanislav Levin <slev@altlinux.org> 3.9.1-alt1 - 3.8.4 -> 3.9.1. * Mon Oct 19 2020 Stanislav Levin <slev@altlinux.org> 3.8.4-alt1 - 3.7.9 -> 3.8.4. * Sat Nov 16 2019 Stanislav Levin <slev@altlinux.org> 3.7.9-alt1 - 3.7.8 -> 3.7.9. * Tue Aug 13 2019 Stanislav Levin <slev@altlinux.org> 3.7.8-alt1 - 3.7.7 -> 3.7.8. * Thu Aug 08 2019 Stanislav Levin <slev@altlinux.org> 3.7.7-alt2 - Fixed testing against Pytest 5. * Fri Mar 22 2019 Stanislav Levin <slev@altlinux.org> 3.7.7-alt1 - 3.6.0 -> 3.7.7. * Mon Jan 28 2019 Mikhail Gordeev <obirvalger@altlinux.org> 3.6.0-alt2 - Use executable on python3 * Sat Oct 27 2018 Stanislav Levin <slev@altlinux.org> 3.6.0-alt1 - 3.5.0 -> 3.6.0. * Fri May 25 2018 Andrey Bychkov <mrdrew@altlinux.org> 3.5.0-alt2.1 - rebuild with python3.6 * Fri Feb 16 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 3.5.0-alt2 - Updated build dependencies. * Fri Dec 01 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 3.5.0-alt1 - Updated to upstream version 3.5.0. * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 2.4.1-alt1.git20150710.1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 2.4.1-alt1.git20150710.1 - NMU: Use buildreq for BR. * Sun Aug 02 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.4.1-alt1.git20150710 - Snapshot from git * Fri Jul 31 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.4.1-alt1 - Version 2.4.1 * Tue Apr 28 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.4.0-alt1 - Version 2.4.0 * Mon Feb 16 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.3.0-alt1 - Version 2.3.0 * Sat Nov 08 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.5-alt1 - Version 2.2.5 * Fri Aug 01 2014 Lenar Shakirov <snejok@altlinux.ru> 2.1.0-alt1 - First build for ALT (based on Fedora 2.1.0-3.fc21.src) |