%global srcname colcon-core Name: python-%{srcname} Version: 0.18.4 Release: 1%{?dist} Summary: Command line tool to build sets of software packages License: Apache-2.0 URL: https://colcon.readthedocs.io Source0: https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz # Not submitted upstream - make pytest dependency weak Patch0: %{name}-0.5.3-remove-pytest.patch # Not submitted upstream - compatibility with pytest 2.9.X Patch1: %{name}-0.17.0-pytest-compat.patch BuildArch: noarch %description colcon is a command line tool to improve the workflow of building, testing and using multiple software packages. It automates the process, handles the ordering and sets up the environment to use the packages. %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: (python%{python3_pkgversion} >= 3.8 or python%{python3_pkgversion}-importlib-metadata) BuildRequires: (python%{python3_pkgversion} >= 3.11 or python%{python3_pkgversion}-tomli >= 1) BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-distlib >= 0.2.5 BuildRequires: python%{python3_pkgversion}-empy BuildRequires: python%{python3_pkgversion}-packaging BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-setuptools >= 30.3.0 %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %if %{undefined __pythondist_requires} Requires: (python%{python3_pkgversion} >= 3.8 or python%{python3_pkgversion}-importlib-metadata) Requires: (python%{python3_pkgversion} >= 3.11 or python%{python3_pkgversion}-tomli >= 1) Requires: python%{python3_pkgversion}-distlib >= 0.2.5 Requires: python%{python3_pkgversion}-empy Requires: python%{python3_pkgversion}-packaging Requires: python%{python3_pkgversion}-setuptools %endif Recommends: python%{python3_pkgversion}-coloredlogs Recommends: python%{python3_pkgversion}-pytest Recommends: python%{python3_pkgversion}-pytest-cov Recommends: python%{python3_pkgversion}-pytest-repeat Recommends: python%{python3_pkgversion}-pytest-rerunfailures Recommends: python%{python3_pkgversion}-pytest-runner %description -n python%{python3_pkgversion}-%{srcname} colcon is a command line tool to improve the workflow of building, testing and using multiple software packages. It automates the process, handles the ordering and sets up the environment to use the packages. %prep %autosetup -p1 -n %{srcname}-%{version} %build %py3_build %install %py3_install %check %pytest -m 'not linter' test %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/colcon/ %{python3_sitelib}/colcon_core/ %{python3_sitelib}/colcon_core-%{version}-py%{python3_version}.egg-info/ %{_bindir}/colcon %changelog * Fri Dec 20 2024 Scott K Logan - 0.18.4-1 - Update to 0.18.4 (rhbz#2328585) * Tue Nov 05 2024 Scott K Logan - 0.18.3-1 - Update to 0.18.3 (rhbz#2323316) * Thu Oct 17 2024 Scott K Logan - 0.18.2-1 - Update to 0.18.2 * Wed Oct 02 2024 Scott K Logan - 0.18.1-1 - Update to 0.18.1 (rhbz#2300129) - Drop RHEL 7 spec support - Use boolean operators for backwards compatibility package dependencies * Fri Jul 19 2024 Fedora Release Engineering - 0.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jun 25 2024 Scott K Logan - 0.17.0-1 - Update to 0.17.0 (rhbz#2294186) * Fri Jun 07 2024 Python Maint - 0.16.1-2 - Rebuilt for Python 3.13 * Tue Apr 09 2024 Scott K Logan - 0.16.1-1 - Update to 0.16.1 * Thu Mar 14 2024 Scott K Logan - 0.16.0-1 - Update to 0.16.0 (rhbz#2269537) - Switch to SPDX license identifier * Mon Jan 22 2024 Scott K Logan - 0.15.2-1 - Update to 0.15.2 (rhbz#2240872) * Mon Jan 22 2024 Fedora Release Engineering - 0.12.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.12.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.12.1-2 - Rebuilt for Python 3.12 * Mon May 08 2023 Scott K Logan - 0.12.1-1 - Update to 0.12.1 (rhbz#2166742) * Fri Jan 20 2023 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Nov 18 2022 Scott K Logan - 0.11.0-1 - Update to 0.11.0 (rhbz#2102790) * Fri Jul 22 2022 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 23 2022 Scott K Logan - 0.9.0-1 - Update to 0.9.0 (rhbz#2100665) * Mon Jun 13 2022 Python Maint - 0.8.3-2 - Rebuilt for Python 3.11 * Sat May 07 2022 Scott K Logan - 0.8.3-1 - Update to 0.8.3 (rhbz#2074923) * Fri Jan 21 2022 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 23 2021 Scott K Logan - 0.7.1-1 - Update to 0.7.1 (rhbz#2035234) * Fri Jul 23 2021 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.6.1-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Oct 15 2020 Scott K Logan - 0.6.1-1 - Update to 0.6.1 (rhbz#1885437) * Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 20 2020 Scott K Logan - 0.6.0-1 - Update to 0.6.0 (rhbz#1858471) * Fri Jun 12 2020 Scott K Logan - 0.5.10-1 - Update to 0.5.10 (rhbz#1846601) * Tue May 26 2020 Miro Hrončok - 0.5.9-2 - Rebuilt for Python 3.9 * Wed Apr 15 2020 Scott K Logan - 0.5.9-1 - Update to 0.5.9 (rhbz#1775852) * Thu Jan 30 2020 Fedora Release Engineering - 0.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Oct 30 2019 Scott K Logan - 0.4.3-1 - Update to 0.4.3 (rhbz#1762548) * Fri Oct 11 2019 Scott K Logan - 0.4.1-2 - Skip a new test on platforms with older pytest * Fri Oct 11 2019 Scott K Logan - 0.4.1-1 - Update to 0.4.1 * Thu Oct 03 2019 Miro Hrončok - 0.4.0-2 - Rebuilt for Python 3.8.0rc1 (#1748018) * Thu Aug 29 2019 Scott K Logan - 0.4.0-1 - Update to 0.4.0 (rhbz#1747248) * Mon Aug 19 2019 Miro Hrončok - 0.3.23-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.3.23-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 16 2019 Scott K Logan - 0.3.23-1 - Update to 0.3.23 * Mon May 20 2019 Scott K Logan - 0.3.22-1 - Update to 0.3.22 * Fri Apr 26 2019 Scott K Logan - 0.3.20-2 - Drop obsolete Group * Fri Apr 26 2019 Scott K Logan - 0.3.20-1 - Update to 0.3.20 - Rebuilt to change main python from 3.4 to 3.6 in EPEL 7 * Mon Mar 18 2019 Scott K Logan - 0.3.19-1 - Update to 0.3.19 * Fri Mar 01 2019 Scott K Logan - 0.3.18-1 - Update to 0.3.18 - Handle automatic dependency generation (f30+) - Make pytest and coloredlogs dependencies weak for Fedora * Mon Feb 11 2019 Scott K Logan - 0.3.17-2 - Enable tests on EPEL 7 - Move pytest-cov to Recommends - Remove pylint from BuildRequires because those tests are skipped - Target tests at the 'test' subdirectory specifically * Fri Feb 08 2019 Scott K Logan - 0.3.17-1 - Update to 0.3.17 * Mon Feb 04 2019 Scott K Logan - 0.3.16-1 - Update to 0.3.16 * Wed Jan 16 2019 Scott K Logan - 0.3.15-1 - Update to 0.3.15 * Thu Dec 13 2018 Scott K Logan - 0.3.14-1 - Update to 0.3.14 * Wed Nov 21 2018 Scott K Logan - 0.3.13-2 - Add Requires: pytest{,-cov,-runner} to satisfy requires.txt * Fri Nov 09 2018 Scott K Logan - 0.3.13-1 - Update to 0.3.13 * Wed Oct 31 2018 Scott K Logan - 0.3.12-1 - Update to 0.3.12 * Mon Oct 29 2018 Scott K Logan - 0.3.10-3 - Allow both deprecation and pending deprecation warnings * Mon Oct 29 2018 Scott K Logan - 0.3.10-2 - Add patch to allow deprecations (nothing we can do from here) * Sat Oct 27 2018 Scott K Logan - 0.3.10-1 - Update to 0.3.10 * Thu Sep 20 2018 Scott K Logan - 0.3.9-1 - Initial package