Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6be50fb74d | ||
|
|
2e0144badd | ||
|
|
ec3fad94bf | ||
|
|
1afe2ec237 | ||
|
|
e5fa98bc82 | ||
|
|
8fd88ca7a2 | ||
|
|
91ceded8a2 |
1 changed files with 32 additions and 14 deletions
|
|
@ -1,55 +1,73 @@
|
||||||
# Created by pyp2rpm-3.3.2
|
|
||||||
%global pypi_name pycotap
|
%global pypi_name pycotap
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.3.1
|
Version: 1.3.1
|
||||||
Release: 4%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: A tiny test runner that outputs TAP results to standard output
|
Summary: A tiny test runner that outputs TAP results to standard output
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://el-tramo.be/pycotap
|
URL: https://github.com/remko/pycotap
|
||||||
Source0: %{pypi_source}
|
Source0: %{pypi_source}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3dist(setuptools)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pycotap is a simple Python test runner for unit tests that outputs Test Anything
|
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
|
Protocol results directly to standard output. Contrary to other TAP runners
|
||||||
for Python, pycotap prints TAP (and *only* TAP) to standard output
|
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
|
instead of to a separate file, allowing you to pipe it directly to TAP pretty
|
||||||
printers and processors.
|
printers and processors.
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-%{pypi_name}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
||||||
|
|
||||||
%description -n python3-%{pypi_name}
|
%description -n python3-%{pypi_name}
|
||||||
pycotap is a simple Python test runner for unit tests that outputs Test Anything
|
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
|
Protocol results directly to standard output. Contrary to other TAP runners
|
||||||
for Python, pycotap prints TAP (and *only* TAP) to standard output
|
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
|
instead of to a separate file, allowing you to pipe it directly to TAP pretty
|
||||||
printers and processors.
|
printers and processors.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version}
|
%autosetup -n %{pypi_name}-%{version}
|
||||||
# Remove bundled egg-info
|
|
||||||
rm -rf %{pypi_name}.egg-info
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
%pyproject_save_files %{pypi_name}
|
||||||
find %{buildroot}/%{python3_sitelib} -name '*.py' | xargs sed -i '/^#!/d'
|
find %{buildroot}/%{python3_sitelib} -name '*.py' | xargs sed -i '/^#!/d'
|
||||||
%__rm -f %{buildroot}/usr/COPYING
|
%__rm -f %{buildroot}/usr/COPYING
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%check
|
||||||
%{python3_sitelib}/%{pypi_name}
|
%pyproject_check_import
|
||||||
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
||||||
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.3.1-10
|
||||||
|
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||||
|
|
||||||
|
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.3.1-9
|
||||||
|
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||||
|
|
||||||
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 09 2025 Shlomi Fish <shlomif@shlomifish.org> 1.3.1-7
|
||||||
|
- Stop using deprecated RPM macros ( https://bugzilla.redhat.com/show_bug.cgi?id=2378026 )
|
||||||
|
|
||||||
|
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 1.3.1-6
|
||||||
|
- Rebuilt for Python 3.14
|
||||||
|
|
||||||
|
* Thu Feb 13 2025 Shlomi Fish <shlomif@shlomifish.org> 1.3.1-5
|
||||||
|
- Update URL.
|
||||||
|
|
||||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
|
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue