Group :: Development/Python3
RPM: python3-module-pytest-regtest
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname pytest-regtest
Name: python3-module-%oname
Version: 1.5.1
Release: alt1
Summary: pytest plugin for regression tests
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/pytest-regtest
Source0: %oname-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
BuildRequires: python3-module-pytest
%py3_provides pytest_regtest
%description
pytest-regtest is a pytest-plugin for implementing regression tests. Compared
to functional testing a regression test does not test if software produces
correct results, instead a regression test checks if software behaves the same
way as it did before introduced changes.
%prep
%setup -q -n %{oname}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -v tests/test_plugin.py
%files
%doc PKG-INFO
%python3_sitelibdir/__pycache__/pytest_regtest.*
%python3_sitelibdir/pytest_regtest-%version.dist-info
%python3_sitelibdir/pytest_regtest.py
%changelog
…
Todas as alterações você pod ver aqui
%define oname pytest-regtest
Name: python3-module-%oname
Version: 1.5.1
Release: alt1
Summary: pytest plugin for regression tests
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/pytest-regtest
Source0: %oname-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
BuildRequires: python3-module-pytest
%py3_provides pytest_regtest
%description
pytest-regtest is a pytest-plugin for implementing regression tests. Compared
to functional testing a regression test does not test if software produces
correct results, instead a regression test checks if software behaves the same
way as it did before introduced changes.
%prep
%setup -q -n %{oname}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest -v tests/test_plugin.py
%files
%doc PKG-INFO
%python3_sitelibdir/__pycache__/pytest_regtest.*
%python3_sitelibdir/pytest_regtest-%version.dist-info
%python3_sitelibdir/pytest_regtest.py
%changelog
…
Todas as alterações você pod ver aqui