Пакет python3-module-stestr: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | %define oname stestr %def_with check %def_with docs Name: python3-module-%oname Version: 4.1.0 Release: alt2.1 Summary: stestr is parallel Python test runner Group: Development/Python3 License: Apache-2.0 URL: https://pypi.org/project/stestr VCS: https://github.com/mtreinish/stestr Source: %name-%version.tar BuildArch: noarch BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-setuptools BuildRequires: python3-module-wheel BuildRequires: python3-module-pbr %if_with docs BuildRequires: python3-module-sphinx BuildRequires: python3-module-cliff BuildRequires: python3-module-testtools BuildRequires: python3-module-subunit BuildRequires: python3-module-voluptuous %endif %if_with check BuildRequires: python3-module-future BuildRequires: python3-module-ddt BuildRequires: python3-module-yaml BuildRequires: python3-module-tomlkit BuildRequires: python3-module-iso8601 BuildRequires: python3-module-extras %endif %description stestr is parallel Python test runner designed to execute unittest test suites using multiple processes to split up execution of a test suite. It also will store a history of all test runs to help in debugging failures and optimizing the scheduler to improve speed. To accomplish this goal it uses the subunit protocol to facilitate streaming and storing results from multiple workers. stestr originally started as a fork of the testrepository project. But, instead of being an interface for any test runner that used subunit, like testrepository, stestr concentrated on being a dedicated test runner for python projects. While stestr was originally forked from testrepository it is not backwards compatible with testrepository. At a high level the basic concepts of operation are shared between the two projects but the actual usage is not exactly the same. %package tests Summary: Tests for %oname Group: Development/Python3 Requires: %name = %EVR %description tests This package contains tests for %oname. %package doc Summary: Documentation for stestr Group: Development/Documentation %description doc Documentation for stestr. %prep %setup # Remove bundled egg-info rm -rf %oname.egg-info %build export PBR_VERSION=%version %pyproject_build %if_with docs export PYTHONPATH="$PWD" # generate html docs sphinx-build-3 doc/source html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %endif %install %pyproject_install %check # synced to .github/workflows/main.yml and tox.ini %pyproject_run -- stestr run %files %doc LICENSE *.rst %_bindir/%oname %python3_sitelibdir/%oname %python3_sitelibdir/%oname-%version.dist-info %exclude %python3_sitelibdir/*/tests %files tests %python3_sitelibdir/*/tests %files doc %doc LICENSE html %changelog * Fri May 17 2024 Stanislav Levin <slev@altlinux.org> 4.1.0-alt2.1 - NMU: fixed FTBFS (Pytest 8.2.0). * Fri Mar 01 2024 Grigory Ustinov <grenka@altlinux.org> 4.1.0-alt2 - Fixed FTBFS. * Mon Sep 18 2023 Grigory Ustinov <grenka@altlinux.org> 4.1.0-alt1 - Automatically updated to 4.1.0. * Sun Feb 26 2023 Grigory Ustinov <grenka@altlinux.org> 4.0.1-alt1.1 - Fixed FTBFS. * Sat Oct 08 2022 Grigory Ustinov <grenka@altlinux.org> 4.0.1-alt1 - Build new version. - Build with check. * Wed Nov 13 2019 Grigory Ustinov <grenka@altlinux.org> 2.5.1-alt1 - Automatically updated to 2.5.1. * Sat Oct 26 2019 Grigory Ustinov <grenka@altlinux.org> 2.2.0-alt2 - Build without python2. * Tue Dec 11 2018 Alexey Shabalin <shaba@altlinux.org> 2.2.0-alt1 - Initial release. |