From 5f44d2f4c7a45600a55eb9e79415b28d0fe8c61f Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Mon, 8 Mar 2021 13:52:03 +0100 Subject: [PATCH] Initial import from F34. Signed-off-by: Jan Kaluza --- .gitignore | 1 + README.md | 3 ++ python-pycotap.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 79 insertions(+) create mode 100644 README.md create mode 100644 python-pycotap.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..b7e1a35 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pycotap-1.1.0.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..3c39a3c --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-pycotap + +The python-pycotap package \ No newline at end of file diff --git a/python-pycotap.spec b/python-pycotap.spec new file mode 100644 index 0000000..8bc96c7 --- /dev/null +++ b/python-pycotap.spec @@ -0,0 +1,74 @@ +# Created by pyp2rpm-3.3.2 +%global pypi_name pycotap + +Name: python-%{pypi_name} +Version: 1.1.0 +Release: 8%{?dist} +Summary: A tiny test runner that outputs TAP results to standard output + +License: MIT +URL: https://el-tramo.be/pycotap +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description +pycotap is a simple Python test runner for unit tests that outputs Test Anything +Protocol results directly to standard output.Contrary to other TAP runners +for Python, pycotap prints TAP (and *only* TAP) to standard output +instead of to a separate file, allowing you to pipe it directly to TAP pretty +printers and processors. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +pycotap is a simple Python test runner for unit tests that outputs Test Anything +Protocol results directly to standard output.Contrary to other TAP runners +for Python, pycotap prints TAP (and *only* TAP) to standard output +instead of to a separate file, allowing you to pipe it directly to TAP pretty +printers and processors. + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install +find %{buildroot}/%{python3_sitelib} -name '*.py' | xargs sed -i '/^#!/d' + +%files -n python3-%{pypi_name} +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 1.1.0-6 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.1.0-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.1.0-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Apr 18 2019 Shlomi Fish - 1.1.0-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..dccda8e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pycotap-1.1.0.tar.gz) = dbe8d76c3e4b934dd4ff9ec0d48caafef3ae5583046a7316607b3c8cebf8cb920c68dc46487243aac81823994805c76f2be8ff0cbda593c70b70f268661fa289