3b37cb0
%global srcname colcon-ros-bundle
3b37cb0
3b37cb0
Name:           python-%{srcname}
a806103
Version:        0.1.0
a5d9298
Release:        13%{?dist}
3b37cb0
Summary:        Plugin for colcon to bundle ros applications
3b37cb0
3b37cb0
License:        ASL 2.0
3b37cb0
URL:            https://colcon.readthedocs.io
3b37cb0
Source0:        https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
3b37cb0
c1bc2a4
# Submitted upstream as colcon/colcon-ros-bundle#51
c1bc2a4
Patch0:         %{name}-0.1.0-unittest-mock.patch
c1bc2a4
3b37cb0
BuildArch:      noarch
3b37cb0
3b37cb0
%description
3b37cb0
This package is a plugin to colcon-core, that contains extensions for
3b37cb0
colcon-bundle.
3b37cb0
3b37cb0
With this package you can use colcon bundle to create bundles of ROS
3b37cb0
applications. A bundle is a portable environment that allows for execution of
3b37cb0
the bundled application on a Linux host that does not have the application or
3b37cb0
its dependencies installed in the root filesystem.
3b37cb0
3b37cb0
3b37cb0
%package -n python%{python3_pkgversion}-%{srcname}
3b37cb0
Summary:        %{summary}
3b37cb0
BuildRequires:  python%{python3_pkgversion}-colcon-bundle >= 0.0.18
3b37cb0
BuildRequires:  python%{python3_pkgversion}-devel
3b37cb0
BuildRequires:  python%{python3_pkgversion}-pytest
3b37cb0
BuildRequires:  python%{python3_pkgversion}-rosdep >= 0.14.0
3b37cb0
BuildRequires:  python%{python3_pkgversion}-setuptools >= 30.3.0
3b37cb0
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
3b37cb0
3b37cb0
%if !0%{?rhel} || 0%{?rhel} >= 8
3b37cb0
BuildRequires:  python%{python3_pkgversion}-pytest-asyncio
3b37cb0
%endif
3b37cb0
3b37cb0
%if %{undefined __pythondist_requires}
3b37cb0
Requires:       python%{python3_pkgversion}-colcon-bundle >= 0.0.18
3b37cb0
Requires:       python%{python3_pkgversion}-colcon-ros >= 0.3.5
3b37cb0
Requires:       python%{python3_pkgversion}-rosdep >= 0.14.0
3b37cb0
Requires:       python%{python3_pkgversion}-setuptools >= 30.3.0
3b37cb0
%endif
3b37cb0
3b37cb0
%description -n python%{python3_pkgversion}-%{srcname}
3b37cb0
This package is a plugin to colcon-core, that contains extensions for
3b37cb0
colcon-bundle.
3b37cb0
3b37cb0
With this package you can use colcon bundle to create bundles of ROS
3b37cb0
applications. A bundle is a portable environment that allows for execution of
3b37cb0
the bundled application on a Linux host that does not have the application or
3b37cb0
its dependencies installed in the root filesystem.
3b37cb0
3b37cb0
3b37cb0
%prep
3b37cb0
%autosetup -p1 -n %{srcname}-%{version}
3b37cb0
3b37cb0
3b37cb0
%build
3b37cb0
%py3_build
3b37cb0
3b37cb0
3b37cb0
%install
3b37cb0
%py3_install
3b37cb0
3b37cb0
3b37cb0
%check
3b37cb0
%{__python3} -m pytest \
3b37cb0
    --ignore=test/test_flake8.py \
3b37cb0
    test
3b37cb0
3b37cb0
3b37cb0
%files -n python%{python3_pkgversion}-%{srcname}
3b37cb0
%license LICENSE
3b37cb0
%doc NOTICE README.md
3b37cb0
%{python3_sitelib}/colcon_ros_bundle/
3b37cb0
%{python3_sitelib}/colcon_ros_bundle-%{version}-py%{python3_version}.egg-info/
3b37cb0
3b37cb0
3b37cb0
%changelog
a5d9298
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-13
a5d9298
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
a5d9298
3c14b5d
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-12
3c14b5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
3c14b5d
b7deb76
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-11
b7deb76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
b7deb76
3cc67fd
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.1.0-10
3cc67fd
- Rebuilt for Python 3.12
3cc67fd
8e36330
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-9
8e36330
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
8e36330
c1bc2a4
* Tue Aug 02 2022 Scott K Logan <logans@cottsay.net> - 0.1.0-8
c1bc2a4
- Drop dependency on standalone 'mock' package
c1bc2a4
ef483d8
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-7
ef483d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
ef483d8
3d7aa4b
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.1.0-6
3d7aa4b
- Rebuilt for Python 3.11
3d7aa4b
57b32bf
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-5
57b32bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
57b32bf
420f3d6
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-4
420f3d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
420f3d6
b8b0b93
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.1.0-3
b8b0b93
- Rebuilt for Python 3.10
b8b0b93
71b7d99
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-2
71b7d99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
71b7d99
a806103
* Thu Dec 17 2020 Scott K Logan <logans@cottsay.net> - 0.1.0-1
a806103
- Update to 0.1.0 (rhbz#1908229)
a806103
206f2ea
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.14-3
206f2ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
206f2ea
1cb9a73
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.0.14-2
1cb9a73
- Rebuilt for Python 3.9
1cb9a73
3b37cb0
* Wed Apr 15 2020 Scott K Logan <logans@cottsay.net> - 0.0.14-1
3b37cb0
- Initial package