Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37848422
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-subprocess-tee

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define pypi_name subprocess-tee
%define mod_name subprocess_tee

%def_with check

Name: python3-module-%pypi_name
Version: 0.4.1
Release: alt1
Summary: Subprocess-tee
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/subprocess-tee
Vcs: https://github.com/pycontribs/subprocess-tee
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
Patch: %name-%version-alt.patch
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
# not packaged yet
%add_pyproject_deps_check_filter pytest-plus
%add_pyproject_deps_check_filter molecule
%pyproject_builddeps_metadata_extra test
%endif

%description
This package provides a drop-in alternative to subprocess.run that captures the
output while still printing it in real-time, just the way tee does.

%prep
%setup
%autopatch -p1
%pyproject_scm_init
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata

%build
%pyproject_build

%install
%pyproject_install

%check
# molecule is not packaged yet
%pyproject_run_pytest -ra -Wignore --deselect='test/test_func.py::test_molecule'

%files
%doc README.*
%python3_sitelibdir/%mod_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin