[packages/python3-tap] Initial

arekm arekm at pld-linux.org
Fri Jul 31 08:54:40 CEST 2026


commit ab081fdb1a4e7144dded438cebb7eecf69a54e29
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Jul 31 08:54:23 2026 +0200

    Initial

 python3-tap.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
---
diff --git a/python3-tap.spec b/python3-tap.spec
new file mode 100644
index 0000000..aabd5cb
--- /dev/null
+++ b/python3-tap.spec
@@ -0,0 +1,68 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+Summary:	Test Anything Protocol (TAP) tools
+Summary(pl.UTF-8):	Narzędzia do obsługi protokołu TAP (Test Anything Protocol)
+Name:		python3-tap
+Version:	3.2.1
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/tap.py/
+Source0:	https://files.pythonhosted.org/packages/source/t/tap.py/tap_py-%{version}.tar.gz
+# Source0-md5:	b7775663192de6d8182614410a12d246
+URL:		https://pypi.org/project/tap.py/
+BuildRequires:	python3-build
+BuildRequires:	python3-hatchling
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
+%if %{with tests}
+BuildRequires:	python3-PyYAML >= 5.1
+BuildRequires:	python3-more_itertools
+BuildRequires:	python3-pytest
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.9
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+tap.py is a set of tools for working with the Test Anything Protocol
+(TAP) in Python. It provides a TAP producer for unittest
+(TAPTestRunner), a TAP parser for consuming test results, and the
+tappy command line tool.
+
+%description -l pl.UTF-8
+tap.py to zestaw narzędzi do pracy z protokołem TAP (Test Anything
+Protocol) w Pythonie. Udostępnia generator wyników TAP dla modułu
+unittest (TAPTestRunner), parser do odczytu wyników testów oraz
+narzędzie wiersza poleceń tappy.
+
+%prep
+%setup -q -n tap_py-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS LICENSE docs/releases.rst
+%attr(755,root,root) %{_bindir}/tap
+%attr(755,root,root) %{_bindir}/tappy
+%{py3_sitescriptdir}/tap
+%{py3_sitescriptdir}/tap_py-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-tap.git/commitdiff/ab081fdb1a4e7144dded438cebb7eecf69a54e29



More information about the pld-cvs-commit mailing list