Package python3-module-astroid: 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 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | %define _unpackaged_files_terminate_build 1 %define pypi_name astroid %define mod_name %pypi_name %def_with check Name: python3-module-%pypi_name Version: 3.1.0 Release: alt1 Summary: An abstract syntax tree for Python with inference support License: LGPLv2.1+ Group: Development/Python3 Url: https://pypi.org/project/astroid Vcs: https://github.com/pylint-dev/astroid BuildArch: noarch Source: %name-%version.tar Source1: %pyproject_deps_config_name Patch: %name-%version-alt.patch %pyproject_runtimedeps_metadata BuildRequires(pre): rpm-build-pyproject %pyproject_builddeps_build %if_with check %add_pyproject_deps_check_filter contributors-txt %add_pyproject_deps_check_filter tbump %pyproject_builddeps_metadata %pyproject_builddeps_check # tests/test_manager.py::IsolatedAstroidManagerTest::test_no_user_warning BuildRequires: python3-module-pip %endif %description The aim of this module is to provide a common base representation of python source code. It is currently the powering pylint's capabilities. It provides a compatible representation which comes from the _ast module. It rebuilds the tree generated by the builtin _ast module by recursively walking down the AST and building an extended ast. The new node classes have additional methods and attributes for different usages. They include some support for static inference and local name scopes. Furthermore, astroid can also build partial trees by inspecting living objects. %prep %setup %patch -p1 %pyproject_deps_resync_build %pyproject_deps_resync_metadata %if_with check %pyproject_deps_resync_check_pipreqfile requirements_minimal.txt %endif %build %pyproject_build %install %pyproject_install # used only in tests, but requires Pytest rm %buildroot%python3_sitelibdir/%mod_name/test_utils.py %check %pyproject_run_pytest -vra %files %doc ChangeLog README.rst %python3_sitelibdir/%mod_name/ %python3_sitelibdir/%{pyproject_distinfo %pypi_name}/ %changelog * Mon Feb 26 2024 Stanislav Levin <slev@altlinux.org> 3.1.0-alt1 - 2.15.6 -> 3.1.0. * Wed Jul 19 2023 Stanislav Levin <slev@altlinux.org> 2.15.6-alt1 - 2.15.5 -> 2.15.6. * Tue May 16 2023 Stanislav Levin <slev@altlinux.org> 2.15.5-alt1 - 2.9.3 -> 2.15.5. * Wed Mar 16 2022 Stanislav Levin <slev@altlinux.org> 2.9.3-alt2 - Fixed FTBFS (wrapt 1.14.0). * Thu Jan 27 2022 Stanislav Levin <slev@altlinux.org> 2.9.3-alt1 - 2.5.6 -> 2.9.3. * Thu Jan 20 2022 Stanislav Levin <slev@altlinux.org> 2.5.6-alt2 - Fixed FTBFS (setuptools 60+). * Tue Apr 27 2021 Stanislav Levin <slev@altlinux.org> 2.5.6-alt1 - 2.5.3 -> 2.5.6. * Wed Apr 14 2021 Stanislav Levin <slev@altlinux.org> 2.5.3-alt1 - 2.5.2 -> 2.5.3. * Tue Mar 30 2021 Stanislav Levin <slev@altlinux.org> 2.5.2-alt1 - 2.5.1 -> 2.5.2. * Wed Mar 24 2021 Stanislav Levin <slev@altlinux.org> 2.5.1-alt1 - 2.4.2 -> 2.5.1. * Mon Sep 07 2020 Stanislav Levin <slev@altlinux.org> 2.4.2-alt3 - Unpinned lazy-object-proxy. * Tue Aug 25 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 2.4.2-alt2 - Fixed tests with new numpy. * Mon Aug 03 2020 Stanislav Levin <slev@altlinux.org> 2.4.2-alt1 - 2.3.3 -> 2.4.2. * Tue Nov 12 2019 Stanislav Levin <slev@altlinux.org> 2.3.3-alt1 - 2.3.2 -> 2.3.3. * Fri Oct 18 2019 Stanislav Levin <slev@altlinux.org> 2.3.2-alt1 - 2.3.1 -> 2.3.2. * Wed Oct 16 2019 Stanislav Levin <slev@altlinux.org> 2.3.1-alt1 - 2.2.5 -> 2.3.1. * Tue Aug 06 2019 Stanislav Levin <slev@altlinux.org> 2.2.5-alt2 - Fixed testing against Pytest 5. * Sun Mar 17 2019 Stanislav Levin <slev@altlinux.org> 2.2.5-alt1 - 2.1.0 -> 2.2.5. * Mon Jan 14 2019 Stanislav Levin <slev@altlinux.org> 2.1.0-alt1 - 2.0.4 -> 2.1.0. * Mon Sep 03 2018 Stanislav Levin <slev@altlinux.org> 2.0.4-alt1 - Move Python3 module to a separated src package. - 1.6.4 -> 2.0.4. * Fri May 25 2018 Stanislav Levin <slev@altlinux.org> 1.6.4-alt1 - 1.5.3 -> 1.6.4 * Fri Oct 20 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 1.5.3-alt3 - Updated runtime dependencies. * Thu Aug 17 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 1.5.3-alt2 - Fixed build. * Tue Aug 01 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 1.5.3-alt1 - Updated to upstream version 1.5.3. * Mon Mar 14 2016 Denis Medvedev <nbr@altlinux.org> 1.4.4-alt1 - Upstream switched to git. New version 1.4.4 * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 1.3.8-alt1.1 - NMU: Use buildreq for BR. * Thu Aug 13 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3.8-alt1 - Version 1.3.8 * Thu Dec 04 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3.2-alt1 - Version 1.3.2 (ALT #30535) * Wed Mar 19 2014 Timur Aitov <timonbl4@altlinux.org> 1.0.1-alt1 - Version 1.0.1 * Mon Apr 01 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.24.2-alt1.hg20130227 - Version 0.24.2 * Fri Mar 22 2013 Aleksey Avdeev <solo@altlinux.ru> 0.23.1-alt1.hg20120119.1 - Rebuild with Python-3.3 * Fri Jun 22 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.23.1-alt1.hg20120119 - Version 0.23.1 - Added module for Python 3 * Sat Nov 26 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.23.0-alt1 - Version 0.23.0 * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.20.3-alt1.1 - Rebuild with Python-2.7 * Wed Sep 29 2010 Andrey Rahmatullin <wrar@altlinux.org> 0.20.3-alt1 - 0.20.3 * Mon Sep 13 2010 Andrey Rahmatullin <wrar@altlinux.org> 0.20.2-alt1 - 0.20.2 * Mon Sep 06 2010 Andrey Rahmatullin <wrar@altlinux.org> 0.20.1-alt2 - run tests * Fri May 14 2010 Andrey Rahmatullin <wrar@altlinux.ru> 0.20.1-alt1 - 0.20.1 * Fri Mar 26 2010 Andrey Rahmatullin <wrar@altlinux.ru> 0.20.0-alt1 - 0.20.0 * Fri Dec 18 2009 Andrey Rahmatullin <wrar@altlinux.ru> 0.19.3-alt1 - 0.19.3 * Fri Dec 18 2009 Andrey Rahmatullin <wrar@altlinux.ru> 0.19.2-alt1 - 0.19.2 * Thu Nov 12 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.19.1-alt1.1 - Rebuilt with python 2.6 * Fri Sep 04 2009 Andrey Rahmatullin <wrar@altlinux.ru> 0.19.1-alt1 - 0.19.1 * Thu Mar 26 2009 Andrey Rahmatullin <wrar@altlinux.ru> 0.19.0-alt1 - 0.19.0 * Sun Mar 22 2009 Andrey Rahmatullin <wrar@altlinux.ru> 0.18.0-alt1 - 0.18.0 * Sun Feb 22 2009 Andrey Rahmatullin <wrar@altlinux.ru> 0.17.4-alt2 - use %%python_{build,install} * Tue Dec 02 2008 Andrey Rahmatullin <wrar@altlinux.ru> 0.17.4-alt1 - 0.17.4 * Sun Oct 12 2008 Andrey Rahmatullin <wrar@altlinux.ru> 0.17.3-alt1 - 0.17.3 - spec cleanup - probably fix automatic dependency search - don't package tests * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 0.16.3-alt1.1 - Rebuilt with python-2.5. * Wed Dec 6 2006 Andrey Khavryuchenko <akhavr@altlinux.org> 0.16.3-alt1 - Initial build for ALT Linux |