Group :: Development/Python3
RPM: python3-module-pytest-subtests
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define oname pytest-subtests
%def_with check
Name: python3-module-%oname
Version: 0.10.0
Release: alt1
Summary: Support for unittest subTest() and subtests fixture
License: MIT
Group: Development/Python3
URL: https://github.com/pytest-dev/pytest-subtests
Packager: Grigory Ustinov <grenka at altlinux.org>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools_scm
%if_with check
BuildRequires: python3-module-pytest
%endif
BuildArch: noarch
Source: %name-%version.tar
%description
%summary
%prep
%setup
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3
%files
%doc *.rst
%python3_sitelibdir/pytest_subtests.py
%python3_sitelibdir/__pycache__
%python3_sitelibdir/pytest_subtests-%version-py%_python3_version.egg-info
%changelog
…
Full changelog you can see here
%def_with check
Name: python3-module-%oname
Version: 0.10.0
Release: alt1
Summary: Support for unittest subTest() and subtests fixture
License: MIT
Group: Development/Python3
URL: https://github.com/pytest-dev/pytest-subtests
Packager: Grigory Ustinov <grenka at altlinux.org>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools_scm
%if_with check
BuildRequires: python3-module-pytest
%endif
BuildArch: noarch
Source: %name-%version.tar
%description
%summary
%prep
%setup
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3
%files
%doc *.rst
%python3_sitelibdir/pytest_subtests.py
%python3_sitelibdir/__pycache__
%python3_sitelibdir/pytest_subtests-%version-py%_python3_version.egg-info
%changelog
…
Full changelog you can see here