6b67ebe
%global srcname colcon-recursive-crawl
6b67ebe
6b67ebe
Name:           python-%{srcname}
faa5049
Version:        0.2.3
29e92ab
Release:        2%{?dist}
6b67ebe
Summary:        Extension for colcon to recursively crawl for packages
6b67ebe
6b67ebe
License:        ASL 2.0
6b67ebe
URL:            https://colcon.readthedocs.io
6b67ebe
Source0:        https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
6b67ebe
6b67ebe
BuildArch:      noarch
6b67ebe
6b67ebe
%description
6b67ebe
An extension for colcon-core to recursively crawl for packages.
6b67ebe
6b67ebe
6b67ebe
%package -n python%{python3_pkgversion}-%{srcname}
6b67ebe
Summary:        %{summary}
6b67ebe
BuildRequires:  python%{python3_pkgversion}-devel
6b67ebe
BuildRequires:  python%{python3_pkgversion}-pytest
6b67ebe
BuildRequires:  python%{python3_pkgversion}-setuptools >= 30.3.0
6b67ebe
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
6b67ebe
6b67ebe
%if %{undefined __pythondist_requires}
faa5049
Requires:       python%{python3_pkgversion}-colcon-core >= 0.7.0
8d715fb
%endif
6b67ebe
6b67ebe
%description -n python%{python3_pkgversion}-%{srcname}
6b67ebe
An extension for colcon-core to recursively crawl for packages.
6b67ebe
6b67ebe
6b67ebe
%prep
6b67ebe
%autosetup -p1 -n %{srcname}-%{version}
6b67ebe
6b67ebe
6b67ebe
%build
6b67ebe
%py3_build
6b67ebe
6b67ebe
6b67ebe
%install
6b67ebe
%py3_install
6b67ebe
6b67ebe
6b67ebe
%check
6b67ebe
%{__python3} -m pytest \
6b67ebe
    --ignore=test/test_spell_check.py \
6b67ebe
    --ignore=test/test_flake8.py \
6b67ebe
    test
6b67ebe
6b67ebe
6b67ebe
%files -n python%{python3_pkgversion}-%{srcname}
6b67ebe
%license LICENSE
6b67ebe
%doc README.rst
6b67ebe
%{python3_sitelib}/colcon_recursive_crawl/
6b67ebe
%{python3_sitelib}/colcon_recursive_crawl-%{version}-py%{python3_version}.egg-info/
6b67ebe
6b67ebe
6b67ebe
%changelog
29e92ab
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.2.3-2
29e92ab
- Rebuilt for Python 3.13
29e92ab
faa5049
* Mon Jan 22 2024 Scott K Logan <logans@cottsay.net> - 0.2.3-1
faa5049
- Update to 0.2.3 (rhbz#2240874)
faa5049
2357414
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-13
2357414
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
2357414
c3d30c4
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-12
c3d30c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
c3d30c4
380a871
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.2.1-11
380a871
- Rebuilt for Python 3.12
380a871
15d55a8
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-10
15d55a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
15d55a8
f315387
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-9
f315387
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
f315387
ceb9298
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.1-8
ceb9298
- Rebuilt for Python 3.11
ceb9298
f14d515
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-7
f14d515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
f14d515
57449ff
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-6
57449ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
57449ff
705f1d9
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.1-5
705f1d9
- Rebuilt for Python 3.10
705f1d9
8b5e9e7
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-4
8b5e9e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
8b5e9e7
d1b42f8
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
d1b42f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d1b42f8
e08f8d6
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-2
e08f8d6
- Rebuilt for Python 3.9
e08f8d6
8d715fb
* Wed Apr 15 2020 Scott K Logan <logans@cottsay.net> - 0.2.1-1
8d715fb
- Update to 0.2.1 (rhbz#1789466)
8d715fb
6ae4005
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-6
6ae4005
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6ae4005
62d42f2
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-5
62d42f2
- Rebuilt for Python 3.8.0rc1 (#1748018)
62d42f2
2997e12
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-4
2997e12
- Rebuilt for Python 3.8
2997e12
e6cfeb5
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-3
e6cfeb5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e6cfeb5
6b67ebe
* Fri Apr 26 2019 Scott K Logan <logans@cottsay.net> - 0.2.0-2
6b67ebe
- Rebuilt to change main python from 3.4 to 3.6 in EPEL 7
6b67ebe
- Handle automatic dependency generation (f30+)
6b67ebe
6b67ebe
* Sat Oct 27 2018 Scott K Logan <logans@cottsay.net> - 0.2.0-1
6b67ebe
- Initial package