Group :: Development/Python3
RPM: python3-module-pytest-spec
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname pytest-spec
%def_disable check
Name: python3-module-%oname
Version: 1.1.0
Release: alt3
Summary: pytest plugin to display test execution output like a SPECIFICATION
License: GPLv2+
Group: Development/Python3
Url: https://pypi.python.org/pypi/pytest-spec/
BuildArch: noarch
# https://github.com/pchomik/pytest-spec.git
Source0: https://pypi.python.org/packages/96/d1/68ced04b24b93203db875e0123c288b5993732fda2be5f3859907e4a40a4/%{oname}-%{version}.tar.gz
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pytest
%py3_provides pytest_spec
%description
pytest plugin to display test execution output like a SPECIFICATION.
Available features:
* Format output to look like specification.
* Group tests by classes.
* Failed, passed and skipped are marked and colored.
* Remove test_ and underscores for every test.
* Method under test may be highlighted (method) like in example.
%prep
%setup -q -n %{oname}-%{version}
%build
%python3_build_debug
%install
%python3_install
%check
%__python3 setup.py test
export PYTHONPATH=$PWD
py.test-%_python3_version -vv
%files
%doc *.rst PKG-INFO
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui
%define oname pytest-spec
%def_disable check
Name: python3-module-%oname
Version: 1.1.0
Release: alt3
Summary: pytest plugin to display test execution output like a SPECIFICATION
License: GPLv2+
Group: Development/Python3
Url: https://pypi.python.org/pypi/pytest-spec/
BuildArch: noarch
# https://github.com/pchomik/pytest-spec.git
Source0: https://pypi.python.org/packages/96/d1/68ced04b24b93203db875e0123c288b5993732fda2be5f3859907e4a40a4/%{oname}-%{version}.tar.gz
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pytest
%py3_provides pytest_spec
%description
pytest plugin to display test execution output like a SPECIFICATION.
Available features:
* Format output to look like specification.
* Group tests by classes.
* Failed, passed and skipped are marked and colored.
* Remove test_ and underscores for every test.
* Method under test may be highlighted (method) like in example.
%prep
%setup -q -n %{oname}-%{version}
%build
%python3_build_debug
%install
%python3_install
%check
%__python3 setup.py test
export PYTHONPATH=$PWD
py.test-%_python3_version -vv
%files
%doc *.rst PKG-INFO
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui