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