2024-01-05 16:21:47 +01:00
|
|
|
Name: python-ptyprocess
|
2024-01-05 16:21:47 +01:00
|
|
|
Version: 0.7.0
|
2024-01-05 16:21:48 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 16:21:47 +01:00
|
|
|
Summary: Run a subprocess in a pseudo terminal
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 16:21:47 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:21:47 +01:00
|
|
|
URL: https://github.com/pexpect/ptyprocess
|
2024-01-05 16:21:47 +01:00
|
|
|
Source: https://pypi.debian.net/ptyprocess/ptyprocess-%{version}.tar.gz
|
2024-01-05 16:21:47 +01:00
|
|
|
License: ISC License
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:21:47 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 16:21:47 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty
|
|
|
|
|
2024-01-05 16:21:47 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:21:47 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n ptyprocess-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
|
2024-01-05 16:21:47 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:21:47 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:21:48 +01:00
|
|
|
%dir %{python_sitearch}/ptyprocess-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/ptyprocess-%{version}-py*.egg-info/*
|
2024-01-05 16:21:47 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:21:48 +01:00
|
|
|
* Wed Apr 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-3mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-05 16:21:47 +01:00
|
|
|
* Sat Feb 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-05 16:21:47 +01:00
|
|
|
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
|
|
|
|
- update to 0.7.0
|
|
|
|
|
2024-01-05 16:21:47 +01:00
|
|
|
* Sat Jul 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0-1mamba
|
|
|
|
- update to 0.6.0
|
|
|
|
|
2024-01-05 16:21:47 +01:00
|
|
|
* Fri Feb 12 2016 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:21:47 +01:00
|
|
|
* Sun Jan 17 2016 Davide Madrisan <davide.madrisan@gmail.com> 0.5-1mamba
|
|
|
|
- package created using the webbuild interface
|