%global srcname colcon-bazel Name: python-%{srcname} Version: 0.1.0 Release: 24%{?dist} Summary: Extension for colcon to support Bazel packages License: ASL 2.0 URL: https://colcon.readthedocs.io Source0: https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz # Submitted upstream as colcon/colcon-bazel#15 Patch0: %{name}-0.1.0-python-39.patch # Submitted upstream as colcon/colcon-bazel#16 Patch1: %{name}-0.1.0-regex-escapes.patch BuildArch: noarch %description An extension for colcon-core to support Bazel projects. %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-colcon-argcomplete BuildRequires: python%{python3_pkgversion}-colcon-core >= 0.3.9 BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pyparsing BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-setuptools >= 30.3.0 %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %if !0%{?rhel} || 0%{?rhel} >= 8 BuildRequires: python%{python3_pkgversion}-pytest-asyncio %endif %if %{undefined __pythondist_requires} Requires: python%{python3_pkgversion}-colcon-core >= 0.3.9 Requires: python%{python3_pkgversion}-colcon-library-path Requires: python%{python3_pkgversion}-pyparsing %endif %description -n python%{python3_pkgversion}-%{srcname} An extension for colcon-core to support Bazel projects. %prep %autosetup -p1 -n %{srcname}-%{version} %build %py3_build %install %py3_install %check %{__python3} -m pytest \ --ignore=test/test_spell_check.py \ --ignore=test/test_flake8.py \ test %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc README.md %{python3_sitelib}/colcon_bazel/ %{python3_sitelib}/colcon_bazel-%{version}-py%{python3_version}.egg-info/ %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.1.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.1.0-23 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.1.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.1.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.1.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 28 2023 Python Maint - 0.1.0-19 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.1.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Zbigniew Jędrzejewski-Szmek - 0.1.0-16 - Rebuilt for pyparsing-3.0.9 * Mon Jun 13 2022 Python Maint - 0.1.0-15 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.1.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.1.0-12 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Aug 03 2020 Scott K Logan - 0.1.0-10 - Add a patch to fix a test with Python 3.9 - Add a patch to resolve some deprecation warnings - Add a 'pytest_asyncio' build dependency where supported * Sat Aug 01 2020 Fedora Release Engineering - 0.1.0-9 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.1.0-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.1.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.1.0-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 06 2019 Scott K Logan - 0.1.0-2 - Fix changelog version * Fri Apr 26 2019 Scott K Logan - 0.1.0-1 - Rebuilt to change main python from 3.4 to 3.6 in EPEL 7 - Handle automatic dependency generation (f30+) * Fri Nov 09 2018 Scott K Logan - 0.1.0-1 - Initial package