|
Thomas Spura |
3c2c630 |
%global modname ptyprocess
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
%if 0%{?fedora}
|
|
Thomas Spura |
f192371 |
%global with_python3 1
|
|
Thomas Spura |
f192371 |
%endif
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
Name: python-ptyprocess
|
|
Thomas Spura |
cae68c1 |
Version: 0.5.1
|
|
|
a131b04 |
Release: 3%{?dist}
|
|
Thomas Spura |
f192371 |
Summary: Run a subprocess in a pseudo terminal
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
License: ISC
|
|
Thomas Spura |
f192371 |
URL: https://github.com/pexpect/ptyprocess
|
|
Thomas Spura |
f192371 |
Source0: https://pypi.python.org/packages/source/p/ptyprocess/ptyprocess-%{version}.tar.gz
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
BuildArch: noarch
|
|
Thomas Spura |
f192371 |
BuildRequires: python2-devel
|
|
Thomas Spura |
f192371 |
BuildRequires: pytest
|
|
Thomas Spura |
f192371 |
%if 0%{?with_python3}
|
|
Thomas Spura |
f192371 |
BuildRequires: python3-devel
|
|
Thomas Spura |
f192371 |
BuildRequires: python3-pytest
|
|
Thomas Spura |
f192371 |
%endif
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
%description
|
|
Thomas Spura |
f192371 |
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
|
Thomas Spura |
f192371 |
process and its pty.
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
3c2c630 |
%package -n python2-ptyprocess
|
|
Thomas Spura |
3c2c630 |
Summary: Run a subprocess in a pseudo terminal
|
|
Thomas Spura |
3c2c630 |
%{?python_provide:%python_provide python2-%{modname}}
|
|
Thomas Spura |
3c2c630 |
%description -n python2-ptyprocess
|
|
Thomas Spura |
3c2c630 |
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
|
Thomas Spura |
3c2c630 |
process and its pty.
|
|
Thomas Spura |
3c2c630 |
|
|
Thomas Spura |
f192371 |
%if 0%{?with_python3}
|
|
Thomas Spura |
f192371 |
%package -n python3-ptyprocess
|
|
Thomas Spura |
f192371 |
Summary: Run a subprocess in a pseudo terminal
|
|
Thomas Spura |
3c2c630 |
%{?python_provide:%python_provide python3-%{modname}}
|
|
Thomas Spura |
f192371 |
%description -n python3-ptyprocess
|
|
Thomas Spura |
f192371 |
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
|
Thomas Spura |
f192371 |
process and its pty.
|
|
Thomas Spura |
f192371 |
%endif
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
%prep
|
|
Thomas Spura |
f192371 |
%setup -qn ptyprocess-%{version}
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
%build
|
|
Thomas Spura |
3c2c630 |
%py2_build
|
|
Thomas Spura |
f192371 |
%if 0%{?with_python3}
|
|
Thomas Spura |
f192371 |
LC_ALL=en_US.UTF-8 \
|
|
Thomas Spura |
3c2c630 |
%py3_build
|
|
Thomas Spura |
f192371 |
%endif
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
%install
|
|
Thomas Spura |
f192371 |
%if 0%{?with_python3}
|
|
Thomas Spura |
f192371 |
LC_ALL=en_US.UTF-8 \
|
|
Thomas Spura |
3c2c630 |
%py3_install
|
|
Thomas Spura |
f192371 |
%endif
|
|
Thomas Spura |
3c2c630 |
%py2_install
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
%check
|
|
Thomas Spura |
f192371 |
%if 0%{?with_python3}
|
|
Thomas Spura |
6447916 |
%{_bindir}/py.test-3.*
|
|
Thomas Spura |
f192371 |
%endif
|
|
Thomas Spura |
6447916 |
%{_bindir}/py.test-2.*
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
3c2c630 |
%files -n python2-ptyprocess
|
|
Thomas Spura |
f192371 |
# TODO add COPYING with next release
|
|
Thomas Spura |
f192371 |
%doc README.rst
|
|
Thomas Spura |
3c2c630 |
%{python2_sitelib}/ptyprocess/
|
|
Thomas Spura |
3c2c630 |
%{python2_sitelib}/ptyprocess-%{version}-py?.?.egg-info
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
%if 0%{?with_python3}
|
|
Thomas Spura |
f192371 |
%files -n python3-ptyprocess
|
|
Thomas Spura |
f192371 |
%doc README.rst
|
|
Thomas Spura |
f192371 |
%{python3_sitelib}/ptyprocess/
|
|
Thomas Spura |
f192371 |
%{python3_sitelib}/ptyprocess-%{version}-py?.?.egg-info
|
|
Thomas Spura |
f192371 |
%endif
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
%changelog
|
|
|
a131b04 |
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.5.1-3
|
|
|
a131b04 |
- Rebuild for Python 3.6
|
|
|
a131b04 |
|
|
|
9a526eb |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
|
|
|
9a526eb |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
9a526eb |
|
|
Thomas Spura |
cae68c1 |
* Mon Apr 04 2016 Thomas Spura <tomspur@fedoraproject.org> - 0.5.1-1
|
|
Thomas Spura |
cae68c1 |
- update to 0.5.1 (#1304136)
|
|
Thomas Spura |
cae68c1 |
|
|
|
9720d90 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-3
|
|
|
9720d90 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9720d90 |
|
|
Thomas Spura |
3c2c630 |
* Wed Oct 14 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.5-3
|
|
Thomas Spura |
3c2c630 |
- Use new python macros
|
|
Thomas Spura |
3c2c630 |
|
|
|
07968d2 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
|
|
|
07968d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
07968d2 |
|
|
Thomas Spura |
412b09e |
* Thu May 21 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.5-1
|
|
Thomas Spura |
412b09e |
- update to 0.5 (#1223718)
|
|
Thomas Spura |
412b09e |
|
|
Thomas Spura |
28d88d0 |
* Wed Jan 07 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.4-1
|
|
Thomas Spura |
28d88d0 |
- update to 0.4
|
|
Thomas Spura |
28d88d0 |
|
|
Thomas Spura |
f192371 |
* Wed Dec 03 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.3.1-2
|
|
Thomas Spura |
f192371 |
- Generalize with_python3 macro
|
|
Thomas Spura |
f192371 |
- Add comment to tests section
|
|
Thomas Spura |
f192371 |
|
|
Thomas Spura |
f192371 |
* Tue Nov 25 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.3.1-1
|
|
Thomas Spura |
f192371 |
- initial spec for ptyprocess (#1167830)
|