package created using the webbuild interface [release 0.5-1mamba;Sun Jan 17 2016]

This commit is contained in:
Davide Madrisan 2024-01-05 16:21:47 +01:00
parent 4f84d4a12c
commit 21ea65dca2
2 changed files with 45 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-ptyprocess
Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty

43
python-ptyprocess.spec Normal file
View File

@ -0,0 +1,43 @@
Name: python-ptyprocess
Version: 0.5
Release: 1mamba
Summary: Run a subprocess in a pseudo terminal
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://github.com/pexpect/ptyprocess
Source: https://pypi.python.org/packages/source/p/ptyprocess/ptyprocess-%{version}.tar.gz
License: ISC License
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty
%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
%files -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Sun Jan 17 2016 Davide Madrisan <davide.madrisan@gmail.com> 0.5-1mamba
- package created using the webbuild interface