Projects
Eulaceura:Factory
python-ptyprocess
_service:obs_scm:python-ptyprocess.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-ptyprocess.spec of Package python-ptyprocess
%global with_tests 0%{?_with_tests:1} Name: python-ptyprocess Version: 0.7.0 Release: 2 Summary: Run a subprocess in a pseudo terminal License: ISC URL: https://github.com/pexpect/ptyprocess Source0: https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-pytest %description Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty. Sometimes, piping stdin and stdout is not enough. There might be a password prompt that doesn't read from stdin, output that changes when it's going to a pipe rather than a terminal, or curses-style interfaces that rely on a terminal. If you need to automate these things, running the process in a pseudo terminal (pty) is the answer. %package -n python%{python3_pkgversion}-ptyprocess Summary: Run a subprocess in a pseudo terminal %python_provide python%{python3_pkgversion}-ptyprocess %description -n python%{python3_pkgversion}-ptyprocess Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty. Sometimes, piping stdin and stdout is not enough. There might be a password prompt that doesn't read from stdin, output that changes when it's going to a pipe rather than a terminal, or curses-style interfaces that rely on a terminal. If you need to automate these things, running the process in a pseudo terminal (pty) is the answer. %prep %autosetup -n ptyprocess-%{version} -p1 %build LC_ALL=en_US.UTF-8 \ %py3_build %install LC_ALL=en_US.UTF-8 \ %py3_install %check %if %{with_tests} %{_bindir}/py.test-3.* -v %endif %files -n python%{python3_pkgversion}-ptyprocess %doc LICENSE README.rst %{python3_sitelib}/ptyprocess/ %{python3_sitelib}/ptyprocess-%{version}-py%{python3_version}.egg-info %changelog * Fri Apr 01 2022 yangping <yangping69@huawei.com> - 0.7.0-2 - Fix build error caused by py3.10+ wildcard * Thu Jul 15 2021 OpenStack_SIG <openstack@openeuler.org> - 0.7.0-1 - update version to 0.7.0 * Mon Nov 09 2020 leiju <leiju4@huawei.com> - 0.6.0-4 - remove python2 subpackage * Tue Feb 18 2020 chenli <chenli147@huawei.com> - 0.6.0-3 - init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2