Initial import (#1701329)
This commit is contained in:
parent
d689f1cec0
commit
962c6803b4
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/pycotap-1.1.0.tar.gz
|
53
python-pycotap.spec
Normal file
53
python-pycotap.spec
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# Created by pyp2rpm-3.3.2
|
||||||
|
%global pypi_name pycotap
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 1.1.0
|
||||||
|
Release: 1%{?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?.?.egg-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Apr 18 2019 Shlomi Fish <shlomif@shlomifish.org> - 1.1.0-1
|
||||||
|
- Initial package.
|
Loading…
Reference in New Issue
Block a user