962c680
# Created by pyp2rpm-3.3.2
962c680
%global pypi_name pycotap
962c680
962c680
Name:           python-%{pypi_name}
962c680
Version:        1.1.0
00210b6
Release:        18%{?dist}
962c680
Summary:        A tiny test runner that outputs TAP results to standard output
962c680
962c680
License:        MIT
962c680
URL:            https://el-tramo.be/pycotap
962c680
Source0:        %{pypi_source}
962c680
BuildArch:      noarch
962c680
962c680
BuildRequires:  python3-devel
962c680
BuildRequires:  python3dist(setuptools)
962c680
962c680
%description
962c680
pycotap is a simple Python test runner for unit tests that outputs Test Anything
962c680
Protocol results directly to standard output.Contrary to other TAP runners
962c680
for Python, pycotap prints TAP (and *only* TAP) to standard output
962c680
instead of to a separate file, allowing you to pipe it directly to TAP pretty
962c680
printers and processors.
962c680
962c680
%package -n     python3-%{pypi_name}
962c680
Summary:        %{summary}
962c680
%{?python_provide:%python_provide python3-%{pypi_name}}
962c680
962c680
%description -n python3-%{pypi_name}
962c680
pycotap is a simple Python test runner for unit tests that outputs Test Anything
962c680
Protocol results directly to standard output.Contrary to other TAP runners
962c680
for Python, pycotap prints TAP (and *only* TAP) to standard output
962c680
instead of to a separate file, allowing you to pipe it directly to TAP pretty
962c680
printers and processors.
962c680
962c680
%prep
962c680
%autosetup -n %{pypi_name}-%{version}
962c680
# Remove bundled egg-info
962c680
rm -rf %{pypi_name}.egg-info
962c680
962c680
%build
962c680
%py3_build
962c680
962c680
%install
962c680
%py3_install
962c680
find %{buildroot}/%{python3_sitelib} -name '*.py' | xargs sed -i '/^#!/d'
962c680
962c680
%files -n python3-%{pypi_name}
962c680
%{python3_sitelib}/%{pypi_name}
730c9ef
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
962c680
962c680
%changelog
00210b6
* Mon Aug 21 2023 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.1.0-18
00210b6
- Mark this as SPDX license expression converted
00210b6
54db8c6
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-17
54db8c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
54db8c6
7ec4001
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.1.0-16
7ec4001
- Rebuilt for Python 3.12
7ec4001
c605f84
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-15
c605f84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
c605f84
b4a2813
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-14
b4a2813
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
b4a2813
b0502d4
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.0-13
b0502d4
- Rebuilt for Python 3.11
b0502d4
c313e39
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12
c313e39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
c313e39
aaf2101
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
aaf2101
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
aaf2101
5a7f8cc
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.0-10
5a7f8cc
- Rebuilt for Python 3.10
5a7f8cc
b7722a8
* Sat May 01 2021 Takao Fujiwara <tfujiwar@redhat.com> - 1.1.0-9
b7722a8
- Enable CI
b7722a8
a4e422a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
a4e422a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a4e422a
9f9508f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
9f9508f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9f9508f
36f291f
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-6
36f291f
- Rebuilt for Python 3.9
36f291f
e2ef36c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
e2ef36c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e2ef36c
6538d90
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-4
6538d90
- Rebuilt for Python 3.8.0rc1 (#1748018)
6538d90
c0c0856
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
c0c0856
- Rebuilt for Python 3.8
c0c0856
3ddeaa1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
3ddeaa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3ddeaa1
962c680
* Thu Apr 18 2019 Shlomi Fish <shlomif@shlomifish.org> - 1.1.0-1
962c680
- Initial package.