9db1488
%global srcname colcon-zsh
9db1488
9db1488
Name:           python-%{srcname}
fd03955
Version:        0.4.0
6575c4f
Release:        12%{?dist}
9db1488
Summary:        Extension for colcon to provide Z shell scripts
9db1488
9db1488
License:        ASL 2.0
9db1488
URL:            https://colcon.readthedocs.io
9db1488
Source0:        https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
9db1488
9db1488
BuildArch:      noarch
9db1488
9db1488
%description
9db1488
An extension for colcon-core to provide Z shell scripts.
9db1488
9db1488
9db1488
%package -n python%{python3_pkgversion}-%{srcname}
9db1488
Summary:        %{summary}
9db1488
BuildRequires:  python%{python3_pkgversion}-devel
9db1488
BuildRequires:  python%{python3_pkgversion}-pytest
9db1488
BuildRequires:  python%{python3_pkgversion}-setuptools >= 30.3.0
9db1488
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
9db1488
9db1488
%if %{undefined __pythondist_requires}
fd03955
Requires:       python%{python3_pkgversion}-colcon-core >= 0.4.0
9db1488
%endif # __pythondist_requires
9db1488
9db1488
%description -n python%{python3_pkgversion}-%{srcname}
9db1488
An extension for colcon-core to provide Z shell scripts.
9db1488
9db1488
9db1488
%prep
9db1488
%autosetup -p1 -n %{srcname}-%{version}
9db1488
9db1488
9db1488
%build
9db1488
%py3_build
9db1488
9db1488
9db1488
%install
9db1488
%py3_install
9db1488
9db1488
9db1488
%check
9db1488
%{__python3} -m pytest \
9db1488
    --ignore=test/test_spell_check.py \
9db1488
    --ignore=test/test_flake8.py \
9db1488
    test
9db1488
9db1488
9db1488
%files -n python%{python3_pkgversion}-%{srcname}
9db1488
%license LICENSE
9db1488
%doc README.rst
9db1488
%{python3_sitelib}/colcon_zsh/
9db1488
%{python3_sitelib}/colcon_zsh-%{version}-py%{python3_version}.egg-info/
9db1488
9db1488
9db1488
%changelog
6575c4f
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-12
6575c4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
6575c4f
720812c
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-11
720812c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
720812c
1b1f07c
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.4.0-10
1b1f07c
- Rebuilt for Python 3.11
1b1f07c
55aadea
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-9
55aadea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
55aadea
a5d7508
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-8
a5d7508
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a5d7508
dca2022
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.4.0-7
dca2022
- Rebuilt for Python 3.10
dca2022
349e53f
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-6
349e53f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
349e53f
fea3271
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5
fea3271
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fea3271
b13db02
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-4
b13db02
- Rebuilt for Python 3.9
b13db02
aa82853
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
aa82853
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
aa82853
3f2bdf9
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-2
3f2bdf9
- Rebuilt for Python 3.8.0rc1 (#1748018)
3f2bdf9
fd03955
* Thu Aug 29 2019 Scott K Logan <logans@cottsay.net> - 0.4.0-1
fd03955
- Update to 0.4.0 (rhbz#1747252)
fd03955
44a581e
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.2-4
44a581e
- Rebuilt for Python 3.8
44a581e
ce7e324
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
ce7e324
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ce7e324
a01b626
* Thu Jun 06 2019 Scott K Logan <logans@cottsay.net> - 0.3.2-2
a01b626
- Fix changelog version
a01b626
a01b626
* Fri Apr 26 2019 Scott K Logan <logans@cottsay.net> - 0.3.2-1
9db1488
- Rebuilt to change main python from 3.4 to 3.6 in EPEL 7
9db1488
9db1488
* Fri Mar 01 2019 Scott K Logan <logans@cottsay.net> - 0.3.2-1
9db1488
- Update to 0.3.2
9db1488
- Handle automatic dependency generation (f30+)
9db1488
9db1488
* Sat Oct 27 2018 Scott K Logan <logans@cottsay.net> - 0.3.1-1
9db1488
- Initial package