7e7136b
%global srcname colcon-powershell
7e7136b
7e7136b
Name:           python-%{srcname}
1151413
Version:        0.3.6
d7a2a17
Release:        7%{?dist}
7e7136b
Summary:        Extension for colcon to provide PowerShell scripts
7e7136b
7e7136b
License:        ASL 2.0
7e7136b
URL:            https://colcon.readthedocs.io
7e7136b
Source0:        https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
7e7136b
7e7136b
BuildArch:      noarch
7e7136b
7e7136b
%description
7e7136b
An extension for colcon-core to provide PowerShell scripts.
7e7136b
7e7136b
7e7136b
%package -n python%{python3_pkgversion}-%{srcname}
7e7136b
Summary:        %{summary}
7e7136b
BuildRequires:  python%{python3_pkgversion}-devel
7e7136b
BuildRequires:  python%{python3_pkgversion}-pytest
7e7136b
BuildRequires:  python%{python3_pkgversion}-setuptools >= 30.3.0
7e7136b
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
7e7136b
7e7136b
%if %{undefined __pythondist_requires}
1151413
Requires:       python%{python3_pkgversion}-colcon-core >= 0.4.2
7e7136b
%endif # __pythondist_requires
7e7136b
7e7136b
%description -n python%{python3_pkgversion}-%{srcname}
7e7136b
An extension for colcon-core to provide PowerShell scripts.
7e7136b
7e7136b
7e7136b
%prep
7e7136b
%autosetup -p1 -n %{srcname}-%{version}
7e7136b
7e7136b
7e7136b
%build
7e7136b
%py3_build
7e7136b
7e7136b
7e7136b
%install
7e7136b
%py3_install
7e7136b
7e7136b
7e7136b
%check
7e7136b
%{__python3} -m pytest \
7e7136b
    --ignore=test/test_spell_check.py \
7e7136b
    --ignore=test/test_flake8.py \
7e7136b
    test
7e7136b
7e7136b
7e7136b
%files -n python%{python3_pkgversion}-%{srcname}
7e7136b
%license LICENSE
7e7136b
%doc README.rst
7e7136b
%{python3_sitelib}/colcon_powershell/
7e7136b
%{python3_sitelib}/colcon_powershell-%{version}-py%{python3_version}.egg-info/
7e7136b
7e7136b
7e7136b
%changelog
d7a2a17
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-7
d7a2a17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d7a2a17
521f44d
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.3.6-6
521f44d
- Rebuilt for Python 3.10
521f44d
755aa0e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-5
755aa0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
755aa0e
b14223f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-4
b14223f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b14223f
31d55d4
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.6-3
31d55d4
- Rebuilt for Python 3.9
31d55d4
8c4e07c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-2
8c4e07c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8c4e07c
1151413
* Wed Oct 30 2019 Scott K Logan <logans@cottsay.net> - 0.3.6-1
1151413
- Update to 0.3.6 (rhbz#1762532)
1151413
a63232f
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.4-5
a63232f
- Rebuilt for Python 3.8.0rc1 (#1748018)
a63232f
f7dbd50
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.4-4
f7dbd50
- Rebuilt for Python 3.8
f7dbd50
7512c7a
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-3
7512c7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7512c7a
7e7136b
* Fri Apr 26 2019 Scott K Logan <logans@cottsay.net> - 0.3.4-2
7e7136b
- Rebuilt to change main python from 3.4 to 3.6 in EPEL 7
7e7136b
7e7136b
* Fri Mar 01 2019 Scott K Logan <logans@cottsay.net> - 0.3.4-1
7e7136b
- Update to 0.3.4
7e7136b
- Handle automatic dependency generation (f30+)
7e7136b
7e7136b
* Sat Oct 27 2018 Scott K Logan <logans@cottsay.net> - 0.3.3-1
7e7136b
- Initial package